[PATCH 44/78] ARM: aarch64: mmu: No need to disable icache
Sascha Hauer
s.hauer at pengutronix.de
Fri Mar 16 05:53:20 PDT 2018
When the MMU is disabled there is no need to disable the icache. Leave
it enabled.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/cpu/mmu_64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/cpu/mmu_64.c b/arch/arm/cpu/mmu_64.c
index 7932185885..c8c3c9d84f 100644
--- a/arch/arm/cpu/mmu_64.c
+++ b/arch/arm/cpu/mmu_64.c
@@ -330,7 +330,7 @@ void mmu_disable(void)
arm_mmu_not_initialized_error();
cr = get_cr();
- cr &= ~(CR_M | CR_C | CR_I);
+ cr &= ~(CR_M | CR_C);
tlb_invalidate();
--
2.16.1
More information about the barebox
mailing list