]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm/arm64: vgic: Consider priority and active state for pending irq
authorChristoffer Dall <christoffer.dall@arm.com>
Sat, 1 Dec 2018 21:21:47 +0000 (13:21 -0800)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 19 Dec 2018 17:47:06 +0000 (17:47 +0000)
commit231b618074774924bfb90ac24ec386daf07079f3
treeea52938946cddf7a2c694e2731e3d3388ea2f7bc
parent1e46d00c0952b54feeda9deca43a8458a3dddfbf
KVM: arm/arm64: vgic: Consider priority and active state for pending irq

When checking if there are any pending IRQs for the VM, consider the
active state and priority of the IRQs as well.

Otherwise we could be continuously scheduling a guest hypervisor without
it seeing an IRQ.

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