]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0a23407cd63530eb88425d7bf9b56ecbc39dc7fb
tree189c4994752e0ed0879127e2ee3d900fab480514
parent46491aef9c10972a0262622c8fe8da5d97b20ea9
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