KVM: arm/arm64: vgic-v2: Clear all dirty LRs
authorChristoffer Dall <christoffer.dall@linaro.org>
Wed, 25 May 2016 14:26:33 +0000 (15:26 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Tue, 31 May 2016 14:09:28 +0000 (16:09 +0200)
commit4d3afc9bad2b67b118a0cc204dc94703f7a44e74
tree5ea0fcc6170249ccd1e69aa9eccb8f644de52f7a
parent1a695a905c18548062509178b98bc91e67510864
KVM: arm/arm64: vgic-v2: Clear all dirty LRs

When saving the state of the list registers, it is critical to
reset them zero, as we could otherwise leave unexpected EOI
interrupts pending for virtual level interrupts.

Cc: stable@vger.kernel.org # v4.6+
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/hyp/vgic-v2-sr.c