xen/arm64: increase MAX_VIRT_CPUS to 128 on arm64
authorChen Baozi <baozich@gmail.com>
Tue, 30 Jun 2015 08:00:22 +0000 (16:00 +0800)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 3 Jul 2015 10:11:27 +0000 (11:11 +0100)
commit8f853b74df5ceeeda6f55efcb710397827967fd5
treef3381afa910558dc22bfe493950d6abb4d7c3145
parentbc3569b89b597aab3c15fd972f4ead972014036f
xen/arm64: increase MAX_VIRT_CPUS to 128 on arm64

After we have increased the size of GICR in address space for guest
and made use of both AFF0 and AFF1 in (v)MPIDR, we are now able to
support up to 4096 vCPUs in theory. However, it will cost 512M
address space for GICR region, which is unnecessarily big at the
moment. Considering the max CPU number that GIC-500 can support and
the old value of MAX_VIRT_CPUS before commit aa25a61, we increase
its value to 128.

Signed-off-by: Chen Baozi <baozich@gmail.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/vgic-v3.c
xen/include/asm-arm/config.h