You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG][WHL][CML][DMIC] IPC timeout in tests incorporating DMIC interface #2347
Describe the bug
Bug occurs on WHL platform, in tests with DMIC interface.
IPC timeout happens when sending IPC DaiConfig or PcmParams to FW.
No Trace Logs are received, memory window debug might be needed.
After bisect commit bce7f24 is found to introduce the bug.
To Reproduce
Any Python scripts DMIC test with option --iterations=100
Reproduction Rate
25%
Environment
Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
Seems like bug no longer occurs.
Fix found in commit 9985b01 - no error in 400 iterations.
Confirming on top master 7e88cc0 - no error in 400 and still running up to 1000 iterations. I will give update tomorrow when test are over.
Confimed fix on top master 7e88cc0 - no error in 1000 iterations. Funny thing is that commit 9985b01 only touches traces, is it possible that bug still exists but is well hidden ? @lgirdwood what do you thing about closing the bug?
@lgirdwood@xiulipan I've rootcaused this issue to too small default stack size for EDF tasks. Here is the fix: #2388. Let's see if it will also help with APL failures.
Activity
lgirdwood commentedon Feb 12, 2020
I think this is a duplicate of #2265
This also appears to happen with SSP DAI config too (taken from recent CI failures on APL).
The funny thing is that we iterate over the same component twice here ? @tlauda list corruption ?
zrombel commentedon Feb 12, 2020
Seems like bug no longer occurs.
Fix found in commit 9985b01 - no error in 400 iterations.
Confirming on top master 7e88cc0 - no error in 400 and still running up to 1000 iterations. I will give update tomorrow when test are over.
lgirdwood commentedon Feb 13, 2020
@zrombel ok, thanks for checking. I will keep checking CI too.
zrombel commentedon Feb 13, 2020
Confimed fix on top master 7e88cc0 - no error in 1000 iterations. Funny thing is that commit 9985b01 only touches traces, is it possible that bug still exists but is well hidden ? @lgirdwood what do you thing about closing the bug?
lgirdwood commentedon Feb 13, 2020
@xiulipan @mengdonglin any objections ?
xiulipan commentedon Feb 14, 2020
@lgirdwood @lgirdwood
This looks like the race condition with APL NOCODEC, same error with HW PARAMS
This bug will also influence WHL
@zrombel are you testing with XCC FW or GCC FW?
zrombel commentedon Feb 14, 2020
@xiulipan I'm testing only XCC builds
tlauda commentedon Feb 14, 2020
@lgirdwood @xiulipan I've rootcaused this issue to too small default stack size for EDF tasks. Here is the fix: #2388. Let's see if it will also help with APL failures.
xiulipan commentedon Feb 16, 2020
@tlauda Thanks for the fix, it seems the issue on APL is gone.
lgirdwood commentedon Feb 17, 2020
@zrombel can we close ?
zrombel commentedon Feb 18, 2020
I will run tests once again on top of master and if the bug doesn't reproduce I will close the bug.
zrombel commentedon Feb 18, 2020
No reproduction on master top 53d35e4. Closing Issue.