[PATCH v5 0/3] Introduce Xe Correctable Error Handling

Raag Jadav
2026-04-07T11:09:11Z

This series builds on top of system controller series[1] and adds initial
support for correctable error handling in xe. This serves as a foundation
for RAS infrastructure and will be further extended to facilitate other
RAS features.

Detailed description in commit message.

[1] https://patchwork.freedesktop.org/series/163196/

v2: Use system_percpu_wq instead of dedicated (Matthew Brost)
Handle unexpected response length (Mallesh)

v3: Handle event flood (Mallesh)

v4: Handle IRQ before sysctrl initialization (Mallesh)
Fix Severity/Component logging (Mallesh)
s/xe_ras_error/xe_ras_error_class (Riana)

v5: Handle unexpected counter threshold crossed (Mallesh)

Raag Jadav (3):
drm/xe/sysctrl: Add system controller interrupt handler
drm/xe/sysctrl: Add system controller event support
drm/xe/ras: Introduce correctable error handling

drivers/gpu/drm/xe/Makefile | 2 +
drivers/gpu/drm/xe/regs/xe_irq_regs.h | 1 +
drivers/gpu/drm/xe/xe_irq.c | 2 +
drivers/gpu/drm/xe/xe_ras.c | 96 +++++++++++++++++++++
drivers/gpu/drm/xe/xe_ras.h | 14 +++
drivers/gpu/drm/xe/xe_ras_types.h | 73 ++++++++++++++++
drivers/gpu/drm/xe/xe_sysctrl.c | 46 ++++++++--
drivers/gpu/drm/xe/xe_sysctrl.h | 2 +
drivers/gpu/drm/xe/xe_sysctrl_event.c | 89 +++++++++++++++++++
drivers/gpu/drm/xe/xe_sysctrl_event_types.h | 52 +++++++++++
drivers/gpu/drm/xe/xe_sysctrl_mailbox.h | 10 +++
drivers/gpu/drm/xe/xe_sysctrl_types.h | 7 ++
12 files changed, 388 insertions(+), 6 deletions(-)
create mode 100644 drivers/gpu/drm/xe/xe_ras.c
create mode 100644 drivers/gpu/drm/xe/xe_ras.h
create mode 100644 drivers/gpu/drm/xe/xe_ras_types.h
create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_event.c
create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_event_types.h

--
2.43.0