-
- Downloads
KVM: Allow range-based TLB invalidation from common code
Make kvm_flush_remote_tlbs_range() visible in common code and create a default implementation that just invalidates the whole TLB. This paves the way for several future features/cleanups: - Introduction of range-based TLBI on ARM. - Eliminating kvm_arch_flush_remote_tlbs_memslot() - Moving the KVM/x86 TDP MMU to common code. No functional change intended. Signed-off-by:David Matlack <dmatlack@google.com> Signed-off-by:
Raghavendra Rao Ananta <rananta@google.com> Reviewed-by:
Gavin Shan <gshan@redhat.com> Reviewed-by:
Shaoqin Huang <shahuang@redhat.com> Reviewed-by:
Anup Patel <anup@brainfault.org> Acked-by:
Sean Christopherson <seanjc@google.com> Signed-off-by:
Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20230811045127.3308641-6-rananta@google.com
Showing
- arch/x86/include/asm/kvm_host.h 2 additions, 0 deletionsarch/x86/include/asm/kvm_host.h
- arch/x86/kvm/mmu/mmu.c 4 additions, 8 deletionsarch/x86/kvm/mmu/mmu.c
- arch/x86/kvm/mmu/mmu_internal.h 0 additions, 3 deletionsarch/x86/kvm/mmu/mmu_internal.h
- include/linux/kvm_host.h 11 additions, 0 deletionsinclude/linux/kvm_host.h
- virt/kvm/kvm_main.c 13 additions, 0 deletionsvirt/kvm/kvm_main.c
Loading
Please register or sign in to comment