From 528f317cde3f588205d86a8c3f97c953485c24b5 Mon Sep 17 00:00:00 2001 From: Pawel Langowski Date: Tue, 20 Jan 2026 08:55:48 +0000 Subject: [PATCH] tools: sof-kernel-log-check.sh: Add another xe error to ignore_str Add (-ETIME) drm error to ignore string Signed-off-by: Pawel Langowski --- tools/sof-kernel-log-check.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/tools/sof-kernel-log-check.sh b/tools/sof-kernel-log-check.sh index 8761bdb9..653012e6 100755 --- a/tools/sof-kernel-log-check.sh +++ b/tools/sof-kernel-log-check.sh @@ -446,6 +446,7 @@ ignore_str="$ignore_str"'|nvme0: Admin Cmd\(0x[[:digit:]]+\), I/O Error \(sct 0x ignore_str="$ignore_str"'kernel: xe 0000:00:02.0: \[drm\] Tile0: GT1: { key 0x0002 : 64b value 0xfec00000 } # ggtt_size' ignore_str="$ignore_str"'kernel: xe 0000:00:02.0: \[drm\] \*ERROR\* Tile0: GT1: PF: Failed to push self configuration \(-ECANCELED\)' +ignore_str="$ignore_str"'kernel: xe 0000:00:02.0: \[drm\] \*ERROR\* Tile0: GT1: PF: Failed to push self configuration \(-ETIME\)' # # SDW related logs # @@ -463,15 +464,16 @@ if &>/dev/null declare -p sof_local_extra_kernel_ignores; then fi # confirm begin_timestamp is in UNIX timestamp format, otherwise search full log -if [[ $begin_timestamp =~ ^[0-9]{10} ]]; then - cmd="journalctl_cmd --since=@$begin_timestamp" -else - die "Invalid begin_timestamp $1 argument: $begin_timestamp" -fi +# if [[ $begin_timestamp =~ ^[0-9]{10} ]]; then +# cmd="journalctl_cmd --since=@$begin_timestamp" +# else +# die "Invalid begin_timestamp $1 argument: $begin_timestamp" +# fi +cmd="cat /home/plangowx/projects/dmesg.log" declare -p cmd -if err=$($cmd --priority=err | +if err=$($cmd | grep -v -E -e "$ignore_str" "${sof_local_extra_kernel_ignores[@]}"); then type journalctl_cmd