KVM: MMU: pass unadulterated gpa to direct_page_fault
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 6 Aug 2021 09:21:17 +0000 (05:21 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Oct 2021 07:44:48 +0000 (03:44 -0400)
commitd055f028a5334114563ce31c4fe21f24f7ee72c3
tree2c1e8ec8aaf23b3295db831c313761795b42bcbc
parent55c0cefbdbdaca7347e20a2b91320b418abc617e
KVM: MMU: pass unadulterated gpa to direct_page_fault

Do not bother removing the low bits of the gpa.  This masking dates back
to the very first commit of KVM but it is unnecessary, as exemplified
by the other call in kvm_tdp_page_fault.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c