Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
intel_adsp/ace: power: Use MMU reinit API on core context restore
Replace the MMU initialization call with the new MMU re-initialization API during the core context restore process in the ACE power management code. The previous code was directly calling `xtensa_mmu_init()` upon restoring the core context, which is not appropriate when the MMU context may have been preserved during low-power states. The new `xtensa_mmu_reinit()` API is designed to re-establish the MMU context without overwriting the existing page table, ensuring that any runtime changes to the MMU configuration are retained. Changes made in this patch: - Removed the call to `xtensa_mmu_init()` from the `_restore_core_context()` function. - Added a call to `xtensa_mmu_reinit()` after restoring the miscellaneous registers. This update aligns the ACE power management code with the correct MMU handling procedures when recovering from low-power states, as per the recent changes in the Xtensa MMU support. Signed-off-by: Tomasz Leman <[email protected]>
- Loading branch information