All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe/xe_ras: Hint at application page fault for local compute errors
@ 2026-11-23  9:13 Ravi Kishore Koppuravuri
  2026-11-23  9:47 ` Tauro, Riana
                   ` (11 more replies)
  0 siblings, 12 replies; 18+ messages in thread
From: Ravi Kishore Koppuravuri @ 2026-11-23  9:13 UTC (permalink / raw)
  To: intel-xe
  Cc: riana.tauro, raag.jadav, anshuman.gupta, mallesh.koujalagi,
	Ravi Kishore Koppuravuri

Unhandled application page faults are reported by the hardware as local
core core compute uncorrectable errors. Users reading the resulting SIGID
203 log treats it as a hardware failure.

Add an additional log to the core compute error message for local uncorrectable
errors that they are often caused by an application page fault.

Signed-off-by: Ravi Kishore Koppuravuri <ravi.kishore.koppuravuri@intel.com>
---
 drivers/gpu/drm/xe/xe_ras.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_ras.c b/drivers/gpu/drm/xe/xe_ras.c
index 0fb891d00b36..3371ddf5ddf4 100644
--- a/drivers/gpu/drm/xe/xe_ras.c
+++ b/drivers/gpu/drm/xe/xe_ras.c
@@ -39,6 +39,7 @@
  * 2 - Global Uncorrectable Error
  * 3 - Informational Error
  */
+#define  LOCAL_UNCORR_ERROR		1
 #define  GLOBAL_UNCORR_ERROR		2
 
 /* Severity of detected errors  */
@@ -583,7 +584,9 @@ static u8 handle_core_compute_errors(struct xe_device *xe, struct xe_ras_error_a
 	uncorr_type = FIELD_GET(CORE_COMPUTE_UNCORR_TYPE, error_info->log_header);
 
 	xe_log_comp(xe, cper_sev, CORE_COMPUTE, &arr->counter, sizeof(arr->counter),
-		    "Uncorrectable error detected, type %u\n", uncorr_type);
+		    "Uncorrectable error detected, type %u%s\n", uncorr_type,
+		    uncorr_type == LOCAL_UNCORR_ERROR ?
+		    " (often caused by an application page fault)" : "");
 
 	/* Request a reset if error is global */
 	if (uncorr_type == GLOBAL_UNCORR_ERROR)
-- 
2.34.1


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

end of thread, other threads:[~2026-12-02 10:18 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23  9:13 [PATCH] drm/xe/xe_ras: Hint at application page fault for local compute errors Ravi Kishore Koppuravuri
2026-11-23  9:47 ` Tauro, Riana
2026-11-23 13:57 ` ✗ CI.checkpatch: warning for " Patchwork
2026-11-23 13:59 ` ✗ CI.KUnit: failure " Patchwork
2026-11-30  8:45 ` [PATCH v2] drm/xe/xe_ras: Downgrade software-caused core compute errors to info Ravi Kishore Koppuravuri
2026-11-30 13:28   ` Tauro, Riana
2026-12-01  5:40   ` [PATCH v3] " Ravi Kishore Koppuravuri
2026-12-01 13:53     ` Tauro, Riana
2026-12-02  9:29     ` [PATCH v4] " Ravi Kishore Koppuravuri
2026-12-02 10:18       ` Tauro, Riana
2026-11-30  8:56 ` ✓ CI.KUnit: success for drm/xe/xe_ras: Hint at application page fault for local compute errors (rev2) Patchwork
2026-11-30  9:35 ` ✓ Xe.CI.BAT: " Patchwork
2026-11-30 11:52 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-12-01  5:54 ` ✓ CI.KUnit: success for drm/xe/xe_ras: Hint at application page fault for local compute errors (rev3) Patchwork
2026-12-01  6:32 ` ✓ Xe.CI.BAT: " Patchwork
2026-12-01 19:11 ` ✓ Xe.CI.FULL: " Patchwork
2026-12-02  9:40 ` ✓ CI.KUnit: success for drm/xe/xe_ras: Hint at application page fault for local compute errors (rev4) Patchwork
2026-12-02 10:15 ` ✓ Xe.CI.BAT: " 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.