Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Brost <matthew.brost@intel.com>
To: Shuicheng Lin <shuicheng.lin@intel.com>
Cc: <igt-dev@lists.freedesktop.org>
Subject: Re: [PATCH] tests/intel/xe_exec_system_allocator: Ignore expected CAT error in fault subtest
Date: Mon, 6 Jul 2026 11:20:48 -0700	[thread overview]
Message-ID: <akvyAC0XKxAyNtfV@gsse-cloud1.jf.intel.com> (raw)
In-Reply-To: <20260706181752.3039184-1-shuicheng.lin@intel.com>

On Mon, Jul 06, 2026 at 06:17:52PM +0000, Shuicheng Lin wrote:
> 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>

Reviewed-by: Matthew Brost <matthew.brost@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:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-06 18:17 [PATCH] tests/intel/xe_exec_system_allocator: Ignore expected CAT error in fault subtest Shuicheng Lin
2026-07-06 18:20 ` Matthew Brost [this message]
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=akvyAC0XKxAyNtfV@gsse-cloud1.jf.intel.com \
    --to=matthew.brost@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=shuicheng.lin@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