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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365039
@ -677,6 +677,8 @@ start_mmu:
|
||||
|
||||
/* Invalidate the TLB */
|
||||
tlbi vmalle1is
|
||||
dsb ish
|
||||
isb
|
||||
|
||||
ldr x2, mair
|
||||
msr mair_el1, x2
|
||||
|
Loading…
Reference in New Issue
Block a user