OpenBSD cvs log

created 2025-02-22T20:18:34Z
begin 2025-02-17T00:00:00Z
end 2025-02-18T00:00:00Z
path src/sys
commits 40

date 2025-02-17T05:00:06Z
author jsg
files src/sys/dev/pci/drm/i915/gt/intel_ggtt.c log diff annotate
message reduce diff to linux

date 2025-02-17T08:39:50Z
author mvs
files src/sys/sys/socketvar.h log diff annotate
message Reorder <sys/socketvar.h> by moving inline functions to the end.

ok bluhm

date 2025-02-17T08:56:33Z
author mvs
files src/sys/kern/uipc_socket.c log diff annotate
src/sys/kern/uipc_socket2.c log diff annotate
src/sys/netinet/tcp_input.c log diff annotate
src/sys/netinet/tcp_usrreq.c log diff annotate
src/sys/sys/socketvar.h log diff annotate
message Get rid of unused `so' argument in sbreserve().

ok bluhm

date 2025-02-17T10:07:10Z
author claudio
files src/sys/kern/kern_exec.c log diff annotate
src/sys/kern/kern_exit.c log diff annotate
src/sys/kern/kern_sig.c log diff annotate
src/sys/sys/proc.h log diff annotate
message Make wakeup of parent process in dowait6 reliable even without kernel lock.

Currently dowait6 uses tsleep to wait for an event to report back to wait4(2).
This only works correctly if all wakeups also use the kernel lock.

Instead of this use an atomic flag to indicate if a process has pending
wait events and use sleep_setup()/sleep_finish() to reliably enter sleep
without losing a wakeup.

dowait6 clears the PS_WAITEVENT flag at the start of its loop over all child
processes and if at the end of the loop the flag is still unset the thread
goes to sleep.

Before all wakeups the PS_WAITEVENT flag is now set so that dowait6 knows
that more work is pending and restarts the scan loop.

This is needed since more and more code is unlocked and we end up missing
wakeups which results in hanging processes.

date 2025-02-17T10:16:05Z
author claudio
files src/sys/kern/kern_exit.c log diff annotate
message Use ps_mtx to lock the child process that is being checked by dowait6.

The checks of the various ps_flags field is all but atomic so we need
to lock the process before doing all these checks. Only that way a
reliable result is seen. It also ensures that the child process did
finish the transition before signaling up to the parent.

date 2025-02-17T11:16:52Z
author jsg
files src/sys/dev/pci/drm/include/drm/drm_utils.h log diff annotate
message drm: Add panel backlight quirks

From Thomas Weissschuh
c5842f1dade0c2899e14f2f9d7de7103dbf1d678 in linux-6.12.y/6.12.14
22e5c7ae12145af13785e3ff138395d5b1a22116 in mainline linux

date 2025-02-17T11:19:51Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dml2/display_mode_core.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/dml2/dml2_wrapper.c log diff annotate
message drm/amd/display: Populate chroma prefetch parameters, DET buffer fix

From Ausef Yousof
d25d5eb35905ade48b2ca657f30ea9b2e5804141 in linux-6.12.y/6.12.14
70fec46519fca859aa209f5f02e7e0a0123aca4a in mainline linux

date 2025-02-17T11:21:59Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dml2/display_mode_core.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/dml2/display_mode_core_structs.h log diff annotate
message drm/amd/display: Overwriting dualDPP UBF values before usage

From Ausef Yousof
0412bca906d598b0a60c0da837dadb036a95db84 in linux-6.12.y/6.12.14
24909d9ec7c3afa8da2f3c9afa312e7a4a61f250 in mainline linux

date 2025-02-17T11:26:39Z
author jsg
files src/sys/dev/pci/drm/drm_connector.c log diff annotate
src/sys/dev/pci/drm/drm_edid.c log diff annotate
src/sys/dev/pci/drm/include/drm/drm_connector.h log diff annotate
message drm/connector: add mutex to protect ELD from concurrent access

From Dmitry Baryshkov
b006aadf72f933770a6d66bc0985c77417f6b4e4 in linux-6.12.y/6.12.14
df7c8e3dde37a9d81c0613285b43600f3cc70f34 in mainline linux

date 2025-02-17T11:28:23Z
author jsg
files src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c log diff annotate
message drm/amd/display: use eld_mutex to protect access to connector->eld

From Dmitry Baryshkov
cd604e8e993cd6f6e8aab0a8d23052885de60472 in linux-6.12.y/6.12.14
819bee01eea06282d7bda17d46caf29cae4f6d84 in mainline linux

date 2025-02-17T11:31:01Z
author jsg
files src/sys/dev/pci/drm/radeon/radeon_audio.c log diff annotate
message drm/radeon: use eld_mutex to protect access to connector->eld

From Dmitry Baryshkov
1cd3e56a07acd34cc389d490a259ad2a1dd6f282 in linux-6.12.y/6.12.14
b54c14f82428c8a602392d4cae1958a71a578132 in mainline linux

date 2025-02-17T11:35:02Z
author jsg
files src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c log diff annotate
message drm/amd/display: Fix Mode Cutoff in DSC Passthrough to DP2.1 Monitor

From Fangzhi Zuo
b79eaf9b86a8789f15a2ed05c6ffe2b4e5e35aea in linux-6.12.y/6.12.14
e56ad45e991128bf4db160b75a1d9f647a341d8f in mainline linux

date 2025-02-17T11:36:52Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/sdma_v4_4_2.c log diff annotate
message drm/amdgpu: Don't enable sdma 4.4.5 CTXEMPTY interrupt

From Philip Yang
9f952450337502ca3f20c29599b8bfb14327e6ec in linux-6.12.y/6.12.14
b4b7271e5ca95b581f2fcc4ae852c4079215e92d in mainline linux

date 2025-02-17T11:38:13Z
author jsg
files src/sys/dev/pci/drm/amd/amdkfd/kfd_device.c log diff annotate
src/sys/dev/pci/drm/amd/amdkfd/kfd_interrupt.c log diff annotate
src/sys/dev/pci/drm/amd/amdkfd/kfd_priv.h log diff annotate
message drm/amdkfd: Queue interrupt work to different CPU

From Philip Yang
d76dc02531a610b3f7c2e3262b14137137787e0e in linux-6.12.y/6.12.14
34db5a32617d102e8042151bb87590e43c97132e in mainline linux

date 2025-02-17T11:39:53Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/resource/dcn301/dcn301_resource.c log diff annotate
message drm/amd/display: Limit Scaling Ratio on DCN3.01

From Gabe Teeger
d1544dc32c67c80b9e3512fa4e187931be1a9e8c in linux-6.12.y/6.12.14
abc0ad6d08440761b199988c329ad7ac83f41c9b in mainline linux

date 2025-02-17T11:42:03Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c log diff annotate
message drm/amdgpu: Fix Circular Locking Dependency in AMDGPU GFX Isolation

From Srinivasan Shanmugam
4e144498d16baa1be26e7ba8837483697a583900 in linux-6.12.y/6.12.14
1e8c193f8ca7ab7dff4f4747b45a55dca23c00f4 in mainline linux

date 2025-02-17T11:43:45Z
author jsg
files src/sys/dev/pci/drm/i915/display/intel_dp.c log diff annotate
message drm/i915/dp: fix the Adaptive sync Operation mode for SDP

From Ankit Nautiyal
4c6ed049bc4ed907345dc6aa3a33e066569e0853 in linux-6.12.y/6.12.14
4466302262b38f5e6c65325035b4036a42efc934 in mainline linux

date 2025-02-17T11:45:36Z
author jsg
files src/sys/dev/pci/drm/drm_fb_helper.c log diff annotate
message drm/modeset: Handle tiled displays in pan_display_atomic.

From Maarten Lankhorst
b865c6a6178b0828aca62b8fe736f24f04d912f3 in linux-6.12.y/6.12.14
f4a9dd57e549a17a7dac1c1defec26abd7e5c2d4 in mainline linux

date 2025-02-17T11:48:00Z
author jsg
files src/sys/dev/pci/drm/drm_client_modeset.c log diff annotate
message drm/client: Handle tiled displays better

From Maarten Lankhorst
ac7b5f3e4d5beeb0e59ec75c4a6055110a46fb29 in linux-6.12.y/6.12.14
10026f536843eb8c9148ef6ffb4c6deeebc26838 in mainline linux

date 2025-02-17T11:50:06Z
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/dpp/dcn401/dcn401_dpp_cm.c 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/dcn401/dcn401_hubp.c log diff annotate
message drm/amd/display: Optimize cursor position updates

From Aric Cyr
3ec8e3dab60c3e556bf542f9cda40d9d54b12c7b in linux-6.12.y/6.12.14
024771f3fb75dc817e9429d5763f1a6eb84b6f21 in mainline linux

date 2025-02-17T11:51:24Z
author jsg
files src/sys/dev/pci/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c log diff annotate
message drm/amd/pm: Mark MM activity as unsupported

From Lijo Lazar
721a493fa2a5e9937f3cf4069a9dd3b423b19d5a in linux-6.12.y/6.12.14
819bf6662b93a5a8b0c396d2c7e7fab6264c9808 in mainline linux

date 2025-02-17T11:52:37Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c log diff annotate
message drm/amd/amdgpu: change the config of cgcg on gfx12

From Kenneth Feng
7e207a094ee69b2368a4c1d11c1863f7134945a4 in linux-6.12.y/6.12.14
5cda56bd86c455341087dca29c65dc7c87f84340 in mainline linux

date 2025-02-17T11:54:05Z
author jsg
files src/sys/dev/pci/drm/amd/amdkfd/kfd_process_queue_manager.c log diff annotate
message drm/amdkfd: only flush the validate MES contex

From Prike Liang
89dcc75d517208bae58ac15fd97a56721a529ade in linux-6.12.y/6.12.14
9078a5bfa21e78ae68b6d7c365d1b92f26720c55 in mainline linux

date 2025-02-17T11:55:38Z
author jsg
files src/sys/dev/pci/drm/amd/amdkfd/kfd_device_queue_manager.c log diff annotate
message drm/amdkfd: Block per-queue reset when halt_if_hws_hang=1

From Jay Cornwall
4d23b42a45dcff725dc8be8c41aa4712241dd764 in linux-6.12.y/6.12.14
f214b7beb00621b983e67ce97477afc3ab4b38f4 in mainline linux

date 2025-02-17T11:57:32Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dce/dmub_hw_lock_mgr.c log diff annotate
message Revert "drm/amd/display: Use HW lock mgr for PSR1"

From Tom Chung
95c75578c420110c43791295985abb961d6dc033 in linux-6.12.y/6.12.14
f245b400a223a71d6d5f4c72a2cb9b573a7fc2b6 in mainline linux

date 2025-02-17T11:59:27Z
author jsg
files src/sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c log diff annotate
message drm/i915/guc: Debug print LRC state entries only if the context is pinned

From Daniele Ceraolo Spurio
5775ef49d792e55756aa9cfbad684fc887fb1520 in linux-6.12.y/6.12.14
57965269896313e1629a518d3971ad55f599b792 in mainline linux

date 2025-02-17T12:01:28Z
author jsg
files src/sys/dev/pci/drm/i915/gem/i915_gem_shmem.c log diff annotate
message drm/i915: Fix page cleanup on DMA remap failure

From Brian Geffon
2708a151e0e9943e90a36ebec36103586c41c424 in linux-6.12.y/6.12.14
fa6182c8b13ebfdc70ebdc09161a70dd8131f3b1 in mainline linux

date 2025-02-17T12:03:34Z
author jsg
files src/sys/dev/pci/drm/i915/display/intel_dp.c log diff annotate
message drm/i915/dp: Iterate DSC BPP from high to low on all platforms

From Jani Nikula
c842f22fc26eef56cc3f594f18f8af5d36e0ffa7 in linux-6.12.y/6.12.14
230b19bc2bcc5897d0e20b4ce7e9790a469a2db0 in mainline linux

date 2025-02-17T12:05:55Z
author jsg
files src/sys/dev/pci/drm/i915/display/skl_universal_plane.c log diff annotate
message drm/i915: Drop 64bpp YUV formats from ICL+ SDR planes

From Ville Syrjala
4b1d3186284ff015b90fa838e663e300ab163153 in linux-6.12.y/6.12.14
c7b49506b3ba7a62335e6f666a43f67d5cd9fd1e in mainline linux

date 2025-02-17T12:09:42Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.h log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/sdma_v7_0.c log diff annotate
src/sys/dev/pci/drm/include/uapi/drm/amdgpu_drm.h log diff annotate
message drm/amdgpu: add a BO metadata flag to disable write compression for Vulkan

From Marek Olsak
20a57f68db1b7e8de97acd1f04bb697f3c6ad589 in linux-6.12.y/6.12.14
2255b40cacc2e5ef1b127770fc1808c60de4a2fc in mainline linux

date 2025-02-17T12:13:03Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/hubbub/dcn30/dcn30_hubbub.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/hubbub/dcn31/dcn31_hubbub.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/hubbub/dcn32/dcn32_hubbub.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/hubbub/dcn35/dcn35_hubbub.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/dcn32/dcn32_hubp.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c log diff annotate
message drm/amd/display: Fix seamless boot sequence

From Lo-an Chen
7173b70df472813095bedce5798a1cb79c0ba579 in linux-6.12.y/6.12.14
e01f07cb92513ca4b9b219ab9caa34d607bc1e2d in mainline linux

date 2025-02-17T12:16:20Z
author jsg
files src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c log diff annotate
src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c log diff annotate
src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.h log diff annotate
message Revert "drm/amd/display: Fix green screen issue after suspend"

From Rodrigo Siqueira
c963ef1840a09cc19e52cce3f2f9d962a2a5092d in linux-6.12.y/6.12.14
04d6273faed083e619fc39a738ab0372b6a4db20 in mainline linux

date 2025-02-17T12:46:02Z
author bluhm
files src/sys/netinet/tcp_output.c log diff annotate
src/sys/netinet/udp_usrreq.c log diff annotate
src/sys/netinet6/udp6_output.c log diff annotate
message Toeplitz hash for UDP and IPv6 TCP output.

IPv4 TCP output uses the toeplitz hash as flow id. It is calculated
in in_pcbconnect() and can be used for all connected sockets. Add
it for UDP and TCP IPv6, too. As pf calculates its own hash, this
affects only setups with pf disabled. It gives an improvement in
traffic distribution over the queues and 20% performance increase
with UDP send on v4/v6 and TCP send on v6 without pf.

tested and OK sf@

date 2025-02-17T13:10:27Z
author mpi
files src/sys/kern/syscalls.master log diff annotate
src/sys/kern/vfs_syscalls.c log diff annotate
message Push KERNEL_LOCK() inside __realpath(2).

ok semarie@, tb@

date 2025-02-17T13:10:56Z
author mpi
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 regen

date 2025-02-17T13:28:26Z
author mpi
files src/sys/arch/amd64/amd64/db_trace.c log diff annotate
src/sys/arch/i386/i386/db_trace.c log diff annotate
message Disable pagefault handling when unwinding userland stack.

When collecting userland stacktraces with dt(4), the probe may run in an
interrupt routine at IPL_VM or higher. Resolving pagefaults in this case
might result in panic or corrupt UVM data structures. Userland stack frames
cannot be trusted, a bogus frame pointer may force us into a page fault.

From Christian Ludwig, ok kettenis@

date 2025-02-17T15:45:55Z
author claudio
files src/sys/kern/kern_sig.c log diff annotate
src/sys/kern/sys_process.c log diff annotate
src/sys/sys/proc.h log diff annotate
message Introduce ps_trapped -- a pointer to the struct proc that is stopped
in the debugger trap.

In proc_trap set and unset ps_trapped together with ps_xsig right before
and after suspending. In ptrace(2) use this information to have
process_tprfind() always return that thread and make all of that code
no longer depend on ps_single. Only access ps_trapped holding the ps_mtx
to ensure the data is valid.

Feedback and OK kettenis@

date 2025-02-17T20:31:25Z
author bluhm
files src/sys/net/if_gre.c log diff annotate
src/sys/net/route.c log diff annotate
src/sys/netinet/if_ether.c log diff annotate
src/sys/netinet6/nd6.c log diff annotate
message Handle RTF_GATEWAY route with rt_gwroute NULL.

rtrequest_delete() calls rt_putgwroute() to set rt_gwroute to NULL.
When another thread holds a reference to such a route, an assertion
failed in rtisvalid() and rt_getll(). Handle this case, rt_getll()
may return NULL then.

OK claudio@

date 2025-02-17T21:08:40Z
author kettenis
files src/sys/arch/arm64/arm64/intr.c log diff annotate
message Fix pre-registration of wakeup interrupts.

ok patrick@

date 2025-02-17T22:31:53Z
author jca
files src/sys/arch/riscv64/riscv64/pmap.c log diff annotate
message Add support for device mappings in pmap_kenter_pa(9) the same way we
handle those in pmap_enter(9).

arm64 diff by kettenis@, ok kettenis@