Skip to content

Commit 26c638d

Browse files
mbrost05Thomas Hellström
authored andcommitted
drm/xe: Always kill exec queues in xe_guc_submit_pause_abort
xe_guc_submit_pause_abort is intended to be called after something disastrous occurs (e.g., VF migration fails, device wedging, or driver unload) and should immediately trigger the teardown of remaining submission state. With that, kill any remaining queues in this function. Fixes: 7c4b7e3 ("drm/xe/vf: Abort VF post migration recovery on failure") Cc: stable@vger.kernel.org Signed-off-by: Zhanjun Dong <zhanjun.dong@intel.com> Reviewed-by: Stuart Summers <stuart.summers@intel.com> Signed-off-by: Matthew Brost <matthew.brost@intel.com> Link: https://patch.msgid.link/20260310225039.1320161-2-zhanjun.dong@intel.com (cherry picked from commit 78f3bf0) Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
1 parent 9b72283 commit 26c638d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

drivers/gpu/drm/xe/xe_guc_submit.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2695,8 +2695,7 @@ void xe_guc_submit_pause_abort(struct xe_guc *guc)
26952695
continue;
26962696

26972697
xe_sched_submission_start(sched);
2698-
if (exec_queue_killed_or_banned_or_wedged(q))
2699-
xe_guc_exec_queue_trigger_cleanup(q);
2698+
guc_exec_queue_kill(q);
27002699
}
27012700
mutex_unlock(&guc->submission_state.lock);
27022701
}

0 commit comments

Comments
 (0)