All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-arm] [RFC 0/8] KVM/ARM: Relax the max 123 vcpus limitation along with KVM GICv3
@ 2018-03-27 14:15 ` Eric Auger
  0 siblings, 0 replies; 53+ messages in thread
From: Eric Auger @ 2018-03-27 14:15 UTC (permalink / raw)
  To: eric.auger.pro, eric.auger, qemu-devel, qemu-arm, peter.maydell
  Cc: marc.zyngier, drjones, cdall, zhaoshenglong

Currently the max number of VCPUs usable along with the KVM GICv3
device is limited to 123. The rationale is a single redistributor
region was supported and this latter was set to [0x80A0000, 0x9000000]
within the guest physical address space, surrounded with DIST and UART
MMIO regions.

[1] now allows to register several redistributor regions.
So this series overcomes the max 123 vcpu limitation by registering
a new redistributor region located just after the VIRT_MEM RAM region.
The total redistributor region capacity is set to 512 vcpus.

The max supported VCPUs in non accelerated mode is not modified.

Best Regards

Eric

Host Kernel dependencies:
[1] [RFC v2 00/12] KVM: arm/arm64: Allow multiple GICv3 redistributor regions
https://github.com/eauger/linux/tree/4.16-rc7-rdist-regions-rfc-v2

This QEMU series can be found at:
https://github.com/eauger/qemu/tree/v2.12.0-rc0-rdist_regions-rfc

Eric Auger (8):
  linux-headers: Partial update for KVM/ARM multiple redistributor
    region registration
  hw/intc/arm_gicv3: Use an array of redistributor regions
  kvm: Expose kvm_max_vcpus()
  hw/intc/arm_gicv3: Implement register_redist_region API
  hw/intc/arm_gicv3_kvm: Allow multiple redistributor regions
  hw/arm/virt: Allow GICv3 DT node with multiple redistributor regions
  hw/arm/virt-acpi-build: Handle multiple GICR structures
  hw/arm/virt: Allow up to 512 vcpus along with KVM VGICv3

 accel/kvm/kvm-all.c                |  2 +-
 accel/stubs/kvm-stub.c             |  5 ++++
 hw/arm/virt-acpi-build.c           | 21 ++++++++++----
 hw/arm/virt.c                      | 55 +++++++++++++++++++++++++++++++-----
 hw/intc/arm_gicv3.c                | 21 ++++++++++++++
 hw/intc/arm_gicv3_common.c         |  9 ++++--
 hw/intc/arm_gicv3_kvm.c            | 57 ++++++++++++++++++++++++++++++++++++--
 include/hw/arm/virt.h              |  3 ++
 include/hw/intc/arm_gicv3_common.h | 14 +++++++++-
 include/sysemu/kvm.h               |  7 +++++
 linux-headers/asm-arm/kvm.h        |  7 +++--
 linux-headers/asm-arm64/kvm.h      |  7 +++--
 12 files changed, 182 insertions(+), 26 deletions(-)

-- 
2.5.5


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

end of thread, other threads:[~2018-04-16 10:59 UTC | newest]

Thread overview: 53+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-27 14:15 [Qemu-arm] [RFC 0/8] KVM/ARM: Relax the max 123 vcpus limitation along with KVM GICv3 Eric Auger
2018-03-27 14:15 ` [Qemu-devel] " Eric Auger
2018-03-27 14:15 ` [Qemu-arm] [RFC 1/8] linux-headers: Partial update for KVM/ARM multiple redistributor region registration Eric Auger
2018-03-27 14:15   ` [Qemu-devel] " Eric Auger
2018-03-27 14:15 ` [Qemu-arm] [RFC 2/8] hw/intc/arm_gicv3: Use an array of redistributor regions Eric Auger
2018-03-27 14:15   ` [Qemu-devel] " Eric Auger
2018-04-13 13:27   ` [Qemu-arm] " Peter Maydell
2018-04-13 13:27     ` [Qemu-devel] " Peter Maydell
2018-04-13 13:36     ` [Qemu-arm] " Auger Eric
2018-04-13 13:36       ` [Qemu-devel] " Auger Eric
2018-03-27 14:15 ` [Qemu-arm] [RFC 3/8] kvm: Expose kvm_max_vcpus() Eric Auger
2018-03-27 14:15   ` [Qemu-devel] " Eric Auger
2018-03-27 14:15 ` [Qemu-devel] [RFC 4/8] hw/intc/arm_gicv3: Implement register_redist_region API Eric Auger
2018-03-27 14:15   ` Eric Auger
2018-04-13 13:34   ` [Qemu-arm] " Peter Maydell
2018-04-13 13:34     ` [Qemu-devel] " Peter Maydell
2018-04-13 13:44     ` [Qemu-arm] " Auger Eric
2018-04-13 13:44       ` [Qemu-devel] " Auger Eric
2018-04-13 13:46       ` [Qemu-arm] " Peter Maydell
2018-04-13 13:46         ` [Qemu-devel] " Peter Maydell
2018-04-13 13:56         ` [Qemu-arm] " Auger Eric
2018-04-13 13:56           ` Auger Eric
2018-03-27 14:15 ` [Qemu-devel] [RFC 5/8] hw/intc/arm_gicv3_kvm: Allow multiple redistributor regions Eric Auger
2018-03-27 14:15   ` Eric Auger
2018-03-27 14:15 ` [Qemu-arm] [RFC 6/8] hw/arm/virt: Allow GICv3 DT node with " Eric Auger
2018-03-27 14:15   ` [Qemu-devel] " Eric Auger
2018-04-13 13:36   ` Peter Maydell
2018-04-13 13:36     ` Peter Maydell
2018-04-13 13:45     ` [Qemu-arm] " Auger Eric
2018-04-13 13:45       ` Auger Eric
2018-03-27 14:15 ` [Qemu-arm] [RFC 7/8] hw/arm/virt-acpi-build: Handle multiple GICR structures Eric Auger
2018-03-27 14:15   ` [Qemu-devel] " Eric Auger
2018-04-13 13:47   ` [Qemu-arm] " Andrew Jones
2018-04-13 13:47     ` Andrew Jones
2018-04-13 13:55     ` [Qemu-arm] " Auger Eric
2018-04-13 13:55       ` Auger Eric
2018-03-27 14:15 ` [Qemu-arm] [RFC 8/8] hw/arm/virt: Allow up to 512 vcpus along with KVM VGICv3 Eric Auger
2018-03-27 14:15   ` [Qemu-devel] " Eric Auger
2018-03-28  4:02   ` [Qemu-arm] " Shannon Zhao
2018-03-28  4:02     ` [Qemu-devel] " Shannon Zhao
2018-03-28  6:47     ` Auger Eric
2018-04-13 13:41   ` [Qemu-arm] " Peter Maydell
2018-04-13 13:41     ` [Qemu-devel] " Peter Maydell
2018-04-13 14:01     ` [Qemu-arm] " Auger Eric
2018-04-13 14:01       ` [Qemu-devel] " Auger Eric
2018-04-13 14:06       ` Peter Maydell
2018-04-13 14:06         ` Peter Maydell
2018-04-13 14:11         ` [Qemu-arm] " Auger Eric
2018-04-13 14:11           ` [Qemu-devel] " Auger Eric
2018-04-16  9:19           ` Andrew Jones
2018-04-16  9:19             ` Andrew Jones
2018-04-16 10:58             ` [Qemu-arm] " Peter Maydell
2018-04-16 10:58               ` Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.