• Soby Mathew's avatar
    Return success if an interrupt is seen during PSCI CPU_SUSPEND · 22f08973
    Soby Mathew authored
    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
    22f08973
psci_afflvl_off.c 8.2 KB