Closed casionwoo closed 5 years ago
Hi @casionwoo, Currently there is no reference code which will save and restore GICv2 context during SYSTEM_SUSPEND. On Juno, the GICv2 is in a always ON power domain and does not lose context during SYSTEM_SYSPEND. And we did not have any request to support this for GICv2 yet.
We do have the reference for save and restore on GICv3 here. If you can contribute something similar to that for GICv2, that will be helpful.
Hello experts, I'm currently working on SYSTEM_SUSPEND in Hikey platform(not hikey960) which have GICv2. Here's my question that does ATF save and restore the context of GIC? I think when it goes to suspend power state, turning off or not is depends on platform architecture. that ATF could save and restores the context.
If ATF does save and restore the context of GIC, can you give me the hint where I can find it in the code?