linux/virt/kvm/arm/vgic
Marc Zyngier 8ca18eec2b KVM: arm/arm64: vgic: Don't notify EOI for non-SPIs
When we inject a level triggerered interrupt (and unless it
is backed by the physical distributor - timer style), we request
a maintenance interrupt. Part of the processing for that interrupt
is to feed to the rest of KVM (and to the eventfd subsystem) the
information that the interrupt has been EOIed.

But that notification only makes sense for SPIs, and not PPIs
(such as the PMU interrupt). Skip over the notification if
the interrupt is not an SPI.

Cc: stable@vger.kernel.org # 4.7+
Fixes: 140b086dd1 ("KVM: arm/arm64: vgic-new: Add GICv2 world switch backend")
Fixes: 59529f69f5 ("KVM: arm/arm64: vgic-new: Add GICv3 world switch backend")
Reported-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2016-11-24 13:12:07 +00:00
..
vgic-init.c arm64: KVM: Use static keys for selecting the GIC backend 2016-09-22 13:21:35 +02:00
vgic-irqfd.c KVM: arm: vgic: Drop build compatibility hack for older kernel versions 2016-09-08 12:53:00 +02:00
vgic-its.c KVM: arm64: ITS: avoid re-mapping LPIs 2016-08-16 19:27:22 +02:00
vgic-kvm-device.c ARM: KVM: Support vgic-v3 2016-09-22 13:22:21 +02:00
vgic-mmio-v2.c KVM: arm/arm64: Fix vGICv2 KVM_DEV_ARM_VGIC_GRP_CPU/DIST_REGS 2016-07-18 18:15:15 +01:00
vgic-mmio-v3.c KVM: arm: vgic: Support 64-bit data manipulation on 32-bit host systems 2016-09-22 13:21:59 +02:00
vgic-mmio.c KVM: arm/arm64: vgic: Prevent access to invalid SPIs 2016-11-04 17:56:54 +00:00
vgic-mmio.h KVM: arm/arm64: vgic: Prevent access to invalid SPIs 2016-11-04 17:56:54 +00:00
vgic-v2.c KVM: arm/arm64: vgic: Don't notify EOI for non-SPIs 2016-11-24 13:12:07 +00:00
vgic-v3.c KVM: arm/arm64: vgic: Don't notify EOI for non-SPIs 2016-11-24 13:12:07 +00:00
vgic.c KVM: arm/arm64: vgic: Kick VCPUs when queueing already pending IRQs 2016-11-04 17:56:56 +00:00
vgic.h ARM: KVM: Support vgic-v3 2016-09-22 13:22:21 +02:00