aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arm64/vmm/vmm_hyp_exception.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arm64/vmm/vmm_hyp_exception.S b/sys/arm64/vmm/vmm_hyp_exception.S
index 77cb8cfd6cd7..0e8b31ae8b12 100644
--- a/sys/arm64/vmm/vmm_hyp_exception.S
+++ b/sys/arm64/vmm/vmm_hyp_exception.S
@@ -215,7 +215,10 @@ LENTRY(handle_hyp_init)
/* Load the base address for the translation tables */
msr ttbr0_el2, x0
/* Invalidate the TLB */
+ dsb ish
tlbi alle2
+ dsb ishst
+ isb
/* Use the same memory attributes as EL1 */
mrs x9, mair_el1
msr mair_el2, x9