All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/8] Support more than 8 vcpus on arm64 with GICv3
@ 2015-05-23 13:52 Chen Baozi
  2015-05-23 13:52 ` [PATCH V2 1/8] xen/arm64: increase MAX_VIRT_CPUS to 128 on arm64 Chen Baozi
                   ` (7 more replies)
  0 siblings, 8 replies; 21+ messages in thread
From: Chen Baozi @ 2015-05-23 13:52 UTC (permalink / raw)
  To: xen-devel; +Cc: Julien Grall, Chen Baozi, Ian Campbell

From: Chen Baozi <baozich@gmail.com>

[Sorry for the incorrect list address previously.]

Currently the number of vcpus on arm64 with GICv3 is limited up to 8 due
to the fixed size of redistributor mmio region. Increasing the size
makes the number expand to 16 because of AFF0 restriction on GICv3.
To create a guest up to 128 vCPUs, which is the maxium number that GIC-500
can support, this patchset uses the AFF1 information to create a mapping
relation between vCPUID and vMPIDR and deals with the related issues.

These patches are written based upon Julien's "GICv2 on GICv3" series.

Changes from V1:
* Use the way that expanding the GICR address space to support up to 128
  redistributor in guest memory layout rather than use the dynamic
  allocation.
* Add support to include AFF1 information in vMPIDR/logical CPUID.

Chen Baozi (8):
  xen/arm64: increase MAX_VIRT_CPUS to 128 on arm64
  xen/arm: gic-v3: Increase the size of GICR in address space for guest
  xen/arm: Add funtions of mapping between vCPUID and vMPIDR
  xen/arm: Use the new mapping relations between vCPUID and vMPIDR
  xen/arm: vGIC: Consider AFF1 when injecting SGI.
  tools/libxl: Make DT node of GICv3 according to max_vcpus
  tools/libxl: Set logical CPUID in DT node equal to MPIDR for domU
  xen/arm: Set logical CPUID in DT node for dom0 the same as MPIDR

 tools/libxl/libxl_arm.c       | 17 ++++++++++++-----
 xen/arch/arm/domain.c         |  6 +-----
 xen/arch/arm/domain_build.c   | 11 ++++++++---
 xen/arch/arm/vgic-v3.c        | 24 ++++++++----------------
 xen/arch/arm/vgic.c           | 10 ++++++++--
 xen/arch/arm/vpsci.c          |  2 +-
 xen/include/asm-arm/config.h  |  4 ++++
 xen/include/asm-arm/domain.h  | 34 ++++++++++++++++++++++++++++++++++
 xen/include/public/arch-arm.h |  4 ++--
 9 files changed, 78 insertions(+), 34 deletions(-)

-- 
2.1.4

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

end of thread, other threads:[~2015-05-26 14:51 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-23 13:52 [PATCH V2 0/8] Support more than 8 vcpus on arm64 with GICv3 Chen Baozi
2015-05-23 13:52 ` [PATCH V2 1/8] xen/arm64: increase MAX_VIRT_CPUS to 128 on arm64 Chen Baozi
2015-05-23 14:46   ` Julien Grall
2015-05-25  1:01     ` Chen Baozi
2015-05-25  9:46       ` Julien Grall
2015-05-23 13:52 ` [PATCH V2 2/8] xen/arm: gic-v3: Increase the size of GICR in address space for guest Chen Baozi
2015-05-23 14:48   ` Julien Grall
2015-05-23 13:52 ` [PATCH V2 3/8] xen/arm: Add funtions of mapping between vCPUID and vMPIDR Chen Baozi
2015-05-23 18:36   ` Julien Grall
2015-05-23 13:52 ` [PATCH V2 4/8] xen/arm: Use the new mapping relations " Chen Baozi
2015-05-24 12:51   ` Julien Grall
2015-05-25  2:34     ` Chen Baozi
2015-05-25  9:53       ` Julien Grall
2015-05-23 13:52 ` [PATCH V2 5/8] xen/arm: vGIC: Consider AFF1 when injecting SGI Chen Baozi
2015-05-26 14:36   ` Julien Grall
2015-05-23 13:52 ` [PATCH V2 6/8] tools/libxl: Make DT node of GICv3 according to max_vcpus Chen Baozi
2015-05-26 14:40   ` Julien Grall
2015-05-23 13:52 ` [PATCH V2 7/8] tools/libxl: Set logical CPUID in DT node equal to MPIDR for domU Chen Baozi
2015-05-26 14:48   ` Julien Grall
2015-05-23 13:52 ` [PATCH V2 8/8] xen/arm: Set logical CPUID in DT node for dom0 the same as MPIDR Chen Baozi
2015-05-26 14:50   ` Julien Grall

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.