OpenBSD cvs log

created 2023-01-29T09:13:26Z
begin 2023-01-27T00:00:00Z
end 2023-01-28T00:00:00Z
path src/sys
commits 8

date 2023-01-27T13:58:17Z
author aoyama
files src/sys/arch/luna88k/stand/boot/init_main.c log diff annotate
message Delete get_plane_numbers() function.

Different from original LUNA(68k), the number of planes is directly
stored as an integer value on LUNA-88K.

Tested on LUNA-88K2 by me.

date 2023-01-27T15:37:16Z
author cheloha
files src/sys/arch/riscv64/riscv64/clock.c log diff annotate
message riscv64: initialize stathz, profhz like other platforms do

Don't hardcode 100 and 1000. Use hz(9) for stathz, compute profhz
using stathz, just like most other platforms.

Link: https://marc.info/?l=openbsd-tech&m=167479021815637&w=2

ok jca@

date 2023-01-27T18:46:34Z
author mvs
files src/sys/kern/uipc_socket.c log diff annotate
src/sys/kern/uipc_socket2.c log diff annotate
src/sys/kern/uipc_syscalls.c log diff annotate
src/sys/miscfs/fifofs/fifo_vnops.c log diff annotate
src/sys/sys/socketvar.h log diff annotate
message Replace selinfo structure by klist in sockbuf. No reason to keep it,
selinfo is just wrapper to klist. netstat(1) and libkvm use socket
structure, but don't touch so_{snd,rcv}.sb_sel.

ok visa@

date 2023-01-27T21:01:59Z
author mvs
files src/sys/kern/uipc_socket.c log diff annotate
src/sys/kern/uipc_syscalls.c log diff annotate
message Push solock() down to sogetopt(). It is not required for the most cases.
Also, some cases could be protected with solock_shared().

ok bluhm@

date 2023-01-27T22:13:48Z
author cheloha
files src/sys/arch/macppc/macppc/clock.c log diff annotate
message macppc: initialize stathz, profhz as on other platforms

Don't hardcode stathz to 100 and profhz to 1000. Instead, set stathz
to hz and profhz to (stathz * 10). This is what we do on most other
platforms.

Link: https://marc.info/?l=openbsd-tech&m=167479021815637&w=2

ok kettenis@

date 2023-01-27T22:14:43Z
author cheloha
files src/sys/arch/powerpc64/powerpc64/clock.c log diff annotate
message powerpc64: initialize stathz, profhz as on other platforms

Don't hardcode stathz to 100 and profhz to 1000. Instead, set stathz
to hz and profhz to (stathz * 10). This is what we do on most other
platforms.

Link: https://marc.info/?l=openbsd-tech&m=167479021815637&w=2

ok kettenis@

date 2023-01-27T22:16:52Z
author cheloha
files src/sys/arch/armv7/omap/dmtimer.c log diff annotate
message dmtimer(4): initialize stathz, profhz as other drivers, platforms do

Don't hardcode stathz to 100 and profhz to 1000. Instead, set stathz
to hz and profhz to (stathz * 10). This is what we do in all other
armv7 clock interrupt drivers and most other platforms.

Link: https://marc.info/?l=openbsd-tech&m=167479021815637&w=2

ok kettenis@

date 2023-01-27T23:11:59Z
author kettenis
files src/sys/arch/arm64/arm64/cpu.c log diff annotate
src/sys/arch/arm64/dev/agintc.c log diff annotate
message Only use the CPU_OFF PSCI call if SYSTEM_SUSPEND is supported. This means
that secondary CPUs will get parked in a WFI loop like we already do on
Apple Silicon systems. This requires some small changes in agintc(4) to
make sure we ack the "halt" IPI such that we can send a "wakeup" IPI later.

ok patrick@