[PATCH 6/6] ARM: kvm: TMP: Commit the hyp page tables to main memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a temporary hack which I have to use to avoid a weired crash while
starting the guest OS on Keystsone. They are random crashesh while the
guest os userspace starts. Additional data point is, it seen only with first
guest OS lanch. Subsequest guest OS starts normal.
    
I still don't know why this is needed but it helps to get around the issue
and hence including the patch in the series for the discussion

Cc: Christoffer Dall <christoffer.dall@xxxxxxxxxx>
Cc: Marc Zyngier <marc.zyngier@xxxxxxx>
Cc: Russell King <linux@xxxxxxxxxxxxxxxx>
Cc: Catalin Marinas <catalin.marinas@xxxxxxx>
Cc: Will Deacon <will.deacon@xxxxxxx>

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@xxxxxx>
---
 arch/arm/kvm/mmu.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/kvm/mmu.c b/arch/arm/kvm/mmu.c
index 657f15e..5f6f460 100644
--- a/arch/arm/kvm/mmu.c
+++ b/arch/arm/kvm/mmu.c
@@ -826,6 +826,7 @@ int kvm_mmu_init(void)
 		goto out;
 	}
 
+	flush_cache_all();
 	return 0;
 out:
 	free_hyp_pgds();
-- 
1.7.9.5

_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm




[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux