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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Jun 2016 17:22:01 +0000 (10:22 -0700)
commit05be09606e9421fe2b4af0f37a5420216efd0ecc
treec99f54ba0274f8986bb008ecba12cdd1b2632f9c
parent48fc8f94672afcaf5900f3e40761a25c6912c39c
KVM: arm/arm64: vgic-v2: Clear all dirty LRs

commit 4d3afc9bad2b67b118a0cc204dc94703f7a44e74 upstream.

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.

Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
virt/kvm/arm/hyp/vgic-v2-sr.c