css: Ensure PSCI system off/reset is not interrupted
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: dp-arm <dimitris.papastamos@arm.com>
1 parent 3d21c94 commit 0498343ac0d0b03c0389ce358bcb2f17096949dd
@dp-arm dp-arm authored on 11 Apr 2017
Showing 1 changed file
View
plat/arm/css/drivers/scp/css_pm_scpi.c