[PATCH 0/4] ARM: KVM: allow VMs with more than 4 CPUs

Christoffer Dall christoffer.dall at linaro.org
Tue Oct 22 10:10:23 EDT 2013


On Fri, Oct 18, 2013 at 06:19:02PM +0100, Marc Zyngier wrote:
> Currently, KVM/ARM is limited to 4 A7 or A15 per VM. This is due to
> the fact that KVM doesn't know about clusters, and puts all CPUs at
> affinity level 0.
> 
> This patch series removes this limitation by allowing additionnal CPUs
> to be part of a separate cluster (affinity level 1).
> 
> This also requires a patch to kvmtool so the generated DT matches the
> expectations of the guest (posted separately).
> 
> Tested on TC2 and arm64 model.
> 
> Patches based on Christoffer's next tree as of today.
> 
> Marc Zyngier (4):
>   arm/arm64: KVM: PSCI: use MPIDR to identify a target CPU
>   ARM: KVM: Fix MPIDR computing to support virtual clusters
>   ARM: KVM: fix L2CTLR to be per-cluster
>   ARM: KVM: drop limitation to 4 CPU VMs
> 
>  arch/arm/include/asm/kvm_emulate.h   |  5 +++++
>  arch/arm/kvm/coproc.c                | 14 ++++++++++----
>  arch/arm/kvm/psci.c                  | 17 +++++++++++++----
>  arch/arm/kvm/reset.c                 |  4 ----
>  arch/arm64/include/asm/kvm_emulate.h |  5 +++++
>  5 files changed, 33 insertions(+), 12 deletions(-)
> 
> -- 
> 1.8.2.3
> 
> 
ack on the series,

I'll apply these to my tree.

-- 
Christoffer



More information about the linux-arm-kernel mailing list