KVM: x86/tdp_mmu: Merge prefetch and access checks for spurious faults
authorYan Zhao <yan.y.zhao@intel.com>
Tue, 18 Mar 2025 01:32:10 +0000 (09:32 +0800)
committerSean Christopherson <seanjc@google.com>
Mon, 28 Apr 2025 18:03:06 +0000 (11:03 -0700)
commitd17cc13cc484821b03e5c1cc5808ecb83d10027e
treedc7500a854cb73090df76b90880ec64e884a410a
parentea9fcdf76d3d1d659fb3daaa0cca7b1f4a0697bc
KVM: x86/tdp_mmu: Merge prefetch and access checks for spurious faults

Combine prefetch and is_access_allowed() checks into a unified path to
detect spurious faults, since both cases now share identical logic.

No functional changes.

Signed-off-by: Yan Zhao <yan.y.zhao@intel.com>
Link: https://lore.kernel.org/r/20250318013210.5701-1-yan.y.zhao@intel.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/mmu/tdp_mmu.c