arm/arm64: KVM: vgic: Clear queued flags on unqueue
authorChristoffer Dall <christoffer.dall@linaro.org>
Sat, 14 Jun 2014 20:37:33 +0000 (22:37 +0200)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:19:19 +0000 (17:19 +0200)
commit520445af8ef7b1e8d17b692c0957b3802b90d98a
treecfe622f36313654f37c26f569584a2757be444a0
parent25b3fb8068b572c2b9f549b17f513092309aa610
arm/arm64: KVM: vgic: Clear queued flags on unqueue

If we unqueue a level-triggered interrupt completely, and the LR does
not stick around in the active state (and will therefore no longer
generate a maintenance interrupt), then we should clear the queued flag
so that the vgic can actually queue this level-triggered interrupt at a
later time and deal with its pending state then.

Note: This should actually be properly fixed to handle the active state
on the distributor.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
(cherry picked from commit cced50c9280ef7ca1af48080707a170efa1adfa0)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/arm/vgic.c