OpenBSD cvs log

created 2025-02-15T20:08:37Z
begin 2025-02-10T00:00:00Z
end 2025-02-11T00:00:00Z
path src/sys
commits 15

date 2025-02-10T01:32:56Z
author jsg
files src/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/vega10_powertune.c log diff annotate
message drm/amd/pm: Fix an error handling path in vega10_enable_se_edc_force_stall_config()

From Christophe JAILLET
e656f04ecd52c63cb4ced21bb933d327dd547aa2 in linux-6.12.y/6.12.13
a3300782d5375e280ba7040f323d01960bfe3396 in mainline linux

date 2025-02-10T01:35:22Z
author jsg
files src/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/ppatomctrl.c log diff annotate
message drm/amdgpu: Fix potential NULL pointer dereference in atomctrl_get_smc_sclk_range_table

From Ivan Stepchenko
0b97cd8a61b2b40fd73cf92a4bb2256462d22adb in linux-6.12.y/6.12.13
357445e28ff004d7f10967aa93ddb4bffa5c3688 in mainline linux

date 2025-02-10T01:37:28Z
author jsg
files src/sys/dev/pci/drm/display/drm_hdmi_state_helper.c log diff annotate
message drm/connector: Allow clearing HDMI infoframes

From Derek Foreman
4128fb6a69bf3bf8032bfdeb0cc6919b80a428b2 in linux-6.12.y/6.12.13
d34357743b360c99903b5a59daab08f55b2f41a1 in mainline linux

date 2025-02-10T01:38:56Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/vcn_v4_0_3.c log diff annotate
message drm/amdgpu/vcn: reset fw_shared under SRIOV

From Bokun Zhang
833b813b7fdab90220a0938953586ed3a87d7076 in linux-6.12.y/6.12.13
3676f37a88432132bcff55a17dc48911239b6d98 in mainline linux

date 2025-02-10T01:40:19Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c log diff annotate
message drm/amdgpu: tear down ttm range manager for doorbell in amdgpu_ttm_fini()

From Jiang Liu
495497c6e7f7a175f6f28b733408eff834a31e13 in linux-6.12.y/6.12.13
60a2c0c12b644450e420ffc42291d1eb248bacb7 in mainline linux

date 2025-02-10T01:42:40Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/gfx_v9_4_3.c log diff annotate
message Revert "drm/amdgpu/gfx9: put queue resets behind a debug option"

From Alex Deucher
fd3ea4d5493f4907d9e1f2834dcd3742ab158446 in linux-6.12.y/6.12.13
32f00289698189b813942f37626218fd473e7302 in mainline linux

date 2025-02-10T01:44:13Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c log diff annotate
message drm/amdgpu: fix gpu recovery disable with per queue reset

From Jonathan Kim
d9cc477e77c622f3b595c62b1f37563c7d641214 in linux-6.12.y/6.12.13
86bde64cb7957be393f84e5d35fb8dfc91e4ae7e in mainline linux

date 2025-02-10T01:48:29Z
author jsg
files src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.h log diff annotate
src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c log diff annotate
message drm/amd/display: Reduce accessing remote DPCD overhead

From Wayne Lin
f488b53b54435f9ac5fe897b0e483a91240ee5f4 in linux-6.12.y/6.12.13
adb4998f4928a17d91be054218a902ba9f8c1f93 in mainline linux

date 2025-02-10T01:51:11Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dpp/dcn10/dcn10_dpp.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/hubp/dcn10/dcn10_hubp.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/hubp/dcn10/dcn10_hubp.h log diff annotate
src/sys/dev/pci/drm/amd/display/dc/hubp/dcn20/dcn20_hubp.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/hubp/dcn201/dcn201_hubp.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/hubp/dcn21/dcn21_hubp.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/hubp/dcn30/dcn30_hubp.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/hubp/dcn31/dcn31_hubp.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/hubp/dcn32/dcn32_hubp.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/hubp/dcn35/dcn35_hubp.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/hubp/dcn401/dcn401_hubp.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/inc/hw/hubp.h log diff annotate
message drm/amd/display: Add hubp cache reset when powergating

From Aric Cyr
8eb4d51b44c7f79e27bef8dbb4f1f068c10396f4 in linux-6.12.y/6.12.13
01130f5260e5868fb6b15ab8c00dbc894139f48e in mainline linux

date 2025-02-10T09:28:00Z
author jsg
files src/sys/dev/pci/drm/include/linux/device.h log diff annotate
message stop printing pid and calling function in dev_printk()

date 2025-02-10T09:42:09Z
author jsg
files src/sys/dev/pci/drm/drm_print.c log diff annotate
message avoid %pV %ps format strings in __drm_dev_vprintk()

date 2025-02-10T11:41:19Z
author miod
files src/sys/arch/amd64/conf/GENERIC log diff annotate
src/sys/arch/amd64/conf/RAMDISK log diff annotate
src/sys/arch/amd64/conf/RAMDISK_CD log diff annotate
src/sys/dev/acpi/acpi.c log diff annotate
src/sys/dev/acpi/files.acpi log diff annotate
src/sys/dev/acpi/pckbc_acpi.c log diff annotate
message Although one would expect systems emulating the legacy PS/2 keyboard
controller to do this faithfully, there are more and more systems which
use creative interrupt configurations differing from the ISA defaults,
and cause pckbc@isa to not behave correctly, making these keyboards (and
sometimes trackpads, too) unusable.

This commit introduces a pckbc@acpi attachment, which will attach instead
of pckbc@isa if it detects an interrupt configuration which would not be
handled correctly by the isa attachment.

This unbreaks, among other things, the keyboards in various ChromeBook.

ok kettenis@, thanks to everyone who tested.

date 2025-02-10T15:06:57Z
author bluhm
files src/sys/netinet/tcp_input.c log diff annotate
message Fix TCP maximum segment size with IPsec.

When IPsec is used, if_get(m->m_pkthdr.ph_ifidx) returns enc0. Its
if_mtu is 0 which results in negative mss. After fixing a signed
integer comparison bug with imax(), tcp_mss_adv() used mssdflt,
which is 512. So the TCP SYN cache sent packets with a small maximum
TCP segment number.
The underlying problem is, that SYN cache used the incoming interface
m->m_pkthdr.ph_ifidx for the outgoing MTU. The correct way is to
use the route of the destination address like tcp_mss() does it.
The SYN cache has a struct route which can be used. An additional
route lookup does not happen as the route is cached and will
be reused by ip_output().

OK mvs@

date 2025-02-10T16:45:46Z
author deraadt
files src/sys/dev/vmm/vmm.c log diff annotate
src/sys/kern/kern_event.c log diff annotate
src/sys/kern/kern_pledge.c log diff annotate
src/sys/sys/proc.h log diff annotate
message A syzkaller report was diagnosed by semarie, and found a namei-related
sleeping system call which was re-inspecting p->p_p->ps_pledge in one thread,
after another thread had reduced the promises by calling pledge(), with
promises which would have prevented that syscall from being called in
the first place. This inconsistant promise view is dangerous. So let's
change pledge semantics a tiny bit: We copy the per-process p_p->ps_pledge
value to per-thread p_pledge at invocation of each system call, so that the
configuration is stable.
This method avoids increasing the cost of pledge checks.
ok claudio kettenis semarie

date 2025-02-10T20:40:26Z
author kettenis
files src/sys/arch/arm64/stand/efiboot/efiacpi.c log diff annotate
message Fix pasto.

Spotted by FUKAUMI Naoki.