Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tests/intel/xe_wedged: ignore expected fault/CAT dmesg in wedged paths
@ 2026-08-17 15:14 nishit.sharma
  2026-08-17 22:19 ` ✓ Xe.CI.BAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: nishit.sharma @ 2026-08-17 15:14 UTC (permalink / raw)
  To: igt-dev, kamil.konieczny

From: Nishit Sharma <nishit.sharma@intel.com>

The wedged test flow intentionally triggers hang/reset behavior that can
emit a known multi-line fault dump and CAT error in dmesg during
wedged-mode-toggle and related wedged scenarios. Updated existing
test to extend ignore_wedged_in_dmesg with regex patterns that match:
1. Tile/GT fault header and fault detail lines (ASID, faulted address,
fault type, access type, fault level, engine class/instance)
2. Fault response: Unsuccessful -EINVAL
3. Engine memory CAT error line

Signed-off-by: Nishit Sharma <nishit.sharma@intel.com>
---
 tests/intel/xe_wedged.c | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/tests/intel/xe_wedged.c b/tests/intel/xe_wedged.c
index e1ac629ca..9281fbdb0 100644
--- a/tests/intel/xe_wedged.c
+++ b/tests/intel/xe_wedged.c
@@ -35,7 +35,18 @@ static void ignore_wedged_in_dmesg(void)
 				    "|GT[0-9A-Fa-f]*: reset failed .-ECANCELED"
 				    "|GT[0-9A-Fa-f]*: Failed to submit"
 				    "|Modules linked in:"
-				    "|__pfx___drm_");
+				    "|__pfx___drm_"
+				    "|Tile[0-9]+: GT[0-9A-Fa-f]*:$"
+				    "|[[:space:]]+ASID: [0-9]+"
+				    "|[[:space:]]+Faulted Address: 0x[0-9A-Fa-f]+"
+				    "|[[:space:]]+FaultType: [0-9]+"
+				    "|[[:space:]]+AccessType: [0-9]+"
+				    "|[[:space:]]+FaultLevel: [0-9]+"
+				    "|[[:space:]]+EngineClass: [0-9]+ [a-z]+"
+				    "|[[:space:]]+EngineInstance: [0-9]+"
+				    "|Tile[0-9]+: GT[0-9A-Fa-f]*: Fault response: Unsuccessful -EINVAL"
+				    "|Tile[0-9]+: GT[0-9A-Fa-f]*: Engine memory CAT error \\[[0-9]+\\]:"
+				    "class=[a-z]+, logical_mask: 0x[0-9A-Fa-f]+, guc_id=[0-9]+");
 }
 
 static void force_wedged(int fd)
-- 
2.43.0


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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-17 15:14 [PATCH] tests/intel/xe_wedged: ignore expected fault/CAT dmesg in wedged paths nishit.sharma
2026-08-17 22:19 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-08-17 22:26 ` ✓ i915.CI.BAT: " Patchwork
2026-08-18  2:05 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-08-18 12:42 ` ✓ i915.CI.Full: success " Patchwork

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