Add support for PSCI SYSTEM_OFF and SYSTEM_RESET APIs
This patch adds support for SYSTEM_OFF and SYSTEM_RESET PSCI operations. A platform should export handlers to complete the requested operation. The FVP port exports fvp_system_off() and fvp_system_reset() as an example. If the SPD provides a power management hook for system off and system reset, then the SPD is notified about the corresponding operation so it can do some bookkeeping. The TSPD exports tspd_system_off() and tspd_system_reset() for that purpose. Versatile Express shutdown and reset methods have been removed from the FDT as new PSCI sys_poweroff and sys_reset services have been added. For those kernels that do not support yet these PSCI services (i.e. GICv3 kernel), the original dtsi files have been renamed to *-no_psci.dtsi. Fixes ARM-software/tf-issues#218 Change-Id: Ic8a3bf801db979099ab7029162af041c4e8330c8
Showing
- bl31/bl31.mk 2 additions, 1 deletionbl31/bl31.mk
- bl32/tsp/aarch64/tsp_entrypoint.S 24 additions, 0 deletionsbl32/tsp/aarch64/tsp_entrypoint.S
- bl32/tsp/tsp_main.c 66 additions, 0 deletionsbl32/tsp/tsp_main.c
- fdts/fvp-base-gicv2-psci.dtb 0 additions, 0 deletionsfdts/fvp-base-gicv2-psci.dtb
- fdts/fvp-base-gicv2-psci.dts 2 additions, 0 deletionsfdts/fvp-base-gicv2-psci.dts
- fdts/fvp-base-gicv2legacy-psci.dtb 0 additions, 0 deletionsfdts/fvp-base-gicv2legacy-psci.dtb
- fdts/fvp-base-gicv2legacy-psci.dts 2 additions, 0 deletionsfdts/fvp-base-gicv2legacy-psci.dts
- fdts/fvp-base-gicv3-psci.dts 1 addition, 1 deletionfdts/fvp-base-gicv3-psci.dts
- fdts/fvp-foundation-gicv2-psci.dtb 0 additions, 0 deletionsfdts/fvp-foundation-gicv2-psci.dtb
- fdts/fvp-foundation-gicv2-psci.dts 2 additions, 0 deletionsfdts/fvp-foundation-gicv2-psci.dts
- fdts/fvp-foundation-gicv2legacy-psci.dtb 0 additions, 0 deletionsfdts/fvp-foundation-gicv2legacy-psci.dtb
- fdts/fvp-foundation-gicv2legacy-psci.dts 2 additions, 0 deletionsfdts/fvp-foundation-gicv2legacy-psci.dts
- fdts/fvp-foundation-gicv3-psci.dts 1 addition, 1 deletionfdts/fvp-foundation-gicv3-psci.dts
- fdts/fvp-foundation-motherboard-no_psci.dtsi 197 additions, 0 deletionsfdts/fvp-foundation-motherboard-no_psci.dtsi
- fdts/fvp-foundation-motherboard.dtsi 25 additions, 13 deletionsfdts/fvp-foundation-motherboard.dtsi
- fdts/rtsm_ve-motherboard-no_psci.dtsi 264 additions, 0 deletionsfdts/rtsm_ve-motherboard-no_psci.dtsi
- fdts/rtsm_ve-motherboard.dtsi 25 additions, 13 deletionsfdts/rtsm_ve-motherboard.dtsi
- include/bl31/services/psci.h 6 additions, 5 deletionsinclude/bl31/services/psci.h
- include/bl32/tsp/tsp.h 4 additions, 0 deletionsinclude/bl32/tsp/tsp.h
- plat/fvp/fvp_def.h 15 additions, 2 deletionsplat/fvp/fvp_def.h
Please register or sign in to comment