Skip to content

kernel-log-check: filter i915 supsending crtc logs#738

Merged
XiaoyunWu6666 merged 1 commit intothesofproject:mainfrom
XiaoyunWu6666:filter_i915
Jul 19, 2021
Merged

kernel-log-check: filter i915 supsending crtc logs#738
XiaoyunWu6666 merged 1 commit intothesofproject:mainfrom
XiaoyunWu6666:filter_i915

Conversation

@XiaoyunWu6666
Copy link
Copy Markdown
Contributor

on EHL platforms , when check suspend resume , 'kernel: i915 0000:00:02.0: [drm] ERROR Suspending crtc's failed with -22' error happens and leads testcase to fail .
Since this is irrelevant to audio , filter it so that the testcase can run successfully

Signed-off-by: Iris Wu xiaoyun.wu@intel.com

@XiaoyunWu6666 XiaoyunWu6666 requested a review from a team as a code owner July 14, 2021 05:36
Comment thread tools/sof-kernel-log-check.sh Outdated
# i915 crtc logs can be ignored
# origin logs seen on EHL_RVP_I2S platforms
# i915 0000:00:02.0: [drm] *ERROR* Suspending crtc's failed with -22
ignore_str="$ignore_str"'|i915 [[:digit:].:]+: \[drm\] \*ERROR\* Suspending .+'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead '.+' just specify the rest of the log, "crtc's failed with".
We don't want random matching unless there are some error patterns.

@marc-hb
Copy link
Copy Markdown
Collaborator

marc-hb commented Jul 14, 2021

Since this is irrelevant to audio

Not every i915 error is irrelevant to audio, all display connectors carry audio. I would like @kv2019i to confirm this one.

Signed-off-by: Iris Wu <xiaoyun.wu@intel.com>
Copy link
Copy Markdown
Contributor

@fredoh9 fredoh9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, Thanks!

@XiaoyunWu6666 for next time, please add description to commit message as well. I see good description in github description but the commit message is empty.

@marc-hb
Copy link
Copy Markdown
Collaborator

marc-hb commented Jul 15, 2021

Here's an example of a display problem impossible to ignore: thesofproject/linux#3042

@XiaoyunWu6666 XiaoyunWu6666 merged commit acc4802 into thesofproject:main Jul 19, 2021
@kv2019i
Copy link
Copy Markdown
Contributor

kv2019i commented Jul 19, 2021

Out last week, but this seems fine (especially when limited to ehl platform).

@marc-hb marc-hb added area:non-audio Failure False positives: failing when we don't want to area:dmesg filter labels Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:non-audio Failure False positives: failing when we don't want to

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants