diff options
| author | Riana Tauro <riana.tauro@intel.com> | 2026-06-29 13:58:03 +0530 |
|---|---|---|
| committer | Riana Tauro <riana.tauro@intel.com> | 2026-07-02 13:39:38 +0530 |
| commit | 13b9555ffb0304d736fcad01e7a75d329b81ae9a (patch) | |
| tree | 2de38d59c2a8fe99c35ade871a10e101a1aca7af /drivers/gpu/drm/xe/Makefile | |
| parent | f6c23e4589bdc69a5d2f79aed5c5bddd5d406cbe (diff) | |
| download | linux-next-13b9555ffb0304d736fcad01e7a75d329b81ae9a.tar.gz linux-next-13b9555ffb0304d736fcad01e7a75d329b81ae9a.zip | |
drm/xe/xe_pci_error: Implement PCI error recovery callbacks
Add error_detected, mmio_enabled, slot_reset and resume recovery callbacks
to handle PCIe Advanced Error Reporting (AER) errors.
For fatal errors, the device is wedged and becomes inaccessible. Return
PCI_ERS_RESULT_NEED_RESET from error_detected to request a Secondary
Bus Reset (SBR).
For non-fatal errors, return PCI_ERS_RESULT_CAN_RECOVER from
error_detected to trigger the mmio_enabled callback. In this callback, the
device is queried to determine the error cause and attempt recovery based
on the error type.
Once the secondary bus reset(SBR) is completed the slot_reset callback
cleanly removes and reprobe the device to restore functionality.
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Mallesh Koujalagi <mallesh.koujalagi@intel.com>
Link: https://patch.msgid.link/20260629082802.3690896-7-riana.tauro@intel.com
Signed-off-by: Riana Tauro <riana.tauro@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/Makefile')
| -rw-r--r-- | drivers/gpu/drm/xe/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/Makefile b/drivers/gpu/drm/xe/Makefile index 8e7b146880f4..3c001b2a4aec 100644 --- a/drivers/gpu/drm/xe/Makefile +++ b/drivers/gpu/drm/xe/Makefile @@ -101,6 +101,7 @@ xe-y += xe_bb.o \ xe_page_reclaim.o \ xe_pat.o \ xe_pci.o \ + xe_pci_error.o \ xe_pci_rebar.o \ xe_pcode.o \ xe_pm.o \ |
