Add power management support in the SPD
authorAchin Gupta <achin.gupta@arm.com>
Sun, 9 Feb 2014 18:24:19 +0000 (18:24 +0000)
committerDan Handley <dan.handley@arm.com>
Thu, 20 Feb 2014 19:06:34 +0000 (19:06 +0000)
commit607084ee4c2a7c20832beb8cd1d5cebf02b2cb26
treebd4a262134027060c027e81f7aaebf64965d370d
parent375f538a797a89a5f49aab1be70e86df4511c05a
Add power management support in the SPD

This patch implements a set of handlers in the SPD which are called by
the PSCI runtime service upon receiving a power management
operation. These handlers in turn pass control to the Secure Payload
image if required before returning control to PSCI. This ensures that
the Secure Payload has complete visibility of all power transitions in
the system and can prepare accordingly.

Change-Id: I2d1dba5629b7cf2d53999d39fe807dfcf3f62fe2
15 files changed:
bl31/context_mgmt.c
bl32/tsp/tsp_main.c
include/context.h
include/context_mgmt.h
include/psci.h
services/psci/psci_afflvl_off.c
services/psci/psci_afflvl_on.c
services/psci/psci_afflvl_suspend.c
services/psci/psci_common.c
services/psci/psci_entry.S
services/psci/psci_main.c
services/psci/psci_private.h
services/spd/tspd/tspd.mk
services/spd/tspd/tspd_main.c
services/spd/tspd/tspd_pm.c [new file with mode: 0644]