KVM: arm/arm64: GICv4: Hook vPE scheduling into vgic flush/sync
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 27 Oct 2017 14:28:50 +0000 (15:28 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 10 Nov 2017 08:43:26 +0000 (09:43 +0100)
commit6277579778d63125671509e2502597fdf6a56c00
tree76377e42055fd37f3e3f26a1a331add0f7797cb2
parentdf9ba95993b9d59e077aa4613f7a4edd20a4064c
KVM: arm/arm64: GICv4: Hook vPE scheduling into vgic flush/sync

The redistributor needs to be told which vPE is about to be run,
and tells us whether there is any pending VLPI on exit.

Let's add the scheduling calls to the vgic flush/sync functions,
allowing the VLPIs to be delivered to the guest.

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