diff options
author | Raghavendra Rao Ananta <rananta@google.com> | 2023-08-11 07:51:24 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2023-08-17 11:40:35 +0300 |
commit | c42b6f0b1cde4dd19e6b5dd052e67b87cc331b01 (patch) | |
tree | dcf0a1d867522abeecdbe578e6109a0116eafe1b /arch/arm64/include/asm | |
parent | 117940aa6e5f8308f1529e1313660980f1dae771 (diff) | |
download | linux-c42b6f0b1cde4dd19e6b5dd052e67b87cc331b01.tar.xz |
KVM: arm64: Implement kvm_arch_flush_remote_tlbs_range()
Implement kvm_arch_flush_remote_tlbs_range() for arm64
to invalidate the given range in the TLB.
Signed-off-by: Raghavendra Rao Ananta <rananta@google.com>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Shaoqin Huang <shahuang@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230811045127.3308641-12-rananta@google.com
Diffstat (limited to 'arch/arm64/include/asm')
-rw-r--r-- | arch/arm64/include/asm/kvm_host.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h index 44ae44b502cf..f623b989ddd1 100644 --- a/arch/arm64/include/asm/kvm_host.h +++ b/arch/arm64/include/asm/kvm_host.h @@ -1115,6 +1115,8 @@ struct kvm *kvm_arch_alloc_vm(void); #define __KVM_HAVE_ARCH_FLUSH_REMOTE_TLBS +#define __KVM_HAVE_ARCH_FLUSH_REMOTE_TLBS_RANGE + static inline bool kvm_vm_is_protected(struct kvm *kvm) { return false; |