KVM: arm64: GICv4.1: Add function to get VLPI state
authorShenming Lu <lushenming@huawei.com>
Mon, 22 Mar 2021 06:01:55 +0000 (14:01 +0800)
committerMarc Zyngier <maz@kernel.org>
Wed, 24 Mar 2021 18:12:20 +0000 (18:12 +0000)
commit80317fe4a65375fae668672a1398a0fb73eb9023
tree2874b4d4655f99b4bcbfb744d786bd5c7233bd7d
parentc21bc068cdbe5613d3319ae171c3f2eb9f321352
KVM: arm64: GICv4.1: Add function to get VLPI state

With GICv4.1 and the vPE unmapped, which indicates the invalidation
of any VPT caches associated with the vPE, we can get the VLPI state
by peeking at the VPT. So we add a function for this.

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