]> 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)
commit260ea00c10e71ec910ba31913fca936d2908e1a3
treec2d4518c4cd4e734991682065d8f7c336f4526f4
parent0a23407cd63530eb88425d7bf9b56ecbc39dc7fb
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