Skip to content

ARM: KVM: allow VMs with more than 4 CPUs

Christoffer Dall linux-arm-kernel 1 version New

Get series with b4
b4 am 20131022141023.GB61492@lvm

Versions newest first

  1. v1 Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] ARM: KVM: allow VMs with more than 4 CPUs
Quoted 20 lines · Marc Zyngier

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

Quoted 11 lines
 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(-)
Signature · 1 line
1.8.2.3

ack on the series,

I'll apply these to my tree.

Signature · 1 line
Christoffer