projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arm64: avoid TLB conflict with CONFIG_RANDOMIZE_BASE
[cascardo/linux.git]
/
arch
/
arm64
/
kernel
/
head.S
diff --git
a/arch/arm64/kernel/head.S
b/arch/arm64/kernel/head.S
index
b77f583
..
3e7b050
100644
(file)
--- a/
arch/arm64/kernel/head.S
+++ b/
arch/arm64/kernel/head.S
@@
-757,6
+757,9
@@
ENTRY(__enable_mmu)
isb
bl __create_page_tables // recreate kernel mapping
+ tlbi vmalle1 // Remove any stale TLB entries
+ dsb nsh
+
msr sctlr_el1, x19 // re-enable the MMU
isb
ic iallu // flush instructions fetched