-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
soc: intel_adsp: replace icache ISR workaround with custom idle solution #71332
soc: intel_adsp: replace icache ISR workaround with custom idle solution #71332
Conversation
Keeping as draft until SOF CI test run at thesofproject/sof#9022 is complete. I've been testing with older versions where the original issue is easier to hit. This additional test round is probably more important to ensure there are no unintended side-effects from this implementation. |
A workaround to avoid icache corruption was added in commit be881d4 ("arch: xtensa: add isync to interrupt vector"). This patch implements a different workaround by adding custom logic to idle entry on affected Intel ADSP platforms. To safely enter "waiti" when clock gating is enabled, we need to ensure icache is both unlocked and invalidated upon entry. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
bfac89e
to
b156cf7
Compare
SOF side test run passes, marking ready for review. |
For reference, a larger test plan completed on Intel side with test id 39699 with all tests passing. |
A workaround to avoid icache corruption was added in commit be881d4 ("arch: xtensa: add isync to interrupt vector").
This patch implements a different workaround by adding custom logic to idle entry on affected Intel ADSP platforms. To safely enter "waiti" when clock gating is enabled, we need to ensure icache is both unlocked and invalidated upon entry.