KVM: arm/arm64: vgic: Add LPI translation cache definition
authorMarc Zyngier <maz@kernel.org>
Mon, 18 Mar 2019 10:13:01 +0000 (10:13 +0000)
committerMarc Zyngier <maz@kernel.org>
Sun, 18 Aug 2019 17:38:35 +0000 (18:38 +0100)
commit24cab82c34aa6f3ede3de1d8621624cb5ef33feb
treef56c1700b1a3b4b1637b2fea506eec8df94910fa
parentd45331b00ddb179e291766617259261c112db872
KVM: arm/arm64: vgic: Add LPI translation cache definition

Add the basic data structure that expresses an MSI to LPI
translation as well as the allocation/release hooks.

The size of the cache is arbitrarily defined as 16*nr_vcpus.

Tested-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
include/kvm/arm_vgic.h
virt/kvm/arm/vgic/vgic-init.c
virt/kvm/arm/vgic/vgic-its.c
virt/kvm/arm/vgic/vgic.h