KVM: arm/arm64: vgic: Cap SPIs to the VM-defined maximum
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 4 Dec 2018 17:11:19 +0000 (17:11 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 18 Dec 2018 15:14:50 +0000 (15:14 +0000)
commitbea2ef803ade3359026d5d357348842bca9edcf1
tree3d3f92151225bcbc4bc1d5c4805541d1880f9ea5
parent6992195cc6c6c4d673a3266ae59cbeeb746d61af
KVM: arm/arm64: vgic: Cap SPIs to the VM-defined maximum

SPIs should be checked against the VMs specific configuration, and
not the architectural maximum.

Cc: stable@vger.kernel.org
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/vgic/vgic.c