ARM: vexpress/tc2: implement PM suspend method
authorNicolas Pitre <nico@linaro.org>
Mon, 10 Dec 2012 05:22:06 +0000 (00:22 -0500)
committerJon Medhurst <tixy@linaro.org>
Mon, 1 Jul 2013 10:05:13 +0000 (11:05 +0100)
commit3ce60848e5c3d8fe8b7479cfc5736a5e6370f253
tree1395197dff22f474bee64af57df004a90b2511da
parent0b94e1be54079c872d8081c4de6ca667dbc4b488
ARM: vexpress/tc2: implement PM suspend method

This is simplistic for the moment as the expected residency is used to
prevent the shutting down of L2 and the cluster if the residency for
the last man is lower than 5 ms.  To make this right, the residency
end time for each CPU would need to be recorded and taken into account.

On a suspend, the firmware mailbox address has to be set prior entering
low power mode.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
arch/arm/mach-vexpress/Kconfig
arch/arm/mach-vexpress/Makefile
arch/arm/mach-vexpress/cpuidle-tc2.c
arch/arm/mach-vexpress/hotplug-asm.S [deleted file]
arch/arm/mach-vexpress/tc2-sleep.S [deleted file]
arch/arm/mach-vexpress/tc2_pm.c