[PATCH 2/2] arm: invalidate TLBs when enabling mmu
Saeed Bishara
saeed at marvell.com
Tue Mar 9 09:07:03 EST 2010
Signed-off-by: Saeed Bishara <saeed at marvell.com>
---
arch/arm/boot/compressed/head.S | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S
index 4fddc50..a1ab79f 100644
--- a/arch/arm/boot/compressed/head.S
+++ b/arch/arm/boot/compressed/head.S
@@ -489,6 +489,7 @@ __armv7_mmu_cache_on:
mcr p15, 0, r0, c1, c0, 0 @ load control register
mrc p15, 0, r0, c1, c0, 0 @ and read it back
mov r0, #0
+ mcr p15, 0, r0, c8, c7, 0 @ invalidate I,D TLBs
mcr p15, 0, r0, c7, c5, 4 @ ISB
mov pc, r12
--
1.6.0.4
More information about the linux-arm-kernel
mailing list