zephyr/soc
Kai Vehmanen 010f39a409 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: https://github.com/zephyrproject-rtos/zephyr/issues/70181
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2024-03-15 18:16:51 -04:00
..
altr hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
ambiq hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
andestech hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
arm hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
aspeed hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
atmel hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
brcm hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
cdns hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
common hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
cypress hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
efinix/sapphire hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
ene/kb1200 drivers: pinctrl: initial device driver for ENE KB1200 2024-03-15 09:39:48 +00:00
espressif hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
gaisler hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
gd/gd32 hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
infineon/xmc hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
intel soc: intel_adsp_cavs: store PS when power gating secondary core 2024-03-15 18:16:51 -04:00
ite/ec ite/it8xxx2: add support for jtag debug interface 2024-03-08 18:04:12 +01:00
litex/litex_vexriscv hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
lowrisc/opentitan hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
microchip hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
native/inf_clock hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
neorv32 hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
nordic soc: nordic: Fix validation of base addresses 2024-03-14 11:03:27 -05:00
nuvoton soc: npcx: workaround VCC1_RST hang issue for npcx9m7fb SoC 2024-03-15 08:43:47 +00:00
nxp soc: nxp: rw: Clock SPI Flexcomms 2024-03-15 18:07:45 -04:00
openisa/rv32m1 hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
qemu_malta hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
quicklogic/eos_s3 hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
raspberrypi hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
renesas drivers: pinctrl: move renesas pincontrol drivers to separate directory 2024-03-06 10:09:11 +00:00
renode/riscv_virtual hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
riscv/qemu_virt_riscv hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
rockchip hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
sifive/sifive_freedom hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
silabs hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
st/stm32 soc: arm: stm32 with USB Type-C dead battery disabled if needed 2024-03-13 11:09:44 +00:00
starfive/jh71xx soc: starfive: jh71xx: add jh7110 soc support 2024-03-13 11:39:51 -05:00
synopsys hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
telink/tlsr hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
ti hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
xen hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
xlnx hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
CMakeLists.txt hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.v1 hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.v1.choice hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.v2 hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00