From: Shuicheng Lin <shuicheng.lin@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Shuicheng Lin <shuicheng.lin@intel.com>,
Kamil Konieczny <kamil.konieczny@linux.intel.com>,
Matthew Brost <matthew.brost@intel.com>
Subject: [PATCH v2] tests/intel/xe_exec_system_allocator: Ignore expected CAT error in fault subtest
Date: Tue, 7 Jul 2026 16:21:56 +0000 [thread overview]
Message-ID: <20260707162156.3050135-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.
v2: Add comment in code & expand dmesg regex. (Kamil)
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
---
tests/intel/xe_exec_system_allocator.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/tests/intel/xe_exec_system_allocator.c b/tests/intel/xe_exec_system_allocator.c
index 48ae738ec..50cd6ead7 100644
--- a/tests/intel/xe_exec_system_allocator.c
+++ b/tests/intel/xe_exec_system_allocator.c
@@ -2740,10 +2740,16 @@ 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") {
+ /*
+ * Ignore memory CAT error messages in dmesg (both 'Memory CAT error reported by GuC!'
+ * and 'Engine memory CAT error'), as they are expected when testing page faults.
+ */
+ igt_emit_ignore_dmesg_regex("[Mm]emory 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
next reply other threads:[~2026-07-07 16:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-07 16:21 Shuicheng Lin [this message]
2026-07-08 7:08 ` ✓ Xe.CI.BAT: success for tests/intel/xe_exec_system_allocator: Ignore expected CAT error in fault subtest (rev3) Patchwork
2026-07-08 7:22 ` ✓ i915.CI.BAT: " Patchwork
2026-07-08 9:07 ` ✓ Xe.CI.FULL: " Patchwork
2026-07-08 23:26 ` ✗ i915.CI.Full: failure " 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=20260707162156.3050135-1-shuicheng.lin@intel.com \
--to=shuicheng.lin@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=kamil.konieczny@linux.intel.com \
--cc=matthew.brost@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