[PATCH 00/11] drm/panthor: Misc fixes for bugs found by shashiko

From: Boris Brezillon

Date: Thu Jun 25 2026 - 08:40:58 EST


This is a collection of fixes for bugs found by shashiko during
the review of [1] and the previous iterations. Because shashiko
keeps finding new issues at each new submission, I decided to
extract the fixes out of this series.

[1]https://lore.kernel.org/dri-devel/20260625-panthor-signal-from-irq-v5-0-8836a74e0ef9@xxxxxxxxxxxxx/

Signed-off-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx>
---
Boris Brezillon (11):
drm/panthor: Always use the IRQ-safe variant when acquiring the fence lock
drm/panthor: Keep the reset work disabled until everything is initialized
drm/panthor: Fix UAF on works queued to panthor_cleanup_wq
drm/panthor: Fix potential invalid pointer deref in group_process_tiler_oom()
drm/panthor: Fix theoretical IOMEM access in suspended state
drm/panthor: Don't overrule pending immediate ticks in sched_resume_tick()
drm/panthor: Fix panthor_pwr_unplug()
drm/panthor: Drop a needless check in panthor_fw_unplug()
drm/panthor: Fix a leak when a group is evicted before the tiler OOM is serviced
drm/panthor: Interrupt group start/resumption if group_bind_locked() fails
drm/panthor: Keep interrupts masked until they are needed

drivers/gpu/drm/panthor/panthor_device.c | 9 +++
drivers/gpu/drm/panthor/panthor_device.h | 17 +++--
drivers/gpu/drm/panthor/panthor_fw.c | 6 +-
drivers/gpu/drm/panthor/panthor_gpu.c | 3 +-
drivers/gpu/drm/panthor/panthor_mmu.c | 9 ++-
drivers/gpu/drm/panthor/panthor_pwr.c | 10 +--
drivers/gpu/drm/panthor/panthor_sched.c | 108 +++++++++++++++++--------------
7 files changed, 97 insertions(+), 65 deletions(-)
---
base-commit: cdeb2ccd993ed8647adbbda2c3b103aa717fd6f7
change-id: 20260625-panthor-misc-fixes-e3241ce6ef00

Best regards,
--
Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx>