[PATCH 0/3] KVM: ARM: Cortex-A7 support and fixes

Gavin Guo gavin.guo at canonical.com
Tue Oct 8 10:16:58 EDT 2013


On Thu, Sep 26, 2013 at 11:49 PM, Jonathan Austin
<jonathan.austin at arm.com> wrote:
> This series adds support for using KVM on ARM Cortex-A7 CPUs. As the Cortex-A7
> is architecturally identical to the A15 there is not a huge amount of code
> required, however there are a number of fixups necessary to core KVM code that
> testing on A7 has revealed.
>
> I'm open to comments about other ways to share the functionality between A7/A15
> while still maintaining the architectural/implementation defined split that
> existed between coproc.c and coproc_a15.c - The approach in this series avoids
> adding '3 levels' of abstraction and feels like a good compromise that doesn't
> require duplication of a lot of the A15 code for A7 but still permits
> implementation differences to be fully expressed in coproc_X files.
>
> This patch series has been developed/tested on TC2 with the A15 cluster held in
> reset.
>
> Jonathan Austin (3):
>   KVM: ARM: fix the size of TTBCR_{T0SZ,T1SZ} masks
>   KVM: ARM: Fix calculation of virtual CPU ID
>   KVM: ARM: Add support for Cortex-A7
>
>  arch/arm/include/asm/kvm_arm.h  |    4 +-
>  arch/arm/include/asm/kvm_asm.h  |    2 +-
>  arch/arm/include/uapi/asm/kvm.h |    3 +-
>  arch/arm/kvm/Makefile           |    2 +-
>  arch/arm/kvm/coproc.c           |  114 ++++++++++++++++++++++++++++++++++++++
>  arch/arm/kvm/coproc_a15.c       |  117 +--------------------------------------
>  arch/arm/kvm/coproc_a7.c        |   54 ++++++++++++++++++
>  arch/arm/kvm/guest.c            |    4 +-
>  arch/arm/kvm/reset.c            |   15 ++---
>  9 files changed, 186 insertions(+), 129 deletions(-)
>  create mode 100644 arch/arm/kvm/coproc_a7.c
>
> --
> 1.7.9.5
>
>
>
> _______________________________________________
> kvmarm mailing list
> kvmarm at lists.cs.columbia.edu
> https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm

Hi Jonathan,

I'd like to help test the kvm on Cortex-A7. I've applied your 3 kernel
patches, and download the Virtual Open Systems's kvmtools to test. But
the guest os can't be brought up. Could you provide the steps about
where to download kvmtools and the command to bring up the guest?

Thanks,
Gavin



More information about the linux-arm-kernel mailing list