]> git.hungrycats.org Git - linux/commit
drm/xe: Skip device access during PCI error recovery
authorRiana Tauro <riana.tauro@intel.com>
Mon, 29 Jun 2026 08:28:05 +0000 (13:58 +0530)
committerRiana Tauro <riana.tauro@intel.com>
Thu, 2 Jul 2026 08:09:38 +0000 (13:39 +0530)
commite46ee82f120f7f6ac4a2bf8ee6199ef65ceaea1a
tree9b39bef1bc7d70f05020349881c5aeb8e889b5d4
parent0a0fae3327a537b23e86463240e7381ddb5e31a1
drm/xe: Skip device access during PCI error recovery

When a fatal error occurs and the error_detected callback is
invoked the device is inaccessible. The error_detected callback
wedges the device causing the jobs to timeout.

The timedout handler acquires forcewake to dump devcoredump and
triggers a GT reset. Since the device is inaccessible this causes
errors. Skip all mmio accesses and gt reset when the device
is in reset.

Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Reviewed-by: Mallesh Koujalagi <mallesh.koujalagi@intel.com>
Link: https://patch.msgid.link/20260629082802.3690896-9-riana.tauro@intel.com
Signed-off-by: Riana Tauro <riana.tauro@intel.com>
drivers/gpu/drm/xe/xe_device.h
drivers/gpu/drm/xe/xe_device_types.h
drivers/gpu/drm/xe/xe_gt.c
drivers/gpu/drm/xe/xe_guc_submit.c
drivers/gpu/drm/xe/xe_pci_error.c