• dp-arm's avatar
    css: Ensure PSCI system off/reset is not interrupted · 0498343a
    dp-arm authored
    
    
    If there is a pending interrupt, it is possible for the AP to come out
    of the final WFI before SCP has a chance to act on it.  Prevent this
    by disabling the GIC CPU interface before issuing a WFI.
    
    Previously, SCP would not wait on WFI before taking an action but
    would shut down the core or system regardless.
    
    Change-Id: Ib0bcf69a515d540ed4f73c11e40ec7c863e39c92
    Signed-off-by: default avatardp-arm <dimitris.papastamos@arm.com>
    0498343a
css_pm_scpi.c 5.24 KB