| f7e7ea1f | 22-Aug-2024 |
Ranjani Vaidyanathan <ranjani.vaidyanathan@nxp.com> |
feat(imx95): implement a semaphore for GIC quiescing
As there is no way to reset the GIC on iMX95, SM(System Controller) needs to quiesce the GIC using the GIC waker. But AP can also be touching GIC
feat(imx95): implement a semaphore for GIC quiescing
As there is no way to reset the GIC on iMX95, SM(System Controller) needs to quiesce the GIC using the GIC waker. But AP can also be touching GIC waker register during entry/exit from low power modes. Add a semaphore to provide a critical section for GIC waker. The last two words in the TF-A MU 1K SRAM space is used to hold the semaphore (follow the Peterson'salgorithm for mutual exclusion).
Signed-off-by: Ranjani Vaidyanathan <ranjani.vaidyanathan@nxp.com> Signed-off-by: Jacky Bai <ping.bai@nxp.com> Change-Id: Ic5d696ac83668e72d9c3204d7ec047ac9f751e94
show more ...
|