]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbf33f45988a1f1ac05b559032265447ccbcdf2f3
tree71960b60a82f84ceca0ff5e2f59c47cab23919d9
parent368cefe28a2d8b7b7f28ee07731de320fe8fb673
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