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:
Andrew Turner 2020-09-01 14:50:43 +00:00
parent ccd0a51fda
commit a48cf24742
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365039

View File

@ -677,6 +677,8 @@ start_mmu:
/* Invalidate the TLB */
tlbi vmalle1is
dsb ish
isb
ldr x2, mair
msr mair_el1, x2