diff options
| author | Soby Mathew <soby.mathew@arm.com> | 2015-01-06 21:36:55 +0000 |
|---|---|---|
| committer | Soby Mathew <soby.mathew@arm.com> | 2015-01-23 18:36:15 +0000 |
| commit | 22f08973f35d3413148168a0a622d7dcd2c2630b (patch) | |
| tree | e924ed472c64caeea1c5ecd696230f2bb71e93fb /include/lib | |
| parent | 539dcedb7d83804a4237c4385b2cb15f0b7ee0b5 (diff) | |
Return success if an interrupt is seen during PSCI CPU_SUSPEND
This patch adds support to return SUCCESS if a pending interrupt is
detected during a CPU_SUSPEND call to a power down state. The check
is performed as late as possible without losing the ability to return
to the caller. This reduces the overhead incurred by a CPU in
undergoing a complete power cycle when a wakeup interrupt is already
pending.
Fixes ARM-Software/tf-issues#102
Change-Id: I1aff04a74b704a2f529734428030d1d10750fd4b
Diffstat (limited to 'include/lib')
| -rw-r--r-- | include/lib/aarch64/arch_helpers.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/lib/aarch64/arch_helpers.h b/include/lib/aarch64/arch_helpers.h index 7d24a537..65941e6c 100644 --- a/include/lib/aarch64/arch_helpers.h +++ b/include/lib/aarch64/arch_helpers.h @@ -270,6 +270,8 @@ DEFINE_SYSREG_RW_FUNCS(cntvoff_el2) DEFINE_SYSREG_RW_FUNCS(vpidr_el2) DEFINE_SYSREG_RW_FUNCS(vmpidr_el2) +DEFINE_SYSREG_READ_FUNC(isr_el1) + /* GICv3 System Registers */ DEFINE_RENAME_SYSREG_RW_FUNCS(icc_sre_el1, ICC_SRE_EL1) |
