OpenBSD cvs log

created 2023-11-05T04:45:42Z
begin 2023-10-30T00:00:00Z
end 2023-10-31T00:00:00Z
path src/sys
commits 7

date 2023-10-30T00:56:47Z
author jsg
files src/sys/dev/pci/drm/i915/gem/i915_gem_mman.c log diff annotate
message drm/i915: Retry gtt fault when out of fence registers

From Ville Syrjala
add2eeda1d6e3ead1d61db70e37615e5ef6c5e75 in linux-6.1.y/6.1.60
e339c6d628fe66c9b64bf31040a55770952aec57 in mainline linux

date 2023-10-30T00:59:56Z
author jsg
files src/sys/dev/pci/drm/drm_panel_orientation_quirks.c log diff annotate
message drm: panel-orientation-quirks: Add quirk for One Mix 2S

From Kai Uwe Broulik
c3657e5fa7b6310a485f59ca965d12a618e0c8df in linux-6.1.y/6.1.60
cbb7eb2dbd9472816e42a1b0fdb51af49abbf812 in mainline linux

date 2023-10-30T01:02:30Z
author jsg
files src/sys/dev/pci/drm/amd/pm/amdgpu_pm.c log diff annotate
message drm/amd/pm: add unique_id for gc 11.0.3

From Kenneth Feng
2a2df4f74f3746b614af686a9cbaa390d3828b09 in linux-6.1.y/6.1.60
4953856f280b2b606089a72a93a1e9212a3adaca in mainline linux

date 2023-10-30T07:04:36Z
author claudio
files src/sys/sys/systm.h log diff annotate
message Adjust KERNEL_ASSERT_UNLOCKED() to not assert during a panic.

KERNEL_ASSERT_UNLOCKED calls _kernel_lock_held() which returns true
if panicstr || db_active which triggers this assert. Workaround this by
checking them before.

This will alter the following Syzkaller reports:
Reported-by: [email protected]
Reported-by: [email protected]

OK mpi@

date 2023-10-30T07:13:10Z
author claudio
files src/sys/kern/kern_exec.c log diff annotate
message Use ERESTART for any single_thread_set() error in sys_execve().

If single thread is already held by another thread just unwind to userret()
wait there and retry the system call later (if at all).
OK mpi@

date 2023-10-30T12:50:59Z
author mvs
files src/sys/arch/amd64/amd64/ipifuncs.c log diff annotate
src/sys/arch/i386/i386/ipifuncs.c log diff annotate
message Use KERNEL_ASSERT_UNLOCKED() instead of KASSERT(!_kernel_lock_held()).
The first one defined as the second, so no functional changed.

ok claudio

date 2023-10-30T13:27:53Z
author bluhm
files src/sys/kern/uipc_socket2.c log diff annotate
message Do not truncate MSG_EOR in recvmsg().

The soreceive() code depends on the fact that MSG_EOR is set on the
last mbuf of the chain. In sbappendcontrol() move MSG_EOR to the
end like sbcompress() does it. This fixes MSG_EOR handling for
SOCK_SEQPACKET sockets with control message.

bug reported by Eric Wong
analysed, tested and OK claudio@