The bootstrap page tables are created with MMU off. We only need to ensure that there are no entries for the target region in the cache when reenabling the MMU. Clean those entries could overwrite just written data in memory.
Signed-off-by: Jan Kiszka <[email protected]> --- hypervisor/arch/arm64/entry.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypervisor/arch/arm64/entry.S b/hypervisor/arch/arm64/entry.S index 9dd7ea6..107e054 100644 --- a/hypervisor/arch/arm64/entry.S +++ b/hypervisor/arch/arm64/entry.S @@ -314,7 +314,7 @@ init_bootstrap_pt: flush: adr x0, bootstrap_pt_l0 mov x1, PAGE_SIZE * 3 - mov x2, DCACHE_CLEAN_AND_INVALIDATE_ASM + mov x2, DCACHE_INVALIDATE_ASM b arm_dcaches_flush // will ret to caller -- 2.1.4 -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
