arm64_mmu: Add data synchronization barrier after page tables are written

The page tables must be committed to system memory before we can proceed
enabling the MMU. ISB() is not enough to do this.
This commit is contained in:
Ville Juven 2024-03-19 14:13:57 +02:00 committed by Alan Carvalho de Assis
parent 8f9c337c66
commit 2bed7c4646
1 changed files with 1 additions and 0 deletions

View File

@ -536,6 +536,7 @@ static void enable_mmu_el1(unsigned int flags)
/* Ensure these changes are seen before MMU is enabled */
ARM64_DSB();
ARM64_ISB();
/* Enable the MMU and data cache */