Skip to content

Commit 528f317

Browse files
committed
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 <pawelx.langowski@intel.com>
1 parent 29377c4 commit 528f317

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

tools/sof-kernel-log-check.sh

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,7 @@ ignore_str="$ignore_str"'|nvme0: Admin Cmd\(0x[[:digit:]]+\), I/O Error \(sct 0x
446446

447447
ignore_str="$ignore_str"'kernel: xe 0000:00:02.0: \[drm\] Tile0: GT1: { key 0x0002 : 64b value 0xfec00000 } # ggtt_size'
448448
ignore_str="$ignore_str"'kernel: xe 0000:00:02.0: \[drm\] \*ERROR\* Tile0: GT1: PF: Failed to push self configuration \(-ECANCELED\)'
449+
ignore_str="$ignore_str"'kernel: xe 0000:00:02.0: \[drm\] \*ERROR\* Tile0: GT1: PF: Failed to push self configuration \(-ETIME\)'
449450
#
450451
# SDW related logs
451452
#
@@ -463,15 +464,16 @@ if &>/dev/null declare -p sof_local_extra_kernel_ignores; then
463464
fi
464465

465466
# confirm begin_timestamp is in UNIX timestamp format, otherwise search full log
466-
if [[ $begin_timestamp =~ ^[0-9]{10} ]]; then
467-
cmd="journalctl_cmd --since=@$begin_timestamp"
468-
else
469-
die "Invalid begin_timestamp $1 argument: $begin_timestamp"
470-
fi
467+
# if [[ $begin_timestamp =~ ^[0-9]{10} ]]; then
468+
# cmd="journalctl_cmd --since=@$begin_timestamp"
469+
# else
470+
# die "Invalid begin_timestamp $1 argument: $begin_timestamp"
471+
# fi
471472

473+
cmd="cat /home/plangowx/projects/dmesg.log"
472474
declare -p cmd
473475

474-
if err=$($cmd --priority=err |
476+
if err=$($cmd |
475477
grep -v -E -e "$ignore_str" "${sof_local_extra_kernel_ignores[@]}"); then
476478

477479
type journalctl_cmd

0 commit comments

Comments
 (0)