Hi, On 25/07/16 16:07, Marc Zyngier wrote: > On 25/07/16 15:28, Andrew Jones wrote: >> On Mon, Jul 25, 2016 at 03:05:46PM +0100, Marc Zyngier wrote: >>> News flash: Mark Rutland just saw it crashing on his Seattle using my >>> kernel that doesn't crash on mine. So we're looking at external factors >>> now. DT, firmware, whatever. >> >> Interesting, especially with the information that the bug is also >> on v7 with uboot (where it's present with 4k pages), and on v8 >> with UEFI (where it's not present with 4k pages, only 64k) > > Here's what I get with Mark's DT: > > [ 2.199618] kvm [1]: 8-bit VMID > [ 2.202756] kvm [1]: Hyp mode initialized successfully > [ 2.207907] kvm [1]: GICV size 0x2000 not a multiple of page size 0x10000 > [ 2.214736] kvm [1]: virtual timer IRQ4 Stefan, can you check whether you see something similar in your host dmesg after booting? Do you use a DT that is based upon the upstream imx7d.dtsi? Do you have an interrupt defined in there? Can you post the DT, or at least the gic node? > Somehow, we fail to detect that we cannot run with 64k pages, > because we cannot safely pass the 8kB region to the guest. > KVM should fail to initialize, or at least report that there > is no VGIC. Drew, is that what you have on your system as well? So chasing back the error path I see that we don't fail KVM entirely, just set vgic_present to false. But that variable exists in arch/arm/kvm/arm.c only and we don't check it in the VGIC code. Chasing that trace now ... Cheers, Andre. _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm