]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit86d5b39c0d5275820193e2b3481f11fd320794bf
tree19abd9ebd2a20d8ede3c46b245f424334546228c
parent6b0b3655d43eff24f3d4bc02542a74f0f7dfb7cf
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