]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf056785919a17d75b31afdbf9e7e1299a50747e1
treec2d4518c4cd4e734991682065d8f7c336f4526f4
parent448c4a82480c72e96cc257009eb6d5b8898bd841
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