From c079757e0ab1744b7ac8c74e9cbfadda9d9c8d0a Mon Sep 17 00:00:00 2001 From: Pan Xiuli Date: Wed, 23 Sep 2020 11:25:35 +0800 Subject: [PATCH] sof-kernel-log-check: add old ignore cl_dsp_init error back Revert "sof-kernel-log-check: remove filter on initial boot issues" This reverts commit 8797c85a6c6420422ab7ce026bfd998bb3ad83e3. We can still see such issues on old kernels eg. 5.8.10 Need to ignore this in our test for old kernels. Signed-off-by: Pan Xiuli --- tools/sof-kernel-log-check.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tools/sof-kernel-log-check.sh b/tools/sof-kernel-log-check.sh index 52d35d53..b23c7382 100755 --- a/tools/sof-kernel-log-check.sh +++ b/tools/sof-kernel-log-check.sh @@ -74,6 +74,18 @@ ignore_str="$ignore_str"'|wlo1: authentication with f4:f5:e8:6b:45:bb timed out' case "$platform" in icl|cml) ignore_str="$ignore_str"'|sof-audio-pci 0000:00:1f\.3: status = 0x[0]{8} panic = 0x[0]{8}' + # There will be debug logs at each failed initializaiton of DSP before Linux 5.9 + # sof-audio-pci 0000:00:1f.3: error: cl_dsp_init: timeout HDA_DSP_SRAM_REG_ROM_STATUS read + # sof-audio-pci 0000:00:1f.3: error: status = 0x00000000 panic = 0x00000000 + # sof-audio-pci 0000:00:1f.3: error: Error code=0xffffffff: FW status=0xffffffff + # sof-audio-pci 0000:00:1f.3: error: iteration 0 of Core En/ROM load failed: -110 + # We will reinit DSP if it is failed to init, and retry 3 times, so the errors in + # debug logs at the frist and second retry can be ignored. + # Check https://github.com/thesofproject/linux/pull/1676 for more information. + # Fixed by https://github.com/thesofproject/linux/pull/2382 + ignore_str="$ignore_str"'|error: iteration [01]' + ignore_str="$ignore_str"'|error: status' + ignore_str="$ignore_str"'|error: cl_dsp_init: timeout HDA_DSP_SRAM_REG_ROM_STATUS read' ;; esac