aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-vexpress/hotplug-asm.S
diff options
context:
space:
mode:
authorNicolas Pitre <nico@linaro.org>2012-12-10 00:22:06 -0500
committerJon Medhurst <tixy@linaro.org>2013-05-03 13:47:01 +0100
commit17f705be668f23cd5efcab837515f4c97ba0b3fa (patch)
treebd19a8e5e1aeb77b708dbdba5e93e7b93e3abe6b /arch/arm/mach-vexpress/hotplug-asm.S
parent970395d745e01a4e9429228a2b2ed5f240628539 (diff)
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>
Diffstat (limited to 'arch/arm/mach-vexpress/hotplug-asm.S')
-rw-r--r--arch/arm/mach-vexpress/hotplug-asm.S28
1 files changed, 0 insertions, 28 deletions
diff --git a/arch/arm/mach-vexpress/hotplug-asm.S b/arch/arm/mach-vexpress/hotplug-asm.S
deleted file mode 100644
index f63472edcc4..00000000000
--- a/arch/arm/mach-vexpress/hotplug-asm.S
+++ /dev/null
@@ -1,28 +0,0 @@
-#include <linux/linkage.h>
-#include <asm/asm-offsets.h>
-
- .text
-ENTRY(disable_clean_inv_dcache)
- ARM( stmfd sp!, {r4-r5, r7, r9-r11, lr} )
- THUMB( stmfd sp!, {r4-r7, r9-r11, lr} )
-
- mrc p15, 0, r3, c1, c0, 0
- bic r3, #4 @ clear C bit
- mcr p15, 0, r3, c1, c0, 0
- dsb
- isb
- mov r12, r0
- cmp r12, #0
- bleq v7_flush_dcache_louis
- cmp r12, #0
- blne v7_flush_dcache_all
- clrex
- mrc p15, 0, r3, c1, c0, 1
- bic r3, #0x40 @ clear SMP bit
- mcr p15, 0, r3, c1, c0, 1
- isb
- dsb
- ARM( ldmfd sp!, {r4-r5, r7, r9-r11, lr} )
- THUMB( ldmfd sp!, {r4-r7, r9-r11, lr} )
- mov pc, lr
-ENDPROC(disable_clean_inv_dcache)