KVM: arm/arm64: vgic-its: Check the LPI translation cache on MSI injection
authorMarc Zyngier <maz@kernel.org>
Mon, 18 Mar 2019 10:29:30 +0000 (10:29 +0000)
committerMarc Zyngier <maz@kernel.org>
Sun, 18 Aug 2019 17:38:53 +0000 (18:38 +0100)
commit86a7dae884f38e11f3af8137ddf1fb969cd2699c
treec2d4518c4cd4e734991682065d8f7c336f4526f4
parent89489ee9ced8924f64f99c0470eae38e9e4e204b
KVM: arm/arm64: vgic-its: Check the LPI translation cache on MSI injection

When performing an MSI injection, let's first check if the translation
is already in the cache. If so, let's inject it quickly without
going through the whole translation process.

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