linux/drivers/gpu/drm/panthor
Boris Brezillon d50b4edeb1 drm/panthor: Keep interrupts masked until they are needed
The autogenerated panthor_request_xx_irq() helpers unmask Mali
interrupts before we're sure we'll have a handler registered. For
non-shared IRQ lines, that's fine, but for shared ones, it might cause
an interrupt flood if the HW block raises an interrupt for any reason.

We could reworking the calls in panthor_request_xx_irq(), but it's just
simpler to let the caller decide when they are ready to handle interrupts
and call panthor_pwr_irq_resume() themselves. While at it, rework the
prototype to let users call panthor_pwr_irq_enable_events() explicitly
instead of passing an initial mask to panthor_request_pwr_irq().

Fixes: 5fe909cae1 ("drm/panthor: Add the device logical block")
Reported-by: Shashiko <sashiko-bot@kernel.org>
Closes: https://sashiko.dev/#/patchset/20260623-panthor-signal-from-irq-v3-0-2ece396f8ee0@collabora.com?part=3
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Karunika Choo <karunika.choo@arm.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patch.msgid.link/20260625-panthor-misc-fixes-v1-11-b67ed973fea6@collabora.com
2026-06-30 15:26:55 +01:00
..
Kconfig drm/panthor: Part ways with drm_gem_shmem_object 2026-04-03 13:23:28 +02:00
Makefile drm/panthor: Add src path to includes of panthor_gpu.o 2026-01-23 21:11:14 +01:00
panthor_devfreq.c drm/panthor: Use existing OPP table if present 2025-11-03 15:28:39 +00:00
panthor_devfreq.h drm/panthor: call into devfreq for current frequency 2025-11-03 15:27:25 +00:00
panthor_device.c drm/panthor: Keep the reset work disabled until everything is initialized 2026-06-30 15:26:55 +01:00
panthor_device.h drm/panthor: Keep interrupts masked until they are needed 2026-06-30 15:26:55 +01:00
panthor_drv.c drm/panthor: Fix missing declaration for panthor_transparent_hugepage 2026-05-07 09:06:10 +01:00
panthor_drv.h drm/panthor: Fix missing declaration for panthor_transparent_hugepage 2026-05-07 09:06:10 +01:00
panthor_fw_regs.h drm/panthor: Use a local iomem base for firmware control registers 2026-04-30 17:15:00 +01:00
panthor_fw.c drm/panthor: Keep interrupts masked until they are needed 2026-06-30 15:26:55 +01:00
panthor_fw.h drm/panthor: Replace cross-component register accesses with helpers 2026-04-30 17:14:53 +01:00
panthor_gem.c drm/panthor: Reduce padding in gems debugfs for refcount 2026-05-28 16:47:37 +02:00
panthor_gem.h drm/panthor: Implement evicted status for GEM objects 2026-05-28 16:14:39 +02:00
panthor_gpu_regs.h drm/panthor: Use a local iomem base for GPU registers 2026-04-30 17:14:57 +01:00
panthor_gpu.c drm/panthor: Keep interrupts masked until they are needed 2026-06-30 15:26:55 +01:00
panthor_gpu.h drm/panthor: Replace cross-component register accesses with helpers 2026-04-30 17:14:53 +01:00
panthor_heap.c drm/panthor: Split register definitions by components 2026-04-30 17:14:48 +01:00
panthor_heap.h drm/panthor: Expose size of driver internal BO's over fdinfo 2025-02-07 15:23:39 +01:00
panthor_hw.c drm/panthor: Use a local iomem base for PWR registers 2026-04-30 17:14:59 +01:00
panthor_hw.h drm/panthor: Split register definitions by components 2026-04-30 17:14:48 +01:00
panthor_mmu_regs.h drm/panthor: Use a local iomem base for MMU AS registers 2026-04-30 17:15:01 +01:00
panthor_mmu.c drm/panthor: Keep interrupts masked until they are needed 2026-06-30 15:26:55 +01:00
panthor_mmu.h drm/panthor: Add a GEM shrinker 2026-04-03 13:23:57 +02:00
panthor_pwr_regs.h drm/panthor: Use a local iomem base for PWR registers 2026-04-30 17:14:59 +01:00
panthor_pwr.c drm/panthor: Keep interrupts masked until they are needed 2026-06-30 15:26:55 +01:00
panthor_pwr.h drm/panthor: Implement soft reset via PWR_CONTROL 2025-11-26 10:56:19 +01:00
panthor_sched.c drm/panthor: Interrupt group start/resumption if group_bind_locked() fails 2026-06-30 15:26:55 +01:00
panthor_sched.h drm/panthor: Evict groups before VM termination 2025-12-19 11:57:55 +01:00
panthor_trace.h drm/panthor: Add gpu_job_irq tracepoint 2026-01-22 15:15:35 +01:00