Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Shuicheng Lin <shuicheng.lin@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Shuicheng Lin <shuicheng.lin@intel.com>
Subject: [PATCH] tests/intel/xe_exec_system_allocator: Ignore expected CAT error in fault subtest
Date: Mon,  6 Jul 2026 18:17:52 +0000	[thread overview]
Message-ID: <20260706181752.3039184-1-shuicheng.lin@intel.com> (raw)

The 'fault' subtest submits an exec with a bogus batch address. The
kernel nacks the unresolvable pagefault, which the GuC escalates to a
memory CAT error and engine reset. The resulting 'CAT error' dmesg
messages are expected, not a real failure.

Emit an ignore-dmesg regex to suppress them in CI. It matches both
'Memory CAT error reported by GuC!' and 'Engine memory CAT error'
messages.

Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
---
 tests/intel/xe_exec_system_allocator.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/intel/xe_exec_system_allocator.c b/tests/intel/xe_exec_system_allocator.c
index 24fc5b708d..fd7520e519 100644
--- a/tests/intel/xe_exec_system_allocator.c
+++ b/tests/intel/xe_exec_system_allocator.c
@@ -2752,10 +2752,12 @@ int igt_main()
 	igt_subtest("threads-shared-alloc-many-stride-malloc-race")
 		threads(fd, 1, 128, 0, 256, RACE | SHARED_ALLOC, false);
 
-	igt_subtest_f("fault")
+	igt_subtest_f("fault") {
+		igt_emit_ignore_dmesg_regex("CAT error");
 		xe_for_each_engine(fd, hwe)
 			test_exec(fd, hwe, 4, 1, SZ_2M, 0, 0, NULL, NULL,
 				  FAULT, NULL);
+	}
 
 	for (const struct section *s = psections; s->name; s++) {
 		igt_subtest_f("partial-%s", s->name)
-- 
2.43.0


             reply	other threads:[~2026-07-06 18:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-06 18:17 Shuicheng Lin [this message]
2026-07-06 18:20 ` [PATCH] tests/intel/xe_exec_system_allocator: Ignore expected CAT error in fault subtest Matthew Brost
2026-07-07  5:18 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-07-07  5:29 ` ✓ i915.CI.BAT: " Patchwork
2026-07-07  7:59 ` ✓ Xe.CI.FULL: " Patchwork
2026-07-07  9:44 ` [PATCH] " Kamil Konieczny
2026-07-07 15:29 ` ✓ i915.CI.Full: success for " 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=20260706181752.3039184-1-shuicheng.lin@intel.com \
    --to=shuicheng.lin@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /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