arm-trusted-firmware/lib/psci
Achin Gupta 61eae524b6 Fix use of stale power states in PSCI standby finisher
A PSCI CPU_SUSPEND request to place a CPU in retention states at power levels
higher than the CPU power level is subject to the same state coordination as a
power down state. A CPU could implement multiple retention states at a
particular power level. When exiting WFI, the non-CPU power levels may be in a
different retention state to what was initially requested, therefore each CPU
should refresh its view of the states of all power levels.

Previously, a CPU re-used the state of the power levels when it entered the
retention state. This patch fixes this issue by ensuring that a CPU upon exit
from retention reads the state of each power level afresh.

Change-Id: I93b5f5065c63400c6fd2598dbaafac385748f989
2016-07-25 15:53:00 +01:00
..
aarch64 Introduce PSCI Library Interface 2016-07-19 10:19:01 +01:00
psci_common.c Fix use of stale power states in PSCI standby finisher 2016-07-25 15:53:00 +01:00
psci_lib.mk Introduce PSCI Library Interface 2016-07-19 10:19:01 +01:00
psci_main.c Introduce PSCI Library Interface 2016-07-19 10:19:01 +01:00
psci_off.c Introduce el3_runtime and PSCI libraries 2016-07-18 17:52:15 +01:00
psci_on.c Introduce PSCI Library Interface 2016-07-19 10:19:01 +01:00
psci_private.h Fix use of stale power states in PSCI standby finisher 2016-07-25 15:53:00 +01:00
psci_setup.c Introduce PSCI Library Interface 2016-07-19 10:19:01 +01:00
psci_stat.c Introduce el3_runtime and PSCI libraries 2016-07-18 17:52:15 +01:00
psci_suspend.c Fix use of stale power states in PSCI standby finisher 2016-07-25 15:53:00 +01:00
psci_system_off.c Introduce el3_runtime and PSCI libraries 2016-07-18 17:52:15 +01:00