]> 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)
commit3a54c6f81a0d8c8e7f29d1f161e1e863f44dd611
tree71960b60a82f84ceca0ff5e2f59c47cab23919d9
parentc2b8fa7ea0f6d3a79907a5abdd96080085590db6
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