OpenBSD cvs log

created 2025-03-04T09:06:41Z
begin 2025-02-24T00:00:00Z
end 2025-02-25T00:00:00Z
path src/sys
commits 15

date 2025-02-24T00:19:59Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_devlist.h log diff annotate
message add comments for more revisions of known ids

747e rev d8 is Radeon RX 7800M
7480 rev c2 is Radeon RX 7650 GRE
found in AMD Software: Adrenalin Edition 25.2.2

date 2025-02-24T00:50:11Z
author jsg
files src/sys/dev/pci/drm/i915/display/intel_dp_mst.c log diff annotate
message drm/i915/dp_mst: Fix connector initialization in intel_dp_add_mst_connector()

From Imre Deak
d58f65df2dcb59acd3965907507cfa608fe924b4 in mainline linux

avoids a NULL deref when using a thunderbolt dock, reported by lorenz
on bugs@

Johnny Epsom reported the same problem with a usb-c dock on misc@

date 2025-02-24T03:13:56Z
author jsg
files src/sys/dev/pci/drm/i915/selftests/i915_gem_gtt.c log diff annotate
message drm/i915/selftests: avoid using uninitialized context

From Krzysztof Karas
19a6d7c28278247e2433cfd7860fb0ea36aee2cd in linux-6.12.y/6.12.16
53139b3f9998ea07289e7b70b909fea2264a0de9 in mainline linux

date 2025-02-24T03:17:30Z
author jsg
files src/sys/dev/pci/drm/amd/amdkfd/kfd_process_queue_manager.c log diff annotate
message amdkfd: properly free gang_ctx_bo when failed to init user queue

From Zhu Lingshan
ae5ab1c1ae504f622cc1ff48830a9ed48428146d in linux-6.12.y/6.12.16
a33f7f9660705fb2ecf3467b2c48965564f392ce in mainline linux

date 2025-02-24T03:20:25Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c log diff annotate
message drm/amdgpu: bail out when failed to load fw in psp_init_cap_microcode()

From Jiang Liu
d1d10bd595539ed82ab59b60249f9bdf0994f678 in linux-6.12.y/6.12.16
a0a455b4bc7483ad60e8b8a50330c1e05bb7bfcf in mainline linux

date 2025-02-24T03:27:14Z
author jsg
files src/sys/dev/pci/drm/display/drm_dp_helper.c log diff annotate
src/sys/dev/pci/drm/include/drm/display/drm_dp.h log diff annotate
message drm: Fix DSC BPP increment decoding

From Imre Deak
740bc21e25825c67444cd94ecd6b08669d48e95c in linux-6.12.y/6.12.16
e00a2e5d485faf53c7a24b9d1b575a642227947f in mainline linux

date 2025-02-24T03:29:12Z
author jsg
files src/sys/dev/pci/drm/amd/pm/swsmu/amdgpu_smu.c log diff annotate
message drm/amdgpu: avoid buffer overflow attach in smu_sys_set_pp_table()

From Jiang Liu
2498d2db1d35e88a2060ea191ae75dce853dd084 in linux-6.12.y/6.12.16
1abb2648698bf10783d2236a6b4a7ca5e8021699 in mainline linux

date 2025-02-24T09:40:01Z
author jan
files src/sys/dev/pci/if_ix.c log diff annotate
src/sys/dev/pci/if_vmx.c log diff annotate
src/sys/dev/pv/if_vio.c log diff annotate
src/sys/net/if.c log diff annotate
src/sys/net/if_aggr.c log diff annotate
src/sys/net/if_bpe.c log diff annotate
src/sys/net/if_trunk.c log diff annotate
src/sys/net/if_vlan.c log diff annotate
src/sys/net/if_vxlan.c log diff annotate
src/sys/netinet/ip_carp.c log diff annotate
message Refactor LRO turn off code

Its easier to turn off LRO via ioctl calls inside of several
hardware and pseudo interfaces. Thus, we avoid manipulating
internal data structures form the outside and avoid unnecessary
reinitializations.

Tested by bluhm@

OK bluhm@

date 2025-02-24T12:43:29Z
author kirill
files src/sys/dev/usb/uvideo.c log diff annotate
message sys/uvideo: dump bDescriptorSubtype for unsupported CS_INTERFACE when debug is enabled

OK: mglocker@

date 2025-02-24T13:18:01Z
author jsg
files src/sys/arch/arm64/include/pcb.h log diff annotate
message reguster -> register

date 2025-02-24T15:42:35Z
author deraadt
files src/sys/uvm/uvm_mmap.c log diff annotate
message Only allow pinsyscalls() to set the libc pins once. Mateusz Guzik
identified a race where after the copyin sleeping point, memory would
be leaked. There are various solutions, but choosing one worked on
with kettenis.

date 2025-02-24T15:43:55Z
author deraadt
files src/sys/uvm/uvm_mmap.c log diff annotate
message It is unlikely that pinsyscalls() will ever be unlocked, so remove
the comment proposing it.
ok kettenis

date 2025-02-24T18:07:50Z
author tb
files src/sys/uvm/uvm_mmap.c log diff annotate
message Use mallocarray() rather than malloc(a * b)

This can't overflow but it smells bad.

ok deraadt

date 2025-02-24T20:16:14Z
author bluhm
files src/sys/netinet/ip_output.c log diff annotate
src/sys/netinet6/ip6_forward.c log diff annotate
src/sys/netinet6/ip6_output.c log diff annotate
src/sys/netinet6/ip6_var.h log diff annotate
message IPsec path MTU uses routing table before pf switches it.

If pf(4) switches the rtable, the route for path MTU discovery must
be generated in the original routing table. For that ip_output()
keeps the original rtableid. Then a local TCP socket uses the
correct route. This did not work when IPsec was involed. Pass
orig_rtableid also to ip_output_ipsec_send() to use the same logic
in ip_output_ipsec_pmtu_update(). A similar change is necessary
for ip6_output() and ip6_forward().

OK markus@

date 2025-02-24T21:24:54Z
author kirill
files src/sys/dev/usb/uvideo.c log diff annotate
message sys/uvideo: never try to allocate more than MALLOC_MAX

OK: miod@