summaryrefslogtreecommitdiff
path: root/kernel/stop_machine.c
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2026-01-09 17:27:36 -0800
committerMatthew Brost <matthew.brost@intel.com>2026-01-10 13:39:52 -0800
commit58624c195b9a90950ebff166b72ee712f8d5a4c7 (patch)
tree16837003bf928ba5d02b31fddca671b42bd97058 /kernel/stop_machine.c
parentdd1ef5e2456558876244795bb22a4d90cb24f160 (diff)
drm/xe: Do not deregister queues in TDR
Deregistering queues in the TDR introduces unnecessary complexity, requiring reference-counting techniques to function correctly, particularly to prevent use-after-free (UAF) issues while a deregistration initiated from the TDR is in progress. All that's needed in the TDR is to kick the queue off the hardware, which is achieved by disabling scheduling. Queue deregistration should be handled in a single, well-defined point in the cleanup path, tied to the queue's reference count. v4: - Explain why extra ref were needed prior to this patch (Niranjana) Signed-off-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com> Link: https://patch.msgid.link/20260110012739.2888434-5-matthew.brost@intel.com
Diffstat (limited to 'kernel/stop_machine.c')
0 files changed, 0 insertions, 0 deletions