umber-kernel/include
Thomas Zimmermann cdf8bbbd90 drm/tests: shmem: Hold reservation lock around purge
[ Upstream commit 3f41307d589c2f25d556d47b165df808124cd0c4 ]

Acquire and release the GEM object's reservation lock around calls
to the object's purge operation. The tests use
drm_gem_shmem_purge_locked(), which led to errors such as show below.

[   58.709128] WARNING: CPU: 1 PID: 1354 at drivers/gpu/drm/drm_gem_shmem_helper.c:515 drm_gem_shmem_purge_locked+0x51c/0x740

Only export the new helper drm_gem_shmem_purge() for Kunit tests.
This is not an interface for regular drivers.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Fixes: 954907f714 ("drm/shmem-helper: Refactor locked/unlocked functions")
Cc: dri-devel@lists.freedesktop.org
Cc: <stable@vger.kernel.org> # v6.16+
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://patch.msgid.link/20251212160317.287409-6-tzimmermann@suse.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-03-04 07:20:55 -05:00
..
acpi APEI/GHES: ensure that won't go past CPER allocated record 2026-03-04 07:19:35 -05:00
asm-generic audit: add missing syscalls to read class 2026-03-04 07:19:29 -05:00
clocksource
crypto crypto: scatterwalk - Fix memcpy_sglist() to always succeed 2026-01-02 12:57:08 +01:00
cxl
drm drm/tests: shmem: Hold reservation lock around purge 2026-03-04 07:20:55 -05:00
dt-bindings dt-bindings: power: qcom,rpmpd: Add SC8280XP_MXC_AO 2026-01-30 10:32:09 +01:00
hyperv hyperv: Remove the spurious null directive line 2025-10-02 21:21:24 +00:00
keys
kunit kunit: Enforce task execution in {soft,hard}irq contexts 2026-01-08 10:16:50 +01:00
kvm KVM: arm64: Kill leftovers of ad-hoc timer userspace access 2025-10-13 14:42:41 +01:00
linux net: add a common function to compute features for upper devices 2026-03-04 07:20:50 -05:00
math-emu
media media: dvb-core: dmxdevfilter must always flush bufs 2026-03-04 07:19:49 -05:00
memory
misc
net net: Drop the lock in skb_may_tx_timestamp() 2026-03-04 07:20:49 -05:00
pcmcia
ras RAS: Report all ARM processor CPER information to userspace 2025-12-18 14:03:09 +01:00
rdma RDMA/core: add rdma_rw_max_sge() helper for SQ sizing 2026-02-26 14:59:27 -08:00
rv
scsi scsi: core: Fix error handler encryption support 2026-01-23 11:21:23 +01:00
soc There's a bunch of patches here across drivers/clk/ to migrate drivers to use 2025-10-07 09:28:37 -07:00
sound ASoC: SDCA: Force some SDCA Controls to be volatile 2026-02-26 14:59:15 -08:00
target scsi: target: Fix LUN/device R/W and total command stats 2025-12-18 14:02:48 +01:00
trace tracing/dma: Cap dma_map_sg tracepoint arrays to prevent buffer overflow 2026-02-19 16:31:33 +01:00
uapi include: uapi: netfilter_bridge.h: Cover for musl libc 2026-03-04 07:20:39 -05:00
ufs scsi: ufs: host: mediatek: Require CONFIG_PM 2026-02-26 14:59:27 -08:00
vdso
video
xen Partial revert "x86/xen: fix balloon target initialization for PVH dom0" 2026-02-26 14:59:01 -08:00
Kbuild