OpenBSD cvs log

created 2023-12-19T20:48:21Z
begin 2023-12-11T00:00:00Z
end 2023-12-12T00:00:00Z
path src/sys
commits 23

date 2023-12-11T00:39:43Z
author deraadt
files src/sys/sys/acct.h log diff annotate
message Add an accounting flag for syscall pinning violations.

date 2023-12-11T04:56:54Z
author jsg
files src/sys/dev/pci/drm/include/linux/dma-fence.h log diff annotate
message add dma_fence_is_later_or_same() for 6.1.66 drm

date 2023-12-11T05:00:24Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c log diff annotate
message drm/amd: Enable PCIe PME from D3

From Mario Limonciello
c6088429630048661e480ed28590e69a48c102d6 in linux-6.1.y/6.1.66
6967741d26c87300a51b5e50d4acd104bc1a9759 in mainline linux

date 2023-12-11T05:02:38Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c log diff annotate
src/sys/dev/pci/drm/amd/include/asic_reg/gc/gc_11_0_0_offset.h log diff annotate
message drm/amdgpu: Force order between a read and write to the same address

From Alex Sierra
c5cf436c8969516c92aaceb87582ff19bd187756 in linux-6.1.y/6.1.66
4b27a33c3b173bef1d19ba89e0b9b812b4fddd25 in mainline linux

date 2023-12-11T05:04:45Z
author jsg
files src/sys/dev/pci/drm/amd/display/dmub/src/dmub_srv.c log diff annotate
message drm/amd/display: Include udelay when waiting for INBOX0 ACK

From Alvin Lee
33ed892f0cdeb1350648cd3bfe8140aa9f792076 in linux-6.1.y/6.1.66
3c9ea68cb61bd7e5bd312c06a12adada74ff5805 in mainline linux

date 2023-12-11T05:07:03Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c log diff annotate
message drm/amd/display: Remove min_dst_y_next_start check for Z8

From Nicholas Kazlauskas
a67c18704706e0a9ccac9b7002e678d325aea123 in linux-6.1.y/6.1.66
08448812acb2ab701cd5ff7e1a1dc97f7f10260c in mainline linux

date 2023-12-11T05:09:01Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c log diff annotate
message drm/amd/display: Use DRAM speed from validation for dummy p-state

From Alvin Lee
6ef7f13c72df6bc95d39eb1614306768141377db in linux-6.1.y/6.1.66
9be601135ba8ac69880c01606c82140f2dde105e in mainline linux

date 2023-12-11T05:11:15Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dcn314/dcn314_resource.c log diff annotate
message drm/amd/display: Update min Z8 residency time to 2100 for DCN314

From Nicholas Kazlauskas
859a3a9f1e6b4055fd96695d11defca050ecf5cf in linux-6.1.y/6.1.66
4636a211980052ca0df90265c8a3ed2d46099091 in mainline linux

date 2023-12-11T05:12:54Z
author jsg
files src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c log diff annotate
message drm/amd/display: fix ABM disablement

From Hamza Mahfooz
7cfc3884a8bb3b77efd035885c758fb33587f1b3 in linux-6.1.y/6.1.66
b9f46f0b98784e40288ee393f863f553fde062fa in mainline linux

date 2023-12-11T05:15:39Z
author jsg
files src/sys/dev/pci/drm/dma-resv.c log diff annotate
message dma-buf: fix check in dma_resv_add_fence

From Christian Koenig
fc98ea2699c090e0377d16d733dca7a0b7508237 in linux-6.1.y/6.1.66
95ba893c9f4feb836ddce627efd0bb6af6667031 in mainline linux

