OpenBSD cvs log

created 2022-05-14T16:37:22Z
begin 2022-05-10T00:00:00Z
end 2022-05-11T00:00:00Z
path src/sys
commits 9

date 2022-05-10T05:25:57Z
author jsg
files src/sys/dev/pci/drm/radeon/radeon_kms.c log diff annotate
message spelling
from Ted Bullock

date 2022-05-10T08:19:51Z
author stsp
files src/sys/dev/usb/usbdevs log diff annotate
message add USB device ID of RT5372 for run(4); patch by molotov31337 on tech@

date 2022-05-10T08:20:07Z
author stsp
files src/sys/dev/usb/usbdevs.h log diff annotate
src/sys/dev/usb/usbdevs_data.h log diff annotate
message regen

date 2022-05-10T08:20:36Z
author stsp
files src/sys/dev/usb/if_run.c log diff annotate
message Make run(4) attach to RT5372 devices.
Patch by molotov31337 on tech@

date 2022-05-10T09:11:44Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
src/sys/dev/pci/if_iwxreg.h log diff annotate
src/sys/dev/pci/if_iwxvar.h log diff annotate
message Fix reading of the MAC address on AX210 devices.

wrong MAC address issue spotted by jsg@ and kevlo@
ok kevlo@

date 2022-05-10T16:56:16Z
author bluhm
files src/sys/kern/kern_rwlock.c log diff annotate
message Our read/write lock implementation was not fair to writers. When
multiple IP forwarding threads were processing packets and holding
the shared net lock, the exclusive net lock was blocked permanently.
This could result in ping times well above 10 seconds.
Add the RWLOCK_WRWANT bit to the check mask of readers. Then they
cannot grab the lock if a writer is also waiting. This logic was
already present in revision 1.3, but got lost during refactoring.
When exiting the lock, there exists a race when the RWLOCK_WRWANT
bit gets deleted. Add a comment that was present until revision
1.8 to document it. The race itself is not easy to fix and had no
impact during testing.
OK sashan@

date 2022-05-10T18:04:50Z
author kettenis
files src/sys/arch/landisk/dev/obio.c log diff annotate
message Convert KVA allocation to km_alloc(9).

ok mpi@

date 2022-05-10T22:18:06Z
author solene
files src/sys/kern/sched_bsd.c log diff annotate
message make the CPU frequency scaling duration relative to the load

in the pre-change behavior, if the CPU frequency is raised, it will stay up
for 5 cycles minimum (with one cycle being run every 100ms).
With this change, the time to keep the frequency raised is incremented at
each cycle up to 5. This mean short load need triggering the frequency
increase will last less than the current minimum of 500ms.

this only affect the automatic mode when on battery, extending the battery
life for most interactive use scenarios and idling loads.

tested by many with good results
ok ketennis@

date 2022-05-10T23:12:25Z
author sashan
files src/sys/net/pf_ioctl.c log diff annotate
src/sys/net/pf_table.c log diff annotate
message move memory allocations in pfr_add_tables() out of
NET_LOCK()/PF_LOCK() scope. bluhm@ helped a lot
to put this diff into shape.

OK bluhm@