KVM: x86: remove now unneeded hugepage gfn adjustment
authorPaolo Bonzini <pbonzini@redhat.com>
Sun, 23 Jun 2019 17:15:49 +0000 (19:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Nov 2019 09:29:51 +0000 (10:29 +0100)
commit1d48204bd77090c950b13106ab51821729ae0d72
tree7c8b76cf156f3ab2e995ebe04a0bbe524a62ef22
parent2e013f0fa714399d91c0fc9e3e4d64a9b517db6c
KVM: x86: remove now unneeded hugepage gfn adjustment

commit d679b32611c0102ce33b9e1a4e4b94854ed1812a upstream.

After the previous patch, the low bits of the gfn are masked in
both FNAME(fetch) and __direct_map, so we do not need to clear them
in transparent_hugepage_adjust.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kvm/mmu.c
arch/x86/kvm/paging_tmpl.h