zephyr/soc/intel/intel_adsp
Tomasz Leman a3835041bd 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 <tomasz.m.leman@intel.com>
2024-06-25 14:15:27 -04:00
..
ace intel_adsp/ace: power: Use MMU reinit API on core context restore 2024-06-25 14:15:27 -04:00
cavs Revert "soc: intel_adsp: only implement FW_STATUS boot protocol for cavs" 2024-06-21 11:52:38 -04:00
common Revert "soc: intel_adsp: only implement FW_STATUS boot protocol for cavs" 2024-06-21 11:52:38 -04:00
tools soc: intel_adsp: tools: improve cavstool.py winstream code 2024-06-15 14:21:02 +02:00
CMakeLists.txt
Kconfig intel_adsp: kconfig: remove duplicate line 2024-06-12 17:12:41 -05:00
Kconfig.defconfig
Kconfig.soc
soc.yml intel_adsp: ace30: Bring up ACE 3.0 (PTL) 2024-06-04 13:40:04 +02:00