Skip to content

Commit

Permalink
[DO-NOT-MERGE]temp workarounds for known issues
Browse files Browse the repository at this point in the history
ignore : DRM error Unclaimed access detected prior to suspending
ignore : SDW Parity error detected
workaround : multiple-pipeline, use duration instead of pkill
  • Loading branch information
ssavati committed Jul 6, 2024
1 parent 70c9d34 commit 767bcb0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test-case/multiple-pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func_run_pipeline_with_type()

dlogi "Testing: $pcm [$dev]"

"${APP_LST[$direction]}" -D "$dev" -c "$channel" -r "$rate" -f "$fmt" "${DEV_LST[$direction]}" -q &
"${APP_LST[$direction]}" -D "$dev" -c "$channel" -r "$rate" -f "$fmt" "${DEV_LST[$direction]}" -q -d "6" &

: $((tmp_count--))
if [ "$tmp_count" -le 0 ]; then return 0; fi
Expand Down Expand Up @@ -201,9 +201,9 @@ do
dlogi "checking pipeline status again"
ps_checks

dlogc 'pkill -9 aplay arecord'
pkill -9 arecord || true
pkill -9 aplay || true
#dlogc 'pkill -9 aplay arecord'
#pkill -9 arecord || true
#pkill -9 aplay || true
sleep 1 # try not to pollute the next iteration

if pgrep arecord || pgrep aplay; then
Expand Down
6 changes: 6 additions & 0 deletions tools/sof-kernel-log-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ trap - EXIT
# TODO explain why we ignore this one and where
ignore_str='error: debugfs write failed to idle -16'

#TWLignore DRM errors
ignore_str="$ignore_str"'|i915 [[:digit:].:]+: \[drm\] \*ERROR\* Unclaimed access detected prior to suspending'

#Soundwire igone parity erros
ignore_str="$ignore_str"'|rt711 sdw:[0-9]:[0-9]:[A-Za-z0-9]*:[A-Za-z0-9]*:[0-9]*: Parity error detected'

# CML Helios known issue related with xhci_hcd
# https://bugzilla.kernel.org/show_bug.cgi?id=202541
ignore_str="$ignore_str"'|xhci_hcd 0000:00:14\.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state'
Expand Down

0 comments on commit 767bcb0

Please sign in to comment.