diff options
author | Victor Gu <xigu@marvell.com> | 2017-03-14 19:18:33 +0800 |
---|---|---|
committer | Hua Jing <jinghua@marvell.com> | 2017-04-21 08:51:17 +0300 |
commit | ba41cbbb9ec80d8e7098dce7bd5a7e2b898b9cd9 (patch) | |
tree | 168a6919918834636ad8001c049003b954c95d7b /include | |
parent | c282885acfc73ba1b5db15b4a82cae501cb12f91 (diff) |
gicv3: marvell: add IRQ state PM support
This patch wrap the ARM GICv3 SPI and PPI irq state PM APIs
for Marvell platform, which are used in suspend and resume
process.
Marvell plat_marvell_gic_irq_save/restore APIs are used to
save and restore SPI irq states.
Marvell plat_marvell_gic_irq_pcpu_save/restore APIs are used
to save and restore per-cpu irq states.
Change-Id: I7a466fef369241b3ce7f727c0c7179ec7023a09e
Signed-off-by: Victor Gu <xigu@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/37431
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Reviewed-by: Hua Jing <jinghua@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/38077
Tested-by: Hua Jing <jinghua@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/38609
Diffstat (limited to 'include')
-rw-r--r-- | include/plat/marvell/common/plat_private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/plat/marvell/common/plat_private.h b/include/plat/marvell/common/plat_private.h index 60b46813..e4fc033f 100644 --- a/include/plat/marvell/common/plat_private.h +++ b/include/plat/marvell/common/plat_private.h @@ -48,5 +48,9 @@ void plat_marvell_gic_init(void); void plat_marvell_gic_cpuif_enable(void); void plat_marvell_gic_cpuif_disable(void); void plat_marvell_gic_pcpu_init(void); +void plat_marvell_gic_irq_save(void); +void plat_marvell_gic_irq_restore(void); +void plat_marvell_gic_irq_pcpu_save(void); +void plat_marvell_gic_irq_pcpu_restore(void); #endif /* __PLAT_PRIVATE_H__ */ |