summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2013-07-24 12:05:01 +0100
committerOlof Johansson <olof@lixom.net>2013-08-28 11:28:47 -0700
commit9ee2ee0f0576fc070b02e5d31a2c4d09c39f439a (patch)
treeb5f5c9439d616d91f9ccb65f4527bc28cfe75b8d /drivers/cpuidle
parent10d9eb8a17cfb697967928bde06f3e7e530b03ac (diff)
downloadop-kernel-dev-9ee2ee0f0576fc070b02e5d31a2c4d09c39f439a.zip
op-kernel-dev-9ee2ee0f0576fc070b02e5d31a2c4d09c39f439a.tar.gz
ARM: vexpress: tc2: disable GIC CPU IF in tc2_pm_suspend
To prevent cores from exiting wfi when they are about to be shut down the GIC CPU IF must be disabled so that the GIC CPU IF IRQ output line is not asserted to the cores. wfi completion must be prevented since, in absence of coordinating HW logic, if the power controller receives a standbywfi signal but in the meantime the processor restarts executing owing to a pending IRQ, the core might be reset when running in a non-quiescent state (eg with pending load/store transactions) Raw GIC distributor IRQ signals are routed to the power controller, that is capable of taking core out of reset on pending IRQs even if their GIC CPU IF is disabled, thus keeping the normal wfi behaviour. GIC CPU IF is restored upon CPU wake-up by the respective MCPM API consumers (ie CPU idle driver and suspend to RAM thread). Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud