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>
Fri, 19 Sep 2014 01:44:31 +0000 (18:44 -0700)
commitcced50c9280ef7ca1af48080707a170efa1adfa0
tree19abd9ebd2a20d8ede3c46b245f424334546228c
parentdbf20f9d8105cca531614c8bff9a74351e8e67e7
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>
virt/kvm/arm/vgic.c