Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: nishit.sharma@intel.com
To: igt-dev@lists.freedesktop.org, kamil.konieczny@intel.com
Subject: [PATCH] tests/intel/xe_wedged: ignore expected fault/CAT dmesg in wedged paths
Date: Mon, 17 Aug 2026 15:14:21 +0000	[thread overview]
Message-ID: <20260817151421.528272-1-nishit.sharma@intel.com> (raw)

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


             reply	other threads:[~2026-08-17 15:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-17 15:14 nishit.sharma [this message]
2026-08-17 22:19 ` ✓ Xe.CI.BAT: success for tests/intel/xe_wedged: ignore expected fault/CAT dmesg in wedged paths 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260817151421.528272-1-nishit.sharma@intel.com \
    --to=nishit.sharma@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kamil.konieczny@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox