diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2018-08-23 11:18:14 +0200 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@arm.com> | 2018-09-07 15:06:02 +0200 |
commit | a35381e10dc46dd75e65e4b3832d9a0005d48d44 (patch) | |
tree | c6f19dc8193ac6001cc9e234c2fbeac66e4670e2 /virt/kvm/arm/mmu.c | |
parent | arm64: KVM: Only force FPEXC32_EL2.EN if trapping FPSIMD (diff) | |
download | linux-a35381e10dc46dd75e65e4b3832d9a0005d48d44.tar.xz linux-a35381e10dc46dd75e65e4b3832d9a0005d48d44.zip |
KVM: Remove obsolete kvm_unmap_hva notifier backend
kvm_unmap_hva is long gone, and we only have kvm_unmap_hva_range to
deal with. Drop the now obsolete code.
Fixes: fb1522e099f0 ("KVM: update to new mmu_notifier semantic v2")
Cc: James Hogan <jhogan@kernel.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@arm.com>
Diffstat (limited to 'virt/kvm/arm/mmu.c')
-rw-r--r-- | virt/kvm/arm/mmu.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/virt/kvm/arm/mmu.c b/virt/kvm/arm/mmu.c index 111a660be3be..ed162a6c57c5 100644 --- a/virt/kvm/arm/mmu.c +++ b/virt/kvm/arm/mmu.c @@ -1817,18 +1817,6 @@ static int kvm_unmap_hva_handler(struct kvm *kvm, gpa_t gpa, u64 size, void *dat return 0; } -int kvm_unmap_hva(struct kvm *kvm, unsigned long hva) -{ - unsigned long end = hva + PAGE_SIZE; - - if (!kvm->arch.pgd) - return 0; - - trace_kvm_unmap_hva(hva); - handle_hva_to_gpa(kvm, hva, end, &kvm_unmap_hva_handler, NULL); - return 0; -} - int kvm_unmap_hva_range(struct kvm *kvm, unsigned long start, unsigned long end) { |