OpenBSD cvs log

created 2020-11-21T19:28:22Z
begin 2020-07-08T00:00:00Z
end 2020-07-09T00:00:00Z
path src/sys
commits 7

date 2020-07-08T09:17:48Z
author kettenis
files src/sys/arch/amd64/include/timetc.h log diff annotate
message Clean up the amd64 userland timecounter implementation a bit:

* We don't need TC_LAST
* Make internal functions static to avoid namespace pollution in libc.a
* Use a switch statement to harmonize with architectures providing
multiple timecounters

ok deraadt@, pirofti@

date 2020-07-08T09:20:28Z
author kettenis
files src/sys/arch/sparc64/include/timetc.h log diff annotate
src/sys/arch/sparc64/sparc64/clock.c log diff annotate
message Userland timecounter implementation for sparc64.

ok deraadt@, pirofti@

date 2020-07-08T13:01:25Z
author fcambus
files src/sys/arch/amd64/amd64/identcpu.c log diff annotate
message Use CPU_IS_PRIMARY macro in identifycpu() on amd64.

OK deraadt@

date 2020-07-08T14:45:15Z
author deraadt
files src/sys/arch/arm/include/Attic/timetc.h log diff annotate
src/sys/arch/m88k/include/Attic/timetc.h log diff annotate
src/sys/arch/mips64/include/timetc.h log diff annotate
message do not need these versions of timetc.h

date 2020-07-08T15:53:59Z
author visa
files src/sys/arch/octeon/include/atomic.h log diff annotate
message Make membar_consumer() a plain compiler barrier in kernel on octeon.
The processor does not perform speculative reads and only one of its
execution pipes should issue memory accesses. As a result, loads should
happen in the correct order without barrier instructions.

Tested on CN5020, CN6120, CN7130 and CN7360.

This diff has been in use on the octeon-based mips64 bulk build cluster
for several months. Also tested in snaps for a while.

date 2020-07-08T17:48:28Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
message Handle a few more Hypervisor traps.

date 2020-07-08T21:05:42Z
author deraadt
files src/sys/kern/sysv_sem.c log diff annotate
message Info leaks in semctl SEM_GET, the pads (unknown old contents) and base (a
RW page within allocateable space) were leaked. report from adam@grimm-co
ok millert