]> 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)
commit128ef5510b3e60664fdf9268ef908dcfad15f14a
tree2c1e8ec8aaf23b3295db831c313761795b42bcbc
parented4eccd6fbb1269b4b7e23c990bffc26b32ef5a7
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