summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc
diff options
context:
space:
mode:
authorRaag Jadav <raag.jadav@intel.com>2026-10-22 10:42:29 +0530
committerDave Airlie <airlied@redhat.com>2026-11-09 19:17:58 +1000
commitb828d2b7326b535d2581598071875e8400b03bf7 (patch)
treebdc315c17519aed0974c51b8a03c14f44a8d9ddc /rust/kernel/alloc
parent031cc955b33b0d171fe50c870a9e601e80f14cea (diff)
drm/xe: Make xe_device_declare_wedged() IRQ safe
Currently, xe_device_declare_wedged() implementation wedges the GTs and sends wedged uevent to userspace. This is problematic for usecases which require declaring the device as wedged in IRQ context, as it allocates memory for event buffer and acquires mutexes deep into its call path. Fix this by deferring wedge handling into its dedicated worker, so that xe_device_declare_wedged() can be called in IRQ context. First user of this requirement is introduced in commit def675cf3f10 ("drm/xe/mert: Improve handling of MERT CAT errors"), which declares the device as wedged on catastrophic errors received in form of an IRQ. Fixes: def675cf3f10 ("drm/xe/mert: Improve handling of MERT CAT errors") Signed-off-by: Raag Jadav <raag.jadav@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patch.msgid.link/20261022051303.282805-6-raag.jadav@intel.com Signed-off-by: Matt Roper <matthew.d.roper@intel.com> (cherry picked from commit 49c00ef335741eb3c6ce21e49eb988a17cf2e62a) Signed-off-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions