Skip to content

IPC command timeout in record test - #5617

Merged
brentlu merged 3 commits into
thesofproject:cml-008-patch-backport2from
brentlu:fix-5613
Mar 31, 2022
Merged

brentlu merged 3 commits into
thesofproject:cml-008-patch-backport2from
brentlu:fix-5613

Conversation

@brentlu

@brentlu brentlu commented Mar 29, 2022

Copy link
Copy Markdown
Contributor

Backport the fix from main branch:

#2078

The target CML device passes record test which has 2000 loops.

After trigger stop we should cancel dmic task
from low latency scheduler.

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
(cherry picked from commit 6071fb8)
Adds return to spin_try_lock() in order to retrieve status
from arch_try_lock() function.

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
(cherry picked from commit b03e15a)
In order to avoid dead locks in dmic_work I've replaced
spin_lock() with spin_try_lock(). In case when
spin_try_lock() fails we reschedule dmic work.

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
(cherry picked from commit 6a0cf67)
@brentlu brentlu self-assigned this Mar 29, 2022
@brentlu brentlu linked an issue Mar 29, 2022 that may be closed by this pull request
@brentlu brentlu added chrome Chromebooks or ChromeOS CML Applies to Comet Lake platform labels Mar 29, 2022
@brentlu
brentlu merged commit 70a2d04 into thesofproject:cml-008-patch-backport2 Mar 31, 2022
@brentlu

brentlu commented Mar 31, 2022

Copy link
Copy Markdown
Contributor Author

customer confirmed that the issue is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chrome Chromebooks or ChromeOS CML Applies to Comet Lake platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] IPC command timeout in record test

2 participants