]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/panthor: disable async work during unplug
authorKetil Johnsen <ketil.johnsen@arm.com>
Wed, 29 Oct 2025 11:14:10 +0000 (12:14 +0100)
committerLiviu Dudau <liviu.dudau@arm.com>
Mon, 3 Nov 2025 14:25:21 +0000 (14:25 +0000)
commit65c22519cf687ca3a4275241b3d8b7f105648523
treed68b5f2650de0c76f63323fde600a4244f765056
parent7051f6ba968fa69918d72cc26de4d6cf7ea05b90
drm/panthor: disable async work during unplug

A previous change, "drm/panthor: Fix UAF race between device unplug and
FW event processing", fixes a real issue where new work was unexpectedly
queued after cancellation. This was fixed by a disable instead.

Apply the same disable logic to other device level async work on device
unplug as a precaution.

Signed-off-by: Ketil Johnsen <ketil.johnsen@arm.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patch.msgid.link/20251029111412.924104-1-ketil.johnsen@arm.com
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
drivers/gpu/drm/panthor/panthor_device.c
drivers/gpu/drm/panthor/panthor_fw.c
drivers/gpu/drm/panthor/panthor_sched.c