arm-trusted-firmware/include
Soby Mathew 539dcedb7d Validate power_state and entrypoint when executing PSCI calls
This patch allows the platform to validate the power_state and
entrypoint information from the normal world early on in PSCI
calls so that we can return the error safely. New optional
pm_ops hooks `validate_power_state` and `validate_ns_entrypoint`
are introduced to do this.

As a result of these changes, all the other pm_ops handlers except
the PSCI_ON handler are expected to be successful. Also, the PSCI
implementation will now assert if a PSCI API is invoked without the
corresponding pm_ops handler being registered by the platform.

NOTE : PLATFORM PORTS WILL BREAK ON MERGE OF THIS COMMIT. The
pm hooks have 2 additional optional callbacks and the return type
of the other hooks have changed.

Fixes ARM-Software/tf-issues#229

Change-Id: I036bc0cff2349187c7b8b687b9ee0620aa7e24dc
2015-01-23 18:36:15 +00:00
..
bl31 Validate power_state and entrypoint when executing PSCI calls 2015-01-23 18:36:15 +00:00
bl32/tsp Add support for PSCI SYSTEM_OFF and SYSTEM_RESET APIs 2014-08-19 11:42:45 +01:00
common Rework use of labels in assembly macros. 2014-08-19 14:42:35 +01:00
drivers Merge pull request #219 from jcastillo-arm/jc/tf-issues/253 2014-11-04 16:01:40 +00:00
lib Move bakery algorithm implementation out of coherent memory 2015-01-22 10:57:44 +00:00
plat/common Miscellaneous documentation fixes 2014-08-27 19:13:56 +01:00
stdlib Add Firmware Image Package creation tool 2014-02-17 18:51:43 +00:00