Skip to content
Snippets Groups Projects
Commit 21076ee0 authored by Kamil Konieczny's avatar Kamil Konieczny
Browse files

tests/intel/xe_wedged: Ignore more dmesg warnings

There are more warnings in dmesg which should be ignored,
one comes from driver, for example:

xe 0000:00:02.0: [drm] *ERROR* GT0: reset failed (-ECANCELED)
xe 0000:00:02.0: [drm] *ERROR* GT1: Failed to submit gsc proxy rq (-ETIME)

or from drm:

<4> [438.651441]  ? __pfx___drm_printfn_seq_file+0x10/0x10 [drm]
<4> [438.651476]  ? __pfx___drm_puts_seq_file+0x10/0x10 [drm]

or from kernel itself:

<4> [226.597358] Modules linked in:

so extend regex with them.

v2: move '|' to begin of strings for better reading (Jonathan)
  extend regex with two more, correct __pfx___ regex (Kamil)
  added r-b and correcting name in Cc
v3: fix and simplify pfx___drm regex (Kamil)

Closes: drm/xe/kernel#2919


Cc: Jonathan Cavitt <jonathan.cavitt@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Signed-off-by: default avatarKamil Konieczny <kamil.konieczny@linux.intel.com>
Reviewed-by: default avatarJonathan Cavitt <jonathan.cavitt@intel.com>
Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent c6840f5e
No related branches found
No related tags found
No related merge requests found
Pipeline #1322375 passed
......@@ -29,7 +29,11 @@
static void ignore_wedged_in_dmesg(void)
{
/* this is needed for igt_runner so it will ignore it */
igt_emit_ignore_dmesg_regex("CRITICAL: Xe has declared device [0-9A-Fa-f:.]* as wedged");
igt_emit_ignore_dmesg_regex("CRITICAL: Xe has declared device [0-9A-Fa-f:.]* as wedged"
"|GT[0-9A-Fa-f]*: reset failed .-ECANCELED"
"|GT[0-9A-Fa-f]*: Failed to submit"
"|Modules linked in:"
"|__pfx___drm_");
}
static void force_wedged(int fd)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment