]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm/arm64: vgic: Trust the LR state for HW IRQs
authorChristoffer Dall <christoffer.dall@linaro.org>
Tue, 24 Nov 2015 15:34:31 +0000 (16:34 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Tue, 24 Nov 2015 17:08:37 +0000 (18:08 +0100)
commita49aa95be7c92665cc47acf5a820b497739397a6
tree1bd4c43e53f02a7513bb94d2992e1cf64c4863af
parentf965dca55be38e945703025631c908a1b81abf27
KVM: arm/arm64: vgic: Trust the LR state for HW IRQs

We were probing the physial distributor state for the active state of a
HW virtual IRQ, because we had seen evidence that the LR state was not
cleared when the guest deactivated a virtual interrupted.

However, this issue turned out to be a software bug in the GIC, which
was solved by: 84aab5e68c2a5e1e18d81ae8308c3ce25d501b29
(KVM: arm/arm64: arch_timer: Preserve physical dist. active
state on LR.active, 2015-11-24)

Therefore, get rid of the complexities and just look at the LR.

Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/arm/vgic.c