KVM: arm/arm64: vgic: Kick new VCPU on interrupt migration
authorAndre Przywara <andre.przywara@arm.com>
Tue, 17 Apr 2018 10:23:49 +0000 (11:23 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 17 Apr 2018 11:57:11 +0000 (12:57 +0100)
commitbf9a41377d14f565764022470e14aae72559589a
tree71960b60a82f84ceca0ff5e2f59c47cab23919d9
parent165d102905691891f85cb90736c25150b7b25d29
KVM: arm/arm64: vgic: Kick new VCPU on interrupt migration

When vgic_prune_ap_list() finds an interrupt that needs to be migrated
to a new VCPU, we should notify this VCPU of the pending interrupt,
since it requires immediate action.
Kick this VCPU once we have added the new IRQ to the list, but only
after dropping the locks.

Reported-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/vgic/vgic.c