Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
soc: intel_adsp_cavs: store PS when power gating secondary core
When non-primary core is powered down and restart with sequence of: - PM state set to SOFT_OFF - once target core is idle, cut power with soc_adsp_halt_cpu() - power up core again with k_smp_cpu_resume() The execution will continue from stored DSP core context, but will hit an assert in z_smp_cpu_mobile() as the PS.INTLEVEL is zero. Fix this issue by storing and restoring PS register in this flow. Link: zephyrproject-rtos/zephyr#70181 Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
- Loading branch information