Ensure the tlbi has completed before setting SCTLR
When enabling the MMU on arm64 we need to ensure the tlb invalidation has completed before setting the enable bit in the SCTLR register. Reported by: alc Sponsored by: Innovate UK
This commit is contained in:
parent
ccd0a51fda
commit
a48cf24742
@ -677,6 +677,8 @@ start_mmu:
|
||||
|
||||
/* Invalidate the TLB */
|
||||
tlbi vmalle1is
|
||||
dsb ish
|
||||
isb
|
||||
|
||||
ldr x2, mair
|
||||
msr mair_el1, x2
|
||||
|
Loading…
x
Reference in New Issue
Block a user