]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita5a3c3f56d0d9400c4266684c124abfafb6b0eb5
tree2c1e8ec8aaf23b3295db831c313761795b42bcbc
parente63b7c9e6ef9c76ace1a1454e54ca3c4f81a5a97
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