diff options
author | Achin Gupta <achin.gupta@arm.com> | 2014-05-09 19:32:25 +0100 |
---|---|---|
committer | Achin Gupta <achin.gupta@arm.com> | 2014-05-12 18:13:54 +0100 |
commit | 317ba09021b90ef50c13a1c44b4d2091736b6a86 (patch) | |
tree | 58622c4d74efcf77b11eb92178285a135a233620 /include | |
parent | 60bc4bbd0bf705f30327e3c37973bcf1e1851110 (diff) |
Fix broken standby state implementation in PSCI
This patch fixes the broken support for entry into standby states
introduced under commit-id 'd118f9f864' (tf-issues#94). Upon exit from
the platform defined standby state instead of returning to the caller
of the SMC, execution would get stuck in the wfi instruction meant for
entering a power down state. This patch ensures that exit from a
standby state and entry into a power down state do not interfere with
each other.
Fixes ARM-software/tf-issues#154
Change-Id: I56e5df353368e44d6eefc94ffedefe21929f5cfe
Diffstat (limited to 'include')
-rw-r--r-- | include/bl31/services/psci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/bl31/services/psci.h b/include/bl31/services/psci.h index 570fe5b8..b6e272c3 100644 --- a/include/bl31/services/psci.h +++ b/include/bl31/services/psci.h @@ -190,6 +190,7 @@ extern void psci_system_reset(void); extern int psci_cpu_on(unsigned long, unsigned long, unsigned long); +extern void __dead2 psci_power_down_wfi(void); extern void psci_aff_on_finish_entry(void); extern void psci_aff_suspend_finish_entry(void); extern void psci_register_spd_pm_hook(const spd_pm_ops_t *); |