Skip to content

Introduce Xe Correctable Error Handling

Raag Jadav intel-xe 7 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest3 patches 0 repliesNew
  2. v63 patches 4 repliesSuperseded
  3. v53 patches 6 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v43 patches4 repliesSuperseded
v34 patches10 repliesSuperseded
v24 patches6 repliesSuperseded
v14 patches8 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/xe/sysctrl: Add system controller interrupt handlerdrivers/gpu/drm/xe/regs/xe_irq_regs.h drivers/gpu/drm/xe/xe_irq.c drivers/gpu/drm/xe/xe_sysctrl.c +2 more+36 -70 replies
2/3drm/xe/sysctrl: Add system controller event supportdrivers/gpu/drm/xe/Makefile drivers/gpu/drm/xe/xe_sysctrl.c drivers/gpu/drm/xe/xe_sysctrl.h +4 more+177 -00 replies
3/3drm/xe/ras: Introduce correctable error handlingdrivers/gpu/drm/xe/Makefile drivers/gpu/drm/xe/xe_ras.c drivers/gpu/drm/xe/xe_ras.h +2 more+184 -10 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMallesh KoujalagiRiana Tauro
1/3R-b R-b
2/3R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v7 thread

Cover letter [PATCH v7 0/3] Introduce Xe Correctable Error Handling

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)

v6: Drop unused xe_device parameter (Mallesh)
Fix unexpected counter threshold logic (Mallesh) Introduce work_lock in the patch it is used in (Riana) Drop xe prefix from static functions (Riana)
Don't fail on unexpected event (Riana)
Move sysctrl commands to xe_sysctrl_mailbox_types.h (Riana) Add kernel doc (Riana)
Use xe_device parameter for xe_ras functions (Riana) Shorten dmesg logging (Riana) s/xe_ras_threshold_crossed_data/xe_ras_threshold_crossed (Riana)

v7: Use consistent error logs (Riana)
s/reserved2/reserved1 (Riana)
Update event count kdoc (Riana)

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                   | 93 +++++++++++++++++++
 drivers/gpu/drm/xe/xe_ras.h                   | 15 +++
 drivers/gpu/drm/xe/xe_ras_types.h             | 73 +++++++++++++++
 drivers/gpu/drm/xe/xe_sysctrl.c               | 45 +++++++--
 drivers/gpu/drm/xe/xe_sysctrl.h               |  2 +
 drivers/gpu/drm/xe/xe_sysctrl_event.c         | 88 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_sysctrl_event_types.h   | 57 ++++++++++++
 drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h | 18 ++++
 drivers/gpu/drm/xe/xe_sysctrl_types.h         |  7 ++
 12 files changed, 396 insertions(+), 7 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
Signature · 1 line
2.43.0