Re: [GIT PULL] KVM/ARM for 3.15
On Wed, Mar 5, 2014 at 10:55 AM, Ming Lei ming@canonical.com wrote: On Wed, Mar 5, 2014 at 1:23 PM, Ming Lei ming@canonical.com wrote: On Tue, Mar 4, 2014 at 10:27 AM, Marc Zyngier marc.zyng...@arm.com Marc Zyngier (12): arm64: KVM: force cache clean on page fault when caches are off arm64: KVM: allows discrimination of AArch32 sysreg access arm64: KVM: trap VM system registers until MMU and caches are ON ARM: KVM: introduce kvm_p*d_addr_end arm64: KVM: flush VM pages before letting the guest enable caches I tested the first 5 patches on APM arm64 board, and only after applying the 5 patches, qemu can boot kernel successfully, otherwise kernel can't be booted from qemu. For the first 5 patches, please feel free to add: These patches are required for using KVM in presence of APM L3 cache. Usually, APM U-boot enables L3 cache by default hence KVM does not work for you without these patches. To have KVM working without these patches you will need to explicitly disable L3 cache from APM U-boot before starting Linux kernel. Regards, Anup Tested-by: Ming Lei ming@canonical.com Thanks, -- Ming Lei ___ kvmarm mailing list kvm...@lists.cs.columbia.edu https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL] KVM/ARM for 3.15
On Wed, Mar 5, 2014 at 5:16 PM, Anup Patel a...@brainfault.org wrote: On Wed, Mar 5, 2014 at 10:55 AM, Ming Lei ming@canonical.com wrote: On Wed, Mar 5, 2014 at 1:23 PM, Ming Lei ming@canonical.com wrote: On Tue, Mar 4, 2014 at 10:27 AM, Marc Zyngier marc.zyng...@arm.com Marc Zyngier (12): arm64: KVM: force cache clean on page fault when caches are off arm64: KVM: allows discrimination of AArch32 sysreg access arm64: KVM: trap VM system registers until MMU and caches are ON ARM: KVM: introduce kvm_p*d_addr_end arm64: KVM: flush VM pages before letting the guest enable caches I tested the first 5 patches on APM arm64 board, and only after applying the 5 patches, qemu can boot kernel successfully, otherwise kernel can't be booted from qemu. For the first 5 patches, please feel free to add: These patches are required for using KVM in presence of APM L3 cache. Usually, APM U-boot enables L3 cache by default hence KVM does not work for you without these patches. To have KVM working without these patches you will need to explicitly disable L3 cache from APM U-boot before starting Linux kernel. Anup, thanks for your input. We observed that when CPUs' loading is high, qemu can launch kernel successfully on APM arm64 sometimes, so that might be related with L3 cache. But we did have an old kernel which can support qemu well with same the uboot, maybe that kernel disabled L3. From our view, these patches are required absolutely since we need to run bootloader(UEFI, GRUB) from qemu. Thanks, -- Ming Lei -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL] KVM/ARM for 3.15
On Tue, Mar 4, 2014 at 10:27 AM, Marc Zyngier marc.zyng...@arm.com wrote: Paolo, Gleb, Please pull the following tag to get what we currently have queued for 3.15. This series fixes a number of issue we have with when the guest runs with caches off. Thanks, M. The following changes since commit 1b385cbdd74aa803e966e01e5fe49490d6044e30: kvm, vmx: Really fix lazy FPU on nested guest (2014-02-27 22:54:11 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git tags/kvm-for-3.15-1 for you to fetch changes up to 56041bf920d2937b7cadcb30cb206f0372eee814: ARM: KVM: fix warning in mmu.c (2014-03-03 01:15:25 +) This series fixes coherency issues on arm and arm64 when the guest runs with caches off, and fixes a couple of other bugs in the process. Marc Zyngier (12): arm64: KVM: force cache clean on page fault when caches are off arm64: KVM: allows discrimination of AArch32 sysreg access arm64: KVM: trap VM system registers until MMU and caches are ON ARM: KVM: introduce kvm_p*d_addr_end arm64: KVM: flush VM pages before letting the guest enable caches I tested the first 5 patches on APM arm64 board, and only after applying the 5 patches, qemu can boot kernel successfully, otherwise kernel can't be booted from qemu. Thanks Marc. Thanks, -- Ming Lei -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL] KVM/ARM for 3.15
On Wed, Mar 5, 2014 at 1:23 PM, Ming Lei ming@canonical.com wrote: On Tue, Mar 4, 2014 at 10:27 AM, Marc Zyngier marc.zyng...@arm.com Marc Zyngier (12): arm64: KVM: force cache clean on page fault when caches are off arm64: KVM: allows discrimination of AArch32 sysreg access arm64: KVM: trap VM system registers until MMU and caches are ON ARM: KVM: introduce kvm_p*d_addr_end arm64: KVM: flush VM pages before letting the guest enable caches I tested the first 5 patches on APM arm64 board, and only after applying the 5 patches, qemu can boot kernel successfully, otherwise kernel can't be booted from qemu. For the first 5 patches, please feel free to add: Tested-by: Ming Lei ming@canonical.com Thanks, -- Ming Lei -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL] KVM/ARM for 3.15
Paolo, Gleb, Please pull the following tag to get what we currently have queued for 3.15. This series fixes a number of issue we have with when the guest runs with caches off. Thanks, M. The following changes since commit 1b385cbdd74aa803e966e01e5fe49490d6044e30: kvm, vmx: Really fix lazy FPU on nested guest (2014-02-27 22:54:11 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git tags/kvm-for-3.15-1 for you to fetch changes up to 56041bf920d2937b7cadcb30cb206f0372eee814: ARM: KVM: fix warning in mmu.c (2014-03-03 01:15:25 +) This series fixes coherency issues on arm and arm64 when the guest runs with caches off, and fixes a couple of other bugs in the process. Marc Zyngier (12): arm64: KVM: force cache clean on page fault when caches are off arm64: KVM: allows discrimination of AArch32 sysreg access arm64: KVM: trap VM system registers until MMU and caches are ON ARM: KVM: introduce kvm_p*d_addr_end arm64: KVM: flush VM pages before letting the guest enable caches ARM: KVM: force cache clean on page fault when caches are off ARM: KVM: fix handling of trapped 64bit coprocessor accesses ARM: KVM: fix ordering of 64bit coprocessor accesses ARM: KVM: introduce per-vcpu HYP Configuration Register ARM: KVM: add world-switch for AMAIR{0,1} ARM: KVM: trap VM system registers until MMU and caches are ON ARM: KVM: fix warning in mmu.c arch/arm/include/asm/kvm_arm.h | 4 +- arch/arm/include/asm/kvm_asm.h | 4 +- arch/arm/include/asm/kvm_host.h | 9 ++-- arch/arm/include/asm/kvm_mmu.h | 30 +-- arch/arm/kernel/asm-offsets.c| 1 + arch/arm/kvm/coproc.c| 84 +++--- arch/arm/kvm/coproc.h| 14 +++-- arch/arm/kvm/coproc_a15.c| 2 +- arch/arm/kvm/coproc_a7.c | 2 +- arch/arm/kvm/guest.c | 1 + arch/arm/kvm/interrupts_head.S | 21 +--- arch/arm/kvm/mmu.c | 110 --- arch/arm64/include/asm/kvm_arm.h | 3 +- arch/arm64/include/asm/kvm_asm.h | 3 +- arch/arm64/include/asm/kvm_mmu.h | 22 ++-- arch/arm64/kvm/sys_regs.c| 99 ++- arch/arm64/kvm/sys_regs.h| 2 + 17 files changed, 343 insertions(+), 68 deletions(-) -- 1.9.0 -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html