mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
Pull ARM64 fix from Catalin Marinas: "ARM64 fix to avoid potential TLB conflict when CONFIG_RANDOMIZE_BASE is enabled" * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: arm64: avoid TLB conflict with CONFIG_RANDOMIZE_BASE
This commit is contained in:
@@ -757,6 +757,9 @@ ENTRY(__enable_mmu)
|
|||||||
isb
|
isb
|
||||||
bl __create_page_tables // recreate kernel mapping
|
bl __create_page_tables // recreate kernel mapping
|
||||||
|
|
||||||
|
tlbi vmalle1 // Remove any stale TLB entries
|
||||||
|
dsb nsh
|
||||||
|
|
||||||
msr sctlr_el1, x19 // re-enable the MMU
|
msr sctlr_el1, x19 // re-enable the MMU
|
||||||
isb
|
isb
|
||||||
ic iallu // flush instructions fetched
|
ic iallu // flush instructions fetched
|
||||||
|
|||||||
Reference in New Issue
Block a user