Skip to content

KVM: ARM: Cortex-A7 support and fixes

Jonathan Austin linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3KVM: ARM: fix the size of TTBCR_{T0SZ,T1SZ} masksarch/arm/include/asm/kvm_arm.h+2 -21 reply
2/3KVM: ARM: Fix calculation of virtual CPU IDarch/arm/kvm/coproc_a15.c+4 -71 reply
3/3KVM: ARM: Add support for Cortex-A7arch/arm/include/asm/kvm_asm.h arch/arm/include/uapi/asm/kvm.h arch/arm/kvm/Makefile +5 more+184 -1242 replies
3/3KVM: ARM: Add support for Cortex-A7+0 -05 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchMarc Zyngier
1/3A-b
2/3A-b
3/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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
Signature · 1 line
1.7.9.5