ARM: TC2: disable GIC CPU IF on power down
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 5 Feb 2013 11:09:16 +0000 (11:09 +0000)
committerJon Medhurst <tixy@linaro.org>
Mon, 1 Jul 2013 10:05:12 +0000 (11:05 +0100)
commit0b94e1be54079c872d8081c4de6ca667dbc4b488
treed3a85fc516a9600261705df75bb690e98425a1df
parent15438a8f30a2cdc73fbc03b4fa4f28925ad31564
ARM: TC2: disable GIC CPU IF on power down

On TC2 testchip the GIC CPU IF must be disabled before powering down a
core since a pending IRQ might cause wfi completion and the processor
would exit wfi state while power controller is taking action to reset or
power up the CPU upon IRQ reception.

This patch adds code that disables the GIC CPU IF in TC2 specific
power API methods.

Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
arch/arm/mach-vexpress/tc2_pm.c