KVM: arm64: GICv4.1: Restore VLPI pending state to physical side
authorZenghui Yu <yuzenghui@huawei.com>
Mon, 22 Mar 2021 06:01:57 +0000 (14:01 +0800)
committerMarc Zyngier <maz@kernel.org>
Wed, 24 Mar 2021 18:12:21 +0000 (18:12 +0000)
commit12df7429213abbfa9632ab7db94f629ec309a58b
treeac0405d87befce445b00dd89c622910f9bc0e147
parentf66b7b151e00427168409f8c1857970e926b1e27
KVM: arm64: GICv4.1: Restore VLPI pending state to physical side

When setting the forwarding path of a VLPI (switch to the HW mode),
we can also transfer the pending state from irq->pending_latch to
VPT (especially in migration, the pending states of VLPIs are restored
into kvm’s vgic first). And we currently send "INT+VSYNC" to trigger
a VLPI to pending.

Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Signed-off-by: Shenming Lu <lushenming@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210322060158.1584-6-lushenming@huawei.com
arch/arm64/kvm/vgic/vgic-v4.c