Re: [PATCH] KVM: arm/arm64: vgic: Use a single IO device per redistributor
From: Marc Zyngier
Date: Sun Aug 25 2019 - 06:04:48 EST
On Fri, 23 Aug 2019 18:33:30 +0100,
Eric Auger <eric.auger@xxxxxxxxxx> wrote:
>
> At the moment we use 2 IO devices per GICv3 redistributor: one
> one for the RD_base frame and one for the SGI_base frame.
>
> Instead we can use a single IO device per redistributor (the 2
> frames are contiguous). This saves slots on the KVM_MMIO_BUS
> which is currently limited to NR_IOBUS_DEVS (1000).
>
> This change allows to instantiate up to 512 redistributors and may
> speed the guest boot with a large number of VCPUs.
>
> Signed-off-by: Eric Auger <eric.auger@xxxxxxxxxx>
Yup, that's exactly what I was hoping for. A very nice cleanup, and no
need to increase NR_IOBUS_DEVS for the foreseeable future.
I've applied this to -next.
Thanks,
M.
--
Jazz is not dead, it just smells funny.