diff options
author | Eric Auger <eric.auger@redhat.com> | 2019-08-23 19:33:30 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2019-08-25 11:02:52 +0100 |
commit | 3109741a8d773b91eec4a1f7764c97a1176ec32d (patch) | |
tree | eaf4b6f30e5d5d290bf2b4ad51d52263c549b3b2 /include/kvm | |
parent | 926c61568d0b2e57254e92290369d4539568f8cc (diff) | |
download | linux-stable-3109741a8d773b91eec4a1f7764c97a1176ec32d.tar.gz linux-stable-3109741a8d773b91eec4a1f7764c97a1176ec32d.tar.bz2 linux-stable-3109741a8d773b91eec4a1f7764c97a1176ec32d.zip |
KVM: arm/arm64: vgic: Use a single IO device per redistributor
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@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'include/kvm')
-rw-r--r-- | include/kvm/arm_vgic.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h index ded50a30e2d5..af4f09c02bf1 100644 --- a/include/kvm/arm_vgic.h +++ b/include/kvm/arm_vgic.h @@ -314,7 +314,6 @@ struct vgic_cpu { * parts of the redistributor. */ struct vgic_io_device rd_iodev; - struct vgic_io_device sgi_iodev; struct vgic_redist_region *rdreg; /* Contains the attributes and gpa of the LPI pending tables. */ |