linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] ARM: KVM: allow VMs with more than 4 CPUs
@ 2013-10-18 17:19 Marc Zyngier
  2013-10-18 17:19 ` [PATCH 1/4] arm/arm64: KVM: PSCI: use MPIDR to identify a target CPU Marc Zyngier
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Marc Zyngier @ 2013-10-18 17:19 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-10-22 14:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-18 17:19 [PATCH 0/4] ARM: KVM: allow VMs with more than 4 CPUs Marc Zyngier
2013-10-18 17:19 ` [PATCH 1/4] arm/arm64: KVM: PSCI: use MPIDR to identify a target CPU Marc Zyngier
2013-10-18 17:19 ` [PATCH 2/4] ARM: KVM: Fix MPIDR computing to support virtual clusters Marc Zyngier
2013-10-18 17:19 ` [PATCH 3/4] ARM: KVM: fix L2CTLR to be per-cluster Marc Zyngier
2013-10-18 17:19 ` [PATCH 4/4] ARM: KVM: drop limitation to 4 CPU VMs Marc Zyngier
2013-10-22 14:10 ` [PATCH 0/4] ARM: KVM: allow VMs with more than 4 CPUs Christoffer Dall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).