Skip to content

drm/panthor: Misc fixes for bugs found by shashiko

Boris Brezillon dri-devel lkml 1 version In review

Get series with b4
b4 am [email protected] change-id 20260625-panthor-misc-fixes-e3241ce6ef00

Versions newest first

  1. v1 Latest11 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11drm/panthor: Always use the IRQ-safe variant when acquiring the fence lockdrivers/gpu/drm/panthor/panthor_sched.c+39 -441 reply
2/11drm/panthor: Keep the reset work disabled until everything is initializeddrivers/gpu/drm/panthor/panthor_device.c+4 -01 reply
3/11drm/panthor: Fix UAF on works queued to panthor_cleanup_wqdrivers/gpu/drm/panthor/panthor_device.c+5 -03 replies
4/11drm/panthor: Fix potential invalid pointer deref in group_process_tiler_oom()drivers/gpu/drm/panthor/panthor_sched.c+4 -11 reply
5/11drm/panthor: Fix theoretical IOMEM access in suspended statedrivers/gpu/drm/panthor/panthor_device.h+7 -33 replies
6/11drm/panthor: Don't overrule pending immediate ticks in sched_resume_tick()drivers/gpu/drm/panthor/panthor_sched.c+8 -16 replies
7/11drm/panthor: Fix panthor_pwr_unplug()drivers/gpu/drm/panthor/panthor_pwr.c+2 -11 reply
8/11drm/panthor: Drop a needless check in panthor_fw_unplug()drivers/gpu/drm/panthor/panthor_fw.c+1 -31 reply
9/11drm/panthor: Fix a leak when a group is evicted before the tiler OOM is serviceddrivers/gpu/drm/panthor/panthor_sched.c+2 -11 reply
10/11drm/panthor: Interrupt group start/resumption if group_bind_locked() failsdrivers/gpu/drm/panthor/panthor_sched.c+7 -11 reply
11/11drm/panthor: Keep interrupts masked until they are neededdrivers/gpu/drm/panthor/panthor_device.h drivers/gpu/drm/panthor/panthor_fw.c drivers/gpu/drm/panthor/panthor_gpu.c +2 more+18 -102 replies

Reviews trailers per patch

10 of 11 patches have a Reviewed-by or Acked-by.

PatchLiviu DudauKarunika Choo
1/11R-b
2/11R-b
3/11
4/11R-b
5/11R-b
6/11R-b R-b R-b
7/11R-b
8/11R-b
9/11R-b
10/11R-b
11/11R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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/[email protected]/

---
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,

Signature · 1 line
Boris Brezillon <[email protected]>