diff options
author | Marc Zyngier | 2016-11-23 10:11:21 +0000 |
---|---|---|
committer | Marc Zyngier | 2016-11-24 13:12:07 +0000 |
commit | 8ca18eec2b2276b449c1dc86b98bf083c5fe4e09 (patch) | |
tree | 36a6040fc4a057981d20ff9d3b0e72a8e1ec8ca7 /lib | |
parent | b112c84a6ff035271d41d548c10215f18443d6a6 (diff) |
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: 140b086dd197 ("KVM: arm/arm64: vgic-new: Add GICv2 world switch backend")
Fixes: 59529f69f504 ("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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions