OpenBSD cvs log

created 2024-12-05T19:49:40Z
begin 2024-11-01T00:00:00Z
end 2024-11-02T00:00:00Z
path src/sys
commits 8

date 2024-11-01T02:07:14Z
author jsg
files src/sys/net/if_tun.c log diff annotate
message remove unused local variable

date 2024-11-01T02:47:51Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_mes.c log diff annotate
message drm/amd/amdgpu: Fix double unlock in amdgpu_mes_add_ring

From Srinivasan Shanmugam
65ca9f8ddc0d1e66770cd5c4a7555a7169dac0d8 in linux-6.6.y/6.6.59
e7457532cb7167516263150ceae86f36d6ef9683 in mainline linux

date 2024-11-01T02:49:27Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_acpi.c log diff annotate
message drm/amd: Guard against bad data for ATIF ACPI method

From Mario Limonciello
975ede2a7bec52b5da1428829b3439667c8a234b in linux-6.6.y/6.6.59
bf58f03931fdcf7b3c45cb76ac13244477a60f44 in mainline linux

date 2024-11-01T02:52:22Z
author jsg
files src/sys/dev/pci/drm/amd/display/modules/power/power_helpers.c log diff annotate
message drm/amd/display: Disable PSR-SU on Parade 08-01 TCON too

From Mario Limonciello
c79e0a18e4b301401bb745702830be9041cfbf04 in linux-6.6.y/6.6.59
ba1959f71117b27f3099ee789e0815360b4081dd in mainline linux

date 2024-11-01T09:30:12Z
author claudio
files src/sys/kern/kern_synch.c log diff annotate
message In sleep_finish() is the process state is SSTOP force a mi_switch().

A SIGSTOP delivered between sleep_setup() and sleep_finish() will
just change the proc state to SSTOP and sleep_finis() needs to respect
that and make sure the thread stays stopped until a SIGCONT is issued.
OK mpi@

date 2024-11-01T12:07:53Z
author mpi
files src/sys/arch/i386/i386/pmap.c log diff annotate
src/sys/arch/i386/i386/pmapae.c log diff annotate
message Allocate PD for Intel's U-K before transferring mappings to the pae pmap.

Use km_alloc(9) instead of uvm_km_zalloc() for the allocation because the
mappings are no longer "lost" when switching over to the pae pmap.

Introduce a new function to reduce code duplication involving km_alloc(9).

Remove printing some __func__ in panic(9) strings, they are redundant.

Tested by sthen@ in a bulk. ok mlarkin@, hshoexer@

date 2024-11-01T17:16:04Z
author gkoehler
files src/sys/arch/macppc/stand/conf.c log diff annotate
src/sys/arch/macppc/stand/main.c log diff annotate
message In macppc ofwboot, sync instruction cache before entering kernel

My PowerBook G4 had some old code in its instruction cache when it
jumped into OpenBSD's kernel. If I got unlucky with a reordered
kernel, it would trip over the old code, trap into ddb, and fail to
boot. The same kernel would boot fine on a different macppc with
different firmware. This problem is rare; I got unlucky only twice,
on 2022-04-26 and 2024-07-01.

This fix tells ofwboot to invalidate the instruction cache for the
loaded kernel before jumping there.

Adapted from NetBSD src/sys/arch/macppc/stand/ofwboot/boot.c

date 2024-11-01T20:26:18Z
author mpi
files src/sys/uvm/uvm_extern.h log diff annotate
src/sys/uvm/uvm_km.c log diff annotate
message Retire uvm_km_zalloc().

ok jsg@