OpenBSD cvs log

created 2023-12-12T15:11:53Z
begin 2023-12-10T00:00:00Z
end 2023-12-11T00:00:00Z
path src/sys
commits 7

date 2023-12-10T06:32:14Z
author ratchov
files src/sys/dev/usb/uaudio.c log diff annotate
message Skip interfaces already claimed by other uaudio(4) instances.

Fixes support of devices that attach multiple uaudio(4) drivers.

Every uaudio(4) instance parses the full set of device descriptors
because there are multiple interfaces per driver instance. If there is
a second uaudio(4) instance (i.e. a second control & stream interfaces
combo), the latter must skip the interfaces already used by the first
one (if it didn't, multiple uaudio(4) would try to use the same
interface and neither would work).

Help from and ok armani@.

date 2023-12-10T16:56:01Z
author deraadt
files src/sys/arch/alpha/alpha/locore.s log diff annotate
src/sys/arch/amd64/amd64/locore.S log diff annotate
src/sys/arch/arm/arm/sigcode.S log diff annotate
src/sys/arch/arm64/arm64/locore.S log diff annotate
src/sys/arch/hppa/hppa/locore.S log diff annotate
src/sys/arch/i386/i386/locore.s log diff annotate
src/sys/arch/m88k/m88k/subr.S log diff annotate
src/sys/arch/macppc/macppc/locore.S log diff annotate
src/sys/arch/mips64/mips64/lcore_access.S log diff annotate
src/sys/arch/powerpc64/powerpc64/locore.S log diff annotate
message Add a new label "sigcodecall" inside every sigtramp definition, directly
in front of the syscall instruction. This is used to calculate the start
of the syscall for SYS_sigreturn and pinned system calls.
ok kettenis

date 2023-12-10T16:56:02Z
author deraadt
files src/sys/arch/riscv64/riscv64/locore.S log diff annotate
src/sys/arch/sh/sh/locore_subr.S log diff annotate
src/sys/arch/sparc64/sparc64/locore.s log diff annotate
message Add a new label "sigcodecall" inside every sigtramp definition, directly
in front of the syscall instruction. This is used to calculate the start
of the syscall for SYS_sigreturn and pinned system calls.
ok kettenis

date 2023-12-10T16:59:09Z
author deraadt
files src/sys/kern/syscalls.master log diff annotate
message pinsyscalls(2) 2nd argument can be "uint *" instead of "void *
ok kettenis

date 2023-12-10T16:59:51Z
author deraadt
files src/sys/kern/init_sysent.c log diff annotate
src/sys/kern/syscalls.c log diff annotate
src/sys/sys/syscall.h log diff annotate
src/sys/sys/syscallargs.h log diff annotate
message sync

date 2023-12-10T19:03:37Z
author miod
files src/sys/dev/usb/ugold.c log diff annotate
message The new cinematic to get sensor information as soon as possible sometimes
runs too fast for the device and causes it to stutter its identification
string. Check if the second string chunk matches the first one, and ignore
it in this case, the correct data will come later.

date 2023-12-10T21:25:14Z
author dv
files src/sys/arch/amd64/amd64/vmm_machdep.c log diff annotate
message vmm(4): flush EPTs after enabling VMX mode.

The Intel SDM states the vmxon/vmxoff instructions don't invalidate
any EPT states on the cpu and recommend invalidating the global
context. vmm(4) opportunistically disables and enables VMX mode as
vms are created or terminated, so this adds a recommended
housekeeping step per the SDM.

While here, tidy up the CR4 toggling by moving it to after the MSR
feature check.

ok mlarkin@