diff options
author | David Matlack <dmatlack@google.com> | 2023-08-11 04:51:18 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2023-08-17 09:40:35 +0100 |
commit | d4788996051e3c07fadc6d9b214073fcf78810a8 (patch) | |
tree | 34cfea459cc2c2d89b5b3c5e35f4d438668898b9 /arch/arm64 | |
parent | eddd21481011008792f4e647a5244f6e15970abc (diff) | |
download | linux-stable-d4788996051e3c07fadc6d9b214073fcf78810a8.tar.gz linux-stable-d4788996051e3c07fadc6d9b214073fcf78810a8.tar.bz2 linux-stable-d4788996051e3c07fadc6d9b214073fcf78810a8.zip |
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
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions