Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/6] drm/xe/cper: Software (driver-detected) CPER error reporting
@ 2026-11-19  6:00 Mallesh Koujalagi
  2026-11-19  6:00 ` [PATCH v5 1/6] drm/xe/cper: Add software CPER emission entry point Mallesh Koujalagi
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: Mallesh Koujalagi @ 2026-11-19  6:00 UTC (permalink / raw)
  To: intel-xe, rodrigo.vivi, matthew.brost
  Cc: anshuman.gupta, badal.nilawar, vinay.belgaumkar, riana.tauro,
	karthik.poosa, sk.anirban, raag.jadav, aravind.iddamsetty,
	jani.nikula, Mallesh Koujalagi

This series wires up CPER record generation for driver-detected
(software) errors, i.e. the INTEL_SIGID_GPU_XE_SOFTWARE_START..
INTEL_SIGID_BATCH SIGID range, alongside the existing RAS-counter-
sourced (hardware) CPER path.

v2:
- Move union inside xe_cper_intel_hdr structure. (Badal)

v3:
- Rebase.
- Handle early PCI probe where xe device is null. (Sashiko)
- Introduce structure where it's used. (Badal)
- Move error-class union inside cper_init_intel_hdr. (Badal)
- Handle atomic context when SIGIDs are logged. (Sashiko)

v4:
- Add has_driver_cper flag. (Badal)
- Update commit message. (Badal)
- Use ktime_get_real_ns.
- Add BUILD_BUG_ON. (Raag)
- Emit complete message. (Badal/Aravind)
- Add can_sleep bool parameter in per_record_emit. (Badal)

v5:
- Update commit message. (Badal)
- Handle severity with single line.
- Call timestamp near to use. (Badal)
- Move initialization closer to use. (Badal)
- Warn if CPER Message allocation failed.
- Emit CPER record header without msg if allocation failed.
- Move gfp variable where it's used.

Mallesh Koujalagi (6):
  drm/xe/cper: Add software CPER emission entry point
  drm/xe/cper: Prepare CPER headers for software errors
  drm/xe/cper: Emit software CPER records
  drm/xe/cper: Make software CPER emission atomic-safe
  drm/xe/log: Add software CPER information to KUnit output
  drm/xe/log: Test software CPER emission parameters

 drivers/gpu/drm/xe/tests/xe_log_kunit.c | 103 +++++++++++++++++++++++-
 drivers/gpu/drm/xe/xe_cper.c            |  67 +++++++++++++--
 drivers/gpu/drm/xe/xe_cper_types.h      |  36 ++++++++-
 drivers/gpu/drm/xe/xe_device_types.h    |   2 +
 drivers/gpu/drm/xe/xe_pci.c             |   2 +
 drivers/gpu/drm/xe/xe_pci_types.h       |   1 +
 6 files changed, 200 insertions(+), 11 deletions(-)

-- 
2.48.1


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

end of thread, other threads:[~2026-11-21  7:40 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-19  6:00 [PATCH v5 0/6] drm/xe/cper: Software (driver-detected) CPER error reporting Mallesh Koujalagi
2026-11-19  6:00 ` [PATCH v5 1/6] drm/xe/cper: Add software CPER emission entry point Mallesh Koujalagi
2026-11-19  6:00 ` [PATCH v5 2/6] drm/xe/cper: Prepare CPER headers for software errors Mallesh Koujalagi
2026-11-21  6:48   ` Nilawar, Badal
2026-11-19  6:00 ` [PATCH v5 3/6] drm/xe/cper: Emit software CPER records Mallesh Koujalagi
2026-11-21  6:55   ` Nilawar, Badal
2026-11-21  7:39     ` Mallesh, Koujalagi
2026-11-19  6:00 ` [PATCH v5 4/6] drm/xe/cper: Make software CPER emission atomic-safe Mallesh Koujalagi
2026-11-19  6:00 ` [PATCH v5 5/6] drm/xe/log: Add software CPER information to KUnit output Mallesh Koujalagi
2026-11-19  6:00 ` [PATCH v5 6/6] drm/xe/log: Test software CPER emission parameters Mallesh Koujalagi
2026-11-19  8:08 ` ✓ CI.KUnit: success for drm/xe/cper: Software (driver-detected) CPER error reporting (rev5) Patchwork
2026-11-19  9:00 ` ✓ Xe.CI.BAT: " Patchwork
2026-11-20 13:14 ` ✓ Xe.CI.FULL: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox