OpenBSD cvs log

created 2024-11-30T21:24:35Z
begin 2024-11-25T00:00:00Z
end 2024-11-26T00:00:00Z
path src/sys
commits 16

date 2024-11-25T00:12:14Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/nbio_v7_7.c log diff annotate
message drm/amd: Fix initialization mistake for NBIO 7.7.0

From Vijendar Mukunda
5e91cd9a34171171c83d462256626c6a8deec2a0 in linux-6.6.y/6.6.63
7013a8268d311fded6c7a6528fc1de82668e75f6 in mainline linux

date 2024-11-25T00:14:52Z
author jsg
files src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c log diff annotate
message drm/amd/display: Adjust VSDB parser for replay feature

From Rodrigo Siqueira
0a326fbc8f72a320051f27328d4d4e7abdfe68d7 in linux-6.6.y/6.6.63
16dd2825c23530f2259fc671960a3a65d2af69bd in mainline linux

date 2024-11-25T00:17:34Z
author jsg
files src/sys/dev/pci/drm/amd/pm/swsmu/smu11/vangogh_ppt.c log diff annotate
message drm/amd/pm: Vangogh: Fix kernel memory out of bounds write

From Tvrtko Ursulin
f111de0f010308949254ee1cc45df8e6b8e1d7d4 in linux-6.6.y/6.6.63
4aa923a6e6406b43566ef6ac35a3d9a3197fa3e8 in mainline linux

date 2024-11-25T04:37:06Z
author jsg
files src/sys/sys/exec_elf.h log diff annotate
message remove EM_NUM, unused and not in SysV ABI documents
ok tb@ who tested this with a ports build

date 2024-11-25T10:40:53Z
author stsp
files src/sys/dev/pci/if_ice.c log diff annotate
message don't reset the rx queue tail pointer in ice_setup_rx_ctx()

We already have mbufs on the ring at this point. Resetting the tail
pointer here was causing "no descriptor" errors during Rx.

date 2024-11-25T12:35:37Z
author stsp
files src/sys/dev/pci/if_ice.c log diff annotate
message disable interrupts when taking an ice(4) interface down

date 2024-11-25T12:43:16Z
author stsp
files src/sys/dev/pci/if_ice.c log diff annotate
message ice(4) rx dma maps don't need to be larger than one mbuf

Previous code was needlessly allocating hardmtu-sized dma maps.
Each map corresponds to one mbuf, and the device will use up to
5 of them when jumbo frames are received.

date 2024-11-25T12:50:47Z
author stsp
files src/sys/dev/pci/if_ice.c log diff annotate
src/sys/dev/pci/if_icereg.h log diff annotate
message implement ice_config_rss() and its many friends

We are not yet enabling RSS since we run in "safe mode", but all this
code will be needed when we eventually enable it.
Taken from FreeBSD, with tweaks to use our native toeplitz API.

date 2024-11-25T12:51:00Z
author mpi
files src/sys/uvm/uvm_pager.c log diff annotate
src/sys/uvm/uvm_pdaemon.c log diff annotate
message Do not retry with a single page if paging out a cluster didn't work.

Allocations that might fail in uvm_swap_io() are independant from the amount
of pages, so retrying with fewer pages is counter productive.

Tested by sthen@, ok tb@

date 2024-11-25T12:52:11Z
author stsp
files src/sys/dev/pci/if_ice.c log diff annotate
src/sys/dev/pci/if_icevar.h log diff annotate
message remove hw->debug_mask, we are using the ice_debug global variable instead

date 2024-11-25T13:06:25Z
author mpi
files src/sys/uvm/uvm_pdaemon.c log diff annotate
src/sys/uvm/uvmexp.h log diff annotate
message Account for in-flight pages being written to disk when computing page shortage.

Due to its asynchronous design, on MP machines, the page daemon was generally
over swapping memory resulting in a degenerative behavior when OOM.
To prevent swapping more pages than necessary, take the amount of in-flight
pages into account when calculating the page shortage.

Tested by sthen@ and miod@. ok claudio@, tb@

date 2024-11-25T13:37:49Z
author mpi
files src/sys/uvm/uvm_pdaemon.c log diff annotate
message Push the KERNEL_LOCK() down in the aiodone_daemon().

Improve responsiveness during swapping for MP machines without bouncing.
When the page daemon is busy writing a lot of clusters without releasing
the KERNEL_LOCK() and without allocating.

This currently require vm.swapencrypt.enable=0 and a dma_constraint covering
the whole address range.

Tested by sthen@ and miod@. ok claudio@, tb@

date 2024-11-25T13:46:55Z
author mpi
files src/sys/uvm/uvm_fault.c log diff annotate
message Remove unused `fault_type' argument.

date 2024-11-25T14:39:20Z
author stsp
files src/sys/dev/pci/if_ice.c log diff annotate
message stop trying to load ice(4) firmware from disk, for now

We currently lack the hardware reset code path required for loading firmware.
Until this situation changes, stop trying to load firmware from disk.

date 2024-11-25T19:30:47Z
author sf
files src/sys/dev/fdt/virtio_mmio.c log diff annotate
src/sys/dev/pci/virtio_pci.c log diff annotate
src/sys/dev/pv/if_vio.c log diff annotate
src/sys/dev/pv/virtio.c log diff annotate
src/sys/dev/pv/virtiovar.h log diff annotate
message vio: Unlock, switch to qstart function

Run without kernel lock. Use the network stack functions used for
multiqueue, but still only run on one queue.

Add a virtio interface for an interrupt barrier.

ok dlg@

date 2024-11-25T22:12:18Z
author tobhe
files src/sys/dev/fdt/scmi.c log diff annotate
message Add scmi mailbox transport and perf protocol for cpu frequency management
on Snapdragon X Elite. This is not hooked up to cpu/apm yet, so the kernel
won't use it to adjust the frequency. Instead the current frequency and
power consumption per performance domain are exported as sensors for now.

tested by landry@ kettenis@
ok kettenis@ patrick@