All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/7] Handle non-fatal errors routed via IRQ
@ 2026-11-03  6:09 Riana Tauro
  2026-11-03  6:09 ` [PATCH v3 1/7] drm/xe/hw_error: Reuse CSC worker for generic error handling Riana Tauro
                   ` (9 more replies)
  0 siblings, 10 replies; 23+ messages in thread
From: Riana Tauro @ 2026-11-03  6:09 UTC (permalink / raw)
  To: intel-xe
  Cc: riana.tauro, anshuman.gupta, rodrigo.vivi, aravind.iddamsetty,
	raag.jadav, ravi.kishore.koppuravuri, mallesh.koujalagi,
	tejas.upadhyay

Implement wa_14028434957 on platform CRI

Process, log and recover non-fatal errors routed via direct IRQ.
Double-bit ECC errors are also reported as non-fatal errors. Process and 
offline pages for user bos. Critical Bo's require a SBR to recover.
Wedge the device with bus reset.

Race Case Handling:

There is a potential race between errors reported via AER that require
an SBR (Secondary Bus Reset) and non-fatal errors still being processed
by the worker. Since a reset is imminent once AER reports such an
error, the worker processing non-fatal errors is flushed and disabled.

There is also a possibility of the AER handler running first, in which
case firmware reports all pending errors including non-fatal ones as a
single response, since it maintains a single queue for all error types. 
Skip handling of double-bit ECC errors in that case, since the SBR already
clears the offlined pages on reload and firmware drops them from its queue
once read, so offlining them here would be unnecessary and could leave the 
queue and the soft-offlined pages list out of sync.

Rev2: Handle Race between AER
      Use WA number

Rev3: Reorder patches to fix sashiko comments
      squash all WA patches
      remove delayed worker

Raag Jadav (1):
  drm/xe/hw_error: Reuse CSC worker for generic error handling

Riana Tauro (6):
  drm/xe/hw_error: Initialize hw_error_work per tile
  drm/xe/ras: Treat non-fatal PCIe errors as recovered
  drm/xe/pci: Add upstream switch port lookup helper
  drm/xe/xe_ras: Add a flag for uncorrectable internal error
  drm/xe: Add support for wa_14028434957
  drm/xe/xe_ras: Skip double-bit ECC page offlining on AER path

 drivers/gpu/drm/xe/xe_device.c            |  3 +
 drivers/gpu/drm/xe/xe_device_wa_oob.rules |  1 +
 drivers/gpu/drm/xe/xe_hw_error.c          | 64 +++++++++++++++---
 drivers/gpu/drm/xe/xe_hw_error.h          |  1 +
 drivers/gpu/drm/xe/xe_pci.c               | 23 +++++++
 drivers/gpu/drm/xe/xe_pci.h               |  1 +
 drivers/gpu/drm/xe/xe_pci_error.c         | 36 +++++++++++
 drivers/gpu/drm/xe/xe_ras.c               | 79 +++++++++++++++++------
 drivers/gpu/drm/xe/xe_ras.h               |  2 +
 drivers/gpu/drm/xe/xe_ras_types.h         |  2 +
 drivers/gpu/drm/xe/xe_tile_types.h        |  4 +-
 11 files changed, 184 insertions(+), 32 deletions(-)

-- 
2.47.1


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2026-11-04 12:59 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-03  6:09 [PATCH v3 0/7] Handle non-fatal errors routed via IRQ Riana Tauro
2026-11-03  6:09 ` [PATCH v3 1/7] drm/xe/hw_error: Reuse CSC worker for generic error handling Riana Tauro
2026-11-03  6:27   ` Mallesh, Koujalagi
2026-11-03  6:09 ` [PATCH v3 2/7] drm/xe/hw_error: Initialize hw_error_work per tile Riana Tauro
2026-11-03  6:23   ` sashiko-bot
2026-11-03  6:42     ` Tauro, Riana
2026-11-04  9:31   ` Mallesh, Koujalagi
2026-11-04 12:58     ` Tauro, Riana
2026-11-03  6:09 ` [PATCH v3 3/7] drm/xe/ras: Treat non-fatal PCIe errors as recovered Riana Tauro
2026-11-03  6:19   ` Mallesh, Koujalagi
2026-11-03  6:09 ` [PATCH v3 4/7] drm/xe/pci: Add upstream switch port lookup helper Riana Tauro
2026-11-03  6:09 ` [PATCH v3 5/7] drm/xe/xe_ras: Add a flag for uncorrectable internal error Riana Tauro
2026-11-03  8:19   ` Mallesh, Koujalagi
2026-11-03  6:09 ` [PATCH v3 6/7] drm/xe: Add support for wa_14028434957 Riana Tauro
2026-11-03  6:33   ` sashiko-bot
2026-11-03  6:45     ` Tauro, Riana
2026-11-04 10:38   ` Mallesh, Koujalagi
2026-11-04 10:44     ` Tauro, Riana
2026-11-03  6:09 ` [PATCH v3 7/7] drm/xe/xe_ras: Skip double-bit ECC page offlining on AER path Riana Tauro
2026-11-03  6:23   ` sashiko-bot
2026-11-03  7:32 ` ✓ CI.KUnit: success for Handle non-fatal errors routed via IRQ (rev3) Patchwork
2026-11-03  8:05 ` ✓ Xe.CI.BAT: " Patchwork
2026-11-03 13:34 ` ✓ Xe.CI.FULL: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.