[PATCH i-g-t v1 1/2] tests/intel/xe_wedged: Ignore more dmesg warnings

Kamil Konieczny kamil.konieczny at linux.intel.com
Fri Oct 25 17:12:39 UTC 2024


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)

second from drm:

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

so extend regex with them.

Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2919
Cc: Jonathan-Cavitt <jonathan.cavitt at intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Signed-off-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
---
 tests/intel/xe_wedged.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/intel/xe_wedged.c b/tests/intel/xe_wedged.c
index 88e5d47f2..0e4c88ffe 100644
--- a/tests/intel/xe_wedged.c
+++ b/tests/intel/xe_wedged.c
@@ -29,7 +29,9 @@
 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.|"
+				    "__pfx___drm_[a-z]*seq_file.*drm");
 }
 
 static void force_wedged(int fd)
-- 
2.47.0



More information about the igt-dev mailing list