aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/scheduler/sched_entity.c
diff options
context:
space:
mode:
authorKarol Wachowski <[email protected]>2025-08-08 11:09:39 +0000
committerJacek Lawrynowicz <[email protected]>2025-09-01 10:37:21 +0000
commit69a79ada8eb034ce016b5b78fb7d08d8687223de (patch)
treea72989e606ca1c4f048d1c465531ecd643f457fb /drivers/gpu/drm/scheduler/sched_entity.c
parentnouveau: Membar before between semaphore writes and the interrupt (diff)
downloadkernel-69a79ada8eb034ce016b5b78fb7d08d8687223de.tar.gz
kernel-69a79ada8eb034ce016b5b78fb7d08d8687223de.zip
accel/ivpu: Prevent recovery work from being queued during device removal
Use disable_work_sync() instead of cancel_work_sync() in ivpu_dev_fini() to ensure that no new recovery work items can be queued after device removal has started. Previously, recovery work could be scheduled even after canceling existing work, potentially leading to use-after-free bugs if recovery accessed freed resources. Rename ivpu_pm_cancel_recovery() to ivpu_pm_disable_recovery() to better reflect its new behavior. Fixes: 58cde80f45a2 ("accel/ivpu: Use dedicated work for job timeout detection") Cc: [email protected] # v6.8+ Signed-off-by: Karol Wachowski <[email protected]> Reviewed-by: Lizhi Hou <[email protected]> Signed-off-by: Jacek Lawrynowicz <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/scheduler/sched_entity.c')
0 files changed, 0 insertions, 0 deletions