arm-trusted-firmware/services/spd/tspd
Soby Mathew 31244d74b3 Save 'power_state' early in PSCI CPU_SUSPEND call
This patch adds support to save the "power state" parameter before the
affinity level specific handlers are called in a CPU_SUSPEND call.
This avoids the need to pass the power_state as a parameter to the
handlers and Secure Payload Dispatcher (SPD) suspend spd_pm_ops.
The power_state arguments in the spd_pm_ops operations are now reserved
and must not be used. The SPD can query the relevant power_state fields
by using the psci_get_suspend_afflvl() & psci_get_suspend_stateid() APIs.

NOTE: THIS PATCH WILL BREAK THE SPD_PM_OPS INTERFACE. HENCE THE SECURE
PAYLOAD DISPATCHERS WILL NEED TO BE REWORKED TO USE THE NEW INTERFACE.

Change-Id: I1293d7dc8cf29cfa6a086a009eee41bcbf2f238e
2015-01-23 15:14:36 +00:00
..
tspd.mk Clarify platform porting interface to TSP 2014-08-19 10:55:54 +01:00
tspd_common.c Rework the TSPD setup code 2014-08-01 09:46:52 +01:00
tspd_helpers.S Reduce deep nesting of header files 2014-05-06 13:57:48 +01:00
tspd_main.c Add support for PSCI SYSTEM_OFF and SYSTEM_RESET APIs 2014-08-19 11:42:45 +01:00
tspd_pm.c Save 'power_state' early in PSCI CPU_SUSPEND call 2015-01-23 15:14:36 +00:00
tspd_private.h Rework the TSPD setup code 2014-08-01 09:46:52 +01:00