date 2023-12-11T05:18:43Z
author jsg
files src/sys/dev/pci/drm/amd/display/dmub/dmub_srv.h log diff annotate
src/sys/dev/pci/drm/amd/display/dmub/src/dmub_dcn20.c log diff annotate
src/sys/dev/pci/drm/amd/display/dmub/src/dmub_dcn20.h log diff annotate
src/sys/dev/pci/drm/amd/display/dmub/src/dmub_dcn31.c log diff annotate
src/sys/dev/pci/drm/amd/display/dmub/src/dmub_dcn31.h log diff annotate
src/sys/dev/pci/drm/amd/display/dmub/src/dmub_dcn32.c log diff annotate
src/sys/dev/pci/drm/amd/display/dmub/src/dmub_dcn32.h log diff annotate
src/sys/dev/pci/drm/amd/display/dmub/src/dmub_srv.c log diff annotate
message drm/amd/display: Restore rptr/wptr for DMCUB as workaround

From JinZe Xu
395a63ca1ad2e0534176cac91f5715961e744529 in linux-6.1.y/6.1.66
8f3589bb6fcea397775398cba4fbcc46829a60ed in mainline linux

date 2023-12-11T05:20:29Z
author jsg
files src/sys/dev/pci/drm/amd/display/dmub/src/dmub_srv.c log diff annotate
message drm/amd/display: Guard against invalid RPTR/WPTR being set

From Nicholas Kazlauskas
195514bda626b16fb6ef9ff4172dc0433a3c105b in linux-6.1.y/6.1.66
1ffa8602e39b89469dc703ebab7a7e44c33da0f7 in mainline linux

date 2023-12-11T05:21:50Z
author jsg
files src/sys/dev/pci/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c log diff annotate
message drm/amd/pm: fix a memleak in aldebaran_tables_init

From Dinghao Liu
0e0a95166882e594af4ab4f8c6f7894c2c32f6a9 in linux-6.1.y/6.1.66
7a88f23e768491bae653b444a96091d2aaeb0818 in mainline linux

date 2023-12-11T05:23:45Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dc.h log diff annotate
src/sys/dev/pci/drm/amd/display/dc/dc_stream.h log diff annotate
src/sys/dev/pci/drm/amd/display/dc/dml/dc_features.h log diff annotate
src/sys/dev/pci/drm/amd/display/dc/dml/display_mode_enums.h log diff annotate
src/sys/dev/pci/drm/amd/display/dc/dml/display_mode_vba.h log diff annotate
src/sys/dev/pci/drm/amd/display/dc/inc/core_types.h log diff annotate
src/sys/dev/pci/drm/amd/display/dc/inc/hw/hw_shared.h log diff annotate
message drm/amd/display: Expand kernel doc for DC

From Rodrigo Siqueira
6cd736272165d7a6a7d62fb0a40536ed3741ed02 in linux-6.1.y/6.1.66
1682bd1a6b5fb094e914d9b73b711821fd84dcbd in mainline linux

date 2023-12-11T05:25:29Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dcn30/dcn30_hwseq.c log diff annotate
message drm/amd/display: clean code-style issues in dcn30_set_mpc_shaper_3dlut

From Melissa Wen
442a4d4d01579d5d7066d0653898ffbb4091e3be in linux-6.1.y/6.1.66
94369589e4ec13c762fe10a1fdc4463bdfee5d5f in mainline linux

date 2023-12-11T05:27:19Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dcn10/dcn10_cm_common.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/dcn10/dcn10_cm_common.h log diff annotate
src/sys/dev/pci/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/dcn20/dcn20_hwseq.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/dcn30/dcn30_dwb_cm.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/dcn30/dcn30_hwseq.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/dcn32/dcn32_hwseq.c log diff annotate
message drm/amd/display: Fix the delta clamping for shaper LUT

From Harry Wentland
8332cb6c63394f32117a6f46a8cf7bedb8eec0b1 in linux-6.1.y/6.1.66
27fc10d1095f7a7de7c917638d7134033a190dd8 in mainline linux

date 2023-12-11T05:29:02Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dcn32/dcn32_hwseq.c log diff annotate
message drm/amd/display: Fix MPCC 1DLUT programming

From Ilya Bakoulin
10ce6301009fa46ba264ed75b822115ec3ca6e67 in linux-6.1.y/6.1.66
6f395cebdd8927fbffdc3a55a14fcacf93634359 in mainline linux

