KVM: arm/arm64: vgic-irqfd: Implement kvm_arch_set_irq_inatomic
authorMarc Zyngier <maz@kernel.org>
Mon, 18 Mar 2019 10:34:48 +0000 (10:34 +0000)
committerMarc Zyngier <maz@kernel.org>
Sun, 18 Aug 2019 17:38:54 +0000 (18:38 +0100)
commit41108170d98069b34837c4512f93ef2ce651b812
tree104ef06b71a82a5642f7e9a29e5368f9d3dbd314
parent86a7dae884f38e11f3af8137ddf1fb969cd2699c
KVM: arm/arm64: vgic-irqfd: Implement kvm_arch_set_irq_inatomic

Now that we have a cache of MSI->LPI translations, it is pretty
easy to implement kvm_arch_set_irq_inatomic (this cache can be
parsed without sleeping).

Hopefully, this will improve some LPI-heavy workloads.

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-irqfd.c