arm-trusted-firmware/plat/fvp
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
..
aarch64 Remove coherent memory from the BL memory maps 2015-01-22 10:57:44 +00:00
drivers/pwrc Move bakery algorithm implementation out of coherent memory 2015-01-22 10:57:44 +00:00
include Move bakery algorithm implementation out of coherent memory 2015-01-22 10:57:44 +00:00
tsp Remove coherent memory from the BL memory maps 2015-01-22 10:57:44 +00:00
bl1_fvp_setup.c Remove coherent memory from the BL memory maps 2015-01-22 10:57:44 +00:00
bl2_fvp_setup.c Remove coherent memory from the BL memory maps 2015-01-22 10:57:44 +00:00
bl31_fvp_setup.c Remove coherent memory from the BL memory maps 2015-01-22 10:57:44 +00:00
fvp_def.h Remove IRQ_SEC_SGI_8 constant 2014-12-10 12:58:25 +00:00
fvp_io_storage.c Remove redundant io_init() function 2014-08-14 11:16:15 +01:00
fvp_pm.c Validate power_state and entrypoint when executing PSCI calls 2015-01-23 18:36:15 +00:00
fvp_private.h Remove coherent memory from the BL memory maps 2015-01-22 10:57:44 +00:00
fvp_security.c Simplify interface to TZC-400 driver 2014-08-14 11:17:52 +01:00
fvp_topology.c Remove all checkpatch errors from codebase 2014-06-24 12:50:00 +01:00
platform.mk FVP: keep shared data in Trusted SRAM 2014-10-22 15:57:39 +01:00