]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/imagination: Fix deadlock in soft reset sequence
authorAlessio Belle <alessio.belle@imgtec.com>
Mon, 9 Mar 2026 15:23:48 +0000 (15:23 +0000)
committerMatt Coster <matt.coster@imgtec.com>
Tue, 17 Mar 2026 14:27:04 +0000 (14:27 +0000)
commita55c2a5c8d680156495b7b1e2a9f5a3e313ba524
tree8269cffd02725dfdd6f8a1db378389c9aab6f043
parentc6cb77c474a32265e21c4871c7992468bf5e7638
drm/imagination: Fix deadlock in soft reset sequence

The soft reset sequence is currently executed from the threaded IRQ
handler, hence it cannot call disable_irq() which internally waits
for IRQ handlers, i.e. itself, to complete.

Use disable_irq_nosync() during a soft reset instead.

Fixes: cc1aeedb98ad ("drm/imagination: Implement firmware infrastructure and META FW support")
Cc: stable@vger.kernel.org
Signed-off-by: Alessio Belle <alessio.belle@imgtec.com>
Reviewed-by: Matt Coster <matt.coster@imgtec.com>
Link: https://patch.msgid.link/20260309-fix-soft-reset-v1-1-121113be554f@imgtec.com
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
drivers/gpu/drm/imagination/pvr_power.c