OpenBSD cvs log

created 2020-11-19T18:06:02Z
begin 2020-06-05T00:00:00Z
end 2020-06-06T00:00:00Z
path src/sys
commits 7

date 2020-06-05T09:16:13Z
author otto
files src/sys/arch/sparc64/stand/bootblk/bootblk.fth log diff annotate
message Qemu does not like we load ofwboot on top of the bootblocks and as
miod notes this is actually a regression I introduced in the latest
commit. So stop doing that, even if it works on real hardware.
ok kettenis@

date 2020-06-05T13:35:20Z
author visa
files src/sys/arch/loongson/loongson/machdep.c log diff annotate
src/sys/arch/mips64/mips64/cp0access.S log diff annotate
message cpu_rnd_messybits() for mips64

Use CP0 Count as a basis. Also take noise from virtual memory activity
by including BadVAddr.

OK deraadt@ dlg@

date 2020-06-05T13:35:21Z
author visa
files src/sys/arch/octeon/octeon/machdep.c log diff annotate
src/sys/arch/sgi/sgi/machdep.c log diff annotate
message cpu_rnd_messybits() for mips64

Use CP0 Count as a basis. Also take noise from virtual memory activity
by including BadVAddr.

OK deraadt@ dlg@

date 2020-06-05T14:25:05Z
author naddy
files src/sys/arch/alpha/alpha/machdep.c log diff annotate
src/sys/arch/alpha/include/cpu.h log diff annotate
src/sys/arch/macppc/macppc/machdep.c log diff annotate
src/sys/arch/powerpc/include/cpu.h log diff annotate
src/sys/arch/sparc64/include/cpu.h log diff annotate
src/sys/arch/sparc64/sparc64/machdep.c log diff annotate
message Implement cpu_rnd_messybits() as a read of the cycle counter register.

ok dlg@, powerpc/sparc64 ok kettenis@, sparc64/alpha tested by deraadt@

date 2020-06-05T19:50:59Z
author denis
files src/sys/net/pipex.h log diff annotate
message Remove redundant code

Reported by Prof. Dr. Steffen Wendzel <wendzel @ hs-worms . de>,
thanks!

OK martijn@ sthen@

date 2020-06-05T22:14:25Z
author kettenis
files src/sys/arch/arm64/dev/agtimer.c log diff annotate
src/sys/arch/arm64/include/armreg.h log diff annotate
message Allow userland access to the virtual counter.

ok patrick@, deraadt@

date 2020-06-05T23:16:24Z
author naddy
files src/sys/arch/arm64/arm64/machdep.c log diff annotate
src/sys/arch/arm64/include/cpu.h log diff annotate
message Implement cpu_rnd_messybits() as a read of the virtual counter xored
with a bit-reversed copy of itself. There is progressively less
entropy in the higher bits of a counter than in the lower bits, so
bit-reverse one half in order to extract maximal entropy.

style fixes and ok kettenis@