ARM: KVM: vgic: force EOIed LRs to the empty state
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 31 Jan 2013 11:25:52 +0000 (11:25 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 22 Feb 2013 13:29:37 +0000 (13:29 +0000)
commit75da01e127f7db3b23effa6118336d303e7572a7
treeca4f71cfc2f101609c96109eb01e9bbd651cd143
parent2ef14f465b9e096531343f5b734cffc5f759f4a6
ARM: KVM: vgic: force EOIed LRs to the empty state

The VGIC doesn't guarantee that an EOIed LR that has been configured
to generate a maintenance interrupt will appear as empty.

While the code recovers from this situation, it is better to clean
the LR and flag it as empty so it can be quickly recycled.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/kvm/vgic.c