linux/drivers/accel
Lizhi Hou ca25834123 accel/amdxdna: Fix deadlock between context destroy and job timeout
Hardware context destroy function holds dev_lock while waiting for all jobs
to complete. The timeout job also needs to acquire dev_lock, this leads to
a deadlock.

Fix the issue by temporarily releasing dev_lock before waiting for all
jobs to finish, and reacquiring it afterward.

Fixes: 4fd6ca90fc ("accel/amdxdna: Refactor hardware context destroy routine")
Reviewed-by: Maciej Falkowski <maciej.falkowski@linux.intel.com>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patch.msgid.link/20251107181050.1293125-1-lizhi.hou@amd.com
2025-11-13 09:10:43 -08:00
..
amdxdna accel/amdxdna: Fix deadlock between context destroy and job timeout 2025-11-13 09:10:43 -08:00
ethosu drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
habanalabs accel/habanalabs: add Infineon version check 2025-09-25 09:14:45 +03:00
ivpu accel/ivpu: Fix warning due to undefined CONFIG_PROC_FS 2025-11-12 09:34:18 +01:00
qaic accel/qaic: Add qaic_ prefix to irq_polling_work 2025-11-07 11:27:46 -07:00
rocket drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
Kconfig accel: Add Arm Ethos-U NPU driver 2025-10-24 15:07:39 -05:00
Makefile accel: Add Arm Ethos-U NPU driver 2025-10-24 15:07:39 -05:00
drm_accel.c drm: move drm based debugfs funcs to drm_debugfs.c 2025-07-04 15:58:22 +02:00