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 <tomasz.m.leman@intel.com> |
||
|---|---|---|
| .. | ||
| ace | ||
| cavs | ||
| common | ||
| tools | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.defconfig | ||
| Kconfig.soc | ||
| soc.yml | ||