OpenBSD cvs log

created 2025-02-04T21:23:21Z
begin 2025-01-29T00:00:00Z
end 2025-01-30T00:00:00Z
path src/sys
commits 11

date 2025-01-29T14:03:18Z
author sf
files src/sys/dev/pci/virtio_pci.c log diff annotate
message virtio: Prefer 1.x over 0.9

Make virtio 1.x the default if the hypervisor offers both 0.9 and 1.x.
Version 1.x is required for feature bits >= 32, as in vio(4) multiqueue.

Also be more compliant to the virtio 1.x standard, which says "Drivers
MUST match any PCI Revision ID value".

tested by bluhm@

date 2025-01-29T14:03:19Z
author sf
files src/sys/dev/pv/virtiovar.h log diff annotate
message virtio: Prefer 1.x over 0.9

Make virtio 1.x the default if the hypervisor offers both 0.9 and 1.x.
Version 1.x is required for feature bits >= 32, as in vio(4) multiqueue.

Also be more compliant to the virtio 1.x standard, which says "Drivers
MUST match any PCI Revision ID value".

tested by bluhm@

date 2025-01-29T14:57:19Z
author mpi
files src/sys/kern/vfs_syscalls.c log diff annotate
message Move fd manipulation oustide of the KERNEL_LOCK() scope in doopenat().

Tested by many as part of a larger diff. ok mvs@

date 2025-01-29T14:58:28Z
author mpi
files src/sys/kern/syscalls.master log diff annotate
message Unlock open(2) & openat(2).

ok mvs@

date 2025-01-29T14:59:30Z
author mpi
files src/sys/kern/init_sysent.c log diff annotate
src/sys/kern/syscalls.c log diff annotate
message regen.

date 2025-01-29T14:59:31Z
author mpi
files src/sys/sys/syscall.h log diff annotate
src/sys/sys/syscallargs.h log diff annotate
message regen.

date 2025-01-29T15:01:28Z
author mpi
files src/sys/kern/kern_rwlock.c log diff annotate
message Increment `spc_spinning' when spinning inside rw_enter(9).

from dlg@, ok claudio@

date 2025-01-29T15:10:09Z
author mpi
files src/sys/kern/kern_rwlock.c log diff annotate
src/sys/sys/rwlock.h log diff annotate
message Simple implementation to upgrade a shared lock into an exclusive one.

This is required by upcoming changes to run the UVM fault handler in parallel.

Only uncontended locks are allowed to be upgraded, sleeping is not handled. In
other words the new RW_UPGRADE flag requires RW_NOSLEEP.

From dlg@, ok claudio@

date 2025-01-29T15:22:33Z
author mpi
files src/sys/uvm/uvm_fault.c log diff annotate
message Missing pieces to run the lower fault handler in parrallel (off by default).

Running the lower fault handler in parrallel isn't a clear performance win
as long as the global pagedaemon mutex is contended.

Tested by many, thanks!

date 2025-01-29T15:25:31Z
author mpi
files src/sys/uvm/uvm_map.c log diff annotate
message Use VM_PAGE_TO_PHYS() instead of dereferencing `phys_addr' directly.

date 2025-01-29T22:50:16Z
author kettenis
files src/sys/arch/arm64/stand/efiboot/efiacpi.c log diff annotate
message If there is no SPCR table, or if it didn't provide us with a usuable
serial console, fall back on parsing the DBG2 table. If we find a
usable serial port there don't make it the console by default since there
is a decent chance that the port isn't easily accessable. But this allows
the user to use the port as serial console by entering "set tty com0" on
at the bootloader prompt.

ok patrick@