]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit90e52f647f0066ae4ae416f7ba5fe25c861a6e50
tree2874b4d4655f99b4bcbfb744d786bd5c7233bd7d
parent321d3c7f3a6606f395c1bb6360ff90ea415e49d4
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