KVM: arm/arm64: vgic-its: Cache successful MSI->LPI translation
authorMarc Zyngier <maz@kernel.org>
Mon, 18 Mar 2019 10:17:39 +0000 (10:17 +0000)
committerMarc Zyngier <maz@kernel.org>
Sun, 18 Aug 2019 17:38:52 +0000 (18:38 +0100)
commit89489ee9ced8924f64f99c0470eae38e9e4e204b
tree189c4994752e0ed0879127e2ee3d900fab480514
parentcbfda481d87e92ce635e426099946cd413b251be
KVM: arm/arm64: vgic-its: Cache successful MSI->LPI translation

On a successful translation, preserve the parameters in the LPI
translation cache. Each translation is reusing the last slot
in the list, naturally evicting the least recently used entry.

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