We are trying to implement warm boot for imx8qm, where we need put a53 to suspend mode and ddr to self-refresh.
i found the code in github code (https://github.com/nxp-imx/imx-atf/blob/lf_v2.6/plat/imx/imx8qm/imx8qm_psci.c) to suspend and resume but had few questions:
1. Which memory does this atf code executes, if its in ddr can we put core to suspend and command ddr to self refresh.
2. can irqsteer be used for wake-up or it should gic interrupts for imx8qm.
1. Which memory does this atf code executes, if its in ddr can we put core to suspend and command ddr to self refresh.
-->Not DDR, it runs in ocram.
2.can irqsteer be used for wake-up or it should gic interrupts for imx8qm.
--> irqsteer can be used for wake-up. Please refer previous community case, the interrupt both mapped in GIC and irqsteer, they will route to different cores.