diff options
author | Marc Zyngier <maz@kernel.org> | 2019-06-10 10:26:37 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2019-08-18 18:38:42 +0100 |
commit | 7d825fd6eaa7467c9b737fd5cf46e45f298d1c20 (patch) | |
tree | 0329fa92399a21a7dca32ab4f3aa9cfe94a96414 /virt/kvm/arm/vgic/vgic.h | |
parent | 1bb3691d8330f09a0699c124fcb71991b5fd105b (diff) | |
download | linux-7d825fd6eaa7467c9b737fd5cf46e45f298d1c20.tar.bz2 |
KVM: arm/arm64: vgic-its: Add MSI-LPI translation cache invalidation
There's a number of cases where we need to invalidate the caching
of translations, so let's add basic support for that.
Tested-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'virt/kvm/arm/vgic/vgic.h')
-rw-r--r-- | virt/kvm/arm/vgic/vgic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/virt/kvm/arm/vgic/vgic.h b/virt/kvm/arm/vgic/vgic.h index 8e9413e317b8..c7fb4da2ab3b 100644 --- a/virt/kvm/arm/vgic/vgic.h +++ b/virt/kvm/arm/vgic/vgic.h @@ -310,6 +310,7 @@ int vgic_its_resolve_lpi(struct kvm *kvm, struct vgic_its *its, struct vgic_its *vgic_msi_to_its(struct kvm *kvm, struct kvm_msi *msi); void vgic_lpi_translation_cache_init(struct kvm *kvm); void vgic_lpi_translation_cache_destroy(struct kvm *kvm); +void vgic_its_invalidate_cache(struct kvm *kvm); bool vgic_supports_direct_msis(struct kvm *kvm); int vgic_v4_init(struct kvm *kvm); |