]> 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)
commit6d209e97e3f88e67538a1dc315a8f50376d9be8f
treeea52938946cddf7a2c694e2731e3d3388ea2f7bc
parent264f64d4b4edd59f0c118a9cf9db2b1da67770e8
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