date 2023-12-11T09:40:42Z
author jan
files src/sys/dev/pv/if_vio.c log diff annotate
message vio(4): simplify mbuf parsing with ether_extract_headers()

ok sf@

date 2023-12-11T11:15:44Z
author claudio
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/files.arm64 log diff annotate
src/sys/arch/arm64/dev/ampchwm.c log diff annotate
message Add ampchwm(4) a driver to access the Ampere Altra Fine-Grained Power Telemetry

This adds per core energy sensors (in Joules) and one per SoC temparature
sensor.
OK kettenis@ deraadt@

date 2023-12-11T14:25:09Z
author mvs
files src/sys/net/if_pflow.c log diff annotate
src/sys/net/if_pflow.h log diff annotate
message Turn `pflow_softc' list into SMR list.

Since the revision 1.1182 of net/pf.c netlock is not taken while
export_pflow() called from pf_purge_states(). Current locks order
requires netlock to be taken before PF_LOCK(), so there is no reason
to turn it back into this path only for optional export_pflow() call.

The `pflowif_list' foreach loop has no context switch within, so SMR
list is better than mutex(9).

Tested by Hrvoje Popovski.

ok sashan bluhm

date 2023-12-11T14:27:09Z
author krw
files src/sys/dev/ic/nvmereg.h log diff annotate
message Fix the shift of status bits 2:0 to 11:9 from <<8 to <<9.

Fix the mask of shifted 8 bit field from 0x7f to 0xff.

Allows proper decoding of status fields SCT and SC.

From mlelstv@netbsd via NetBSD.

ok miod@

date 2023-12-11T22:12:52Z
author kettenis
files src/sys/arch/alpha/include/pmap.h log diff annotate
src/sys/arch/amd64/include/pmap.h log diff annotate
message Implement per-CPU caching for the page table page (vp) pool and the PTE
descriptor (pted) pool in the arm64 pmap implementation. This
significantly reduces the side-effects of lock contention on the kernel
map lock that is (incorrectly) translated into excessive page daemon
wakeups. This is not a perfect solution but it does lead to significant
speedups on machines with many CPU cores.

This requires adding a new pmap_init_percpu() function that gets called
at the point where kernel is ready to set up the per-CPU pool caches.
Dummy implementations of this function are added for all non-arm64
architectures. Some other architectures can probably benefit from
providing an actual implementation that sets up per-CPU caches for
pmap pools as well.

ok phessler@, claudio@, miod@, patrick@

date 2023-12-11T22:12:53Z
author kettenis
files src/sys/arch/arm/include/pmap.h log diff annotate
src/sys/arch/arm64/arm64/pmap.c log diff annotate
src/sys/arch/arm64/include/pmap.h log diff annotate
src/sys/arch/hppa/include/pmap.h log diff annotate
src/sys/arch/i386/include/pmap.h log diff annotate
src/sys/arch/m88k/include/pmap.h log diff annotate
src/sys/arch/mips64/include/pmap.h log diff annotate
src/sys/arch/powerpc/include/pmap.h log diff annotate
src/sys/arch/powerpc64/include/pmap.h log diff annotate
src/sys/arch/riscv64/include/pmap.h log diff annotate
src/sys/arch/sh/include/pmap.h log diff annotate
src/sys/arch/sparc64/include/pmap.h log diff annotate
src/sys/kern/init_main.c log diff annotate
message Implement per-CPU caching for the page table page (vp) pool and the PTE
descriptor (pted) pool in the arm64 pmap implementation. This
significantly reduces the side-effects of lock contention on the kernel
map lock that is (incorrectly) translated into excessive page daemon
wakeups. This is not a perfect solution but it does lead to significant
speedups on machines with many CPU cores.

This requires adding a new pmap_init_percpu() function that gets called
at the point where kernel is ready to set up the per-CPU pool caches.
Dummy implementations of this function are added for all non-arm64
architectures. Some other architectures can probably benefit from
providing an actual implementation that sets up per-CPU caches for
pmap pools as well.

ok phessler@, claudio@, miod@, patrick@