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
1 parent a1d8044 commit d5f130930624ceb95cde40de999a880aa2b00493
@Juan Castillo Juan Castillo authored on 12 Aug 2014
Dan Handley committed on 19 Aug 2014
Showing 27 changed files
View
bl31/bl31.mk
View
bl32/tsp/aarch64/tsp_entrypoint.S
View
bl32/tsp/tsp_main.c
View
fdts/fvp-base-gicv2-psci.dtb
Not supported
View
fdts/fvp-base-gicv2-psci.dts
View
fdts/fvp-base-gicv2legacy-psci.dtb
Not supported
View
fdts/fvp-base-gicv2legacy-psci.dts
View
fdts/fvp-base-gicv3-psci.dts
View
fdts/fvp-foundation-gicv2-psci.dtb
Not supported
View
fdts/fvp-foundation-gicv2-psci.dts
View
fdts/fvp-foundation-gicv2legacy-psci.dtb
Not supported
View
fdts/fvp-foundation-gicv2legacy-psci.dts
View
fdts/fvp-foundation-gicv3-psci.dts
View
fdts/fvp-foundation-motherboard-no_psci.dtsi 0 → 100644
View
fdts/fvp-foundation-motherboard.dtsi
View
fdts/rtsm_ve-motherboard-no_psci.dtsi 0 → 100644
View
fdts/rtsm_ve-motherboard.dtsi
View
include/bl31/services/psci.h
View
include/bl32/tsp/tsp.h
View
plat/fvp/fvp_def.h
View
plat/fvp/fvp_pm.c
View
services/spd/tspd/tspd_main.c
View
services/spd/tspd/tspd_pm.c
View
services/std_svc/psci/psci_common.c
View
services/std_svc/psci/psci_main.c
View
services/std_svc/psci/psci_private.h
View
services/std_svc/psci/psci_system_off.c 0 → 100644