]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: x86/mmu: Plumb "sp" _pointer_ into the TDP MMU's handle_changed_spte()
authorSean Christopherson <seanjc@google.com>
Sat, 9 May 2026 07:56:22 +0000 (15:56 +0800)
committerSean Christopherson <seanjc@google.com>
Wed, 27 May 2026 22:35:13 +0000 (15:35 -0700)
commitc1ec7f368d85329ab25407a0b9cf0ec99ff15e22
treeb24a5210115f8234eab6262578c3f42811d6677d
parentc1d3af136fbf5a092785aa52f0a310008ccfad69
KVM: x86/mmu: Plumb "sp" _pointer_ into the TDP MMU's handle_changed_spte()

Plumb the "sp" pointer into handle_changed_spte() to allow checking of
is_mirror_sp(sp) in handle_changed_spte().  This will allow consolidating
all S-EPT updates into a single kvm_x86_ops hook.

[Yan: Remove unused "as_id" param in tdp_mmu_set_spte() ]

Signed-off-by: Yan Zhao <yan.y.zhao@intel.com>
Link: https://patch.msgid.link/20260509075622.4258-1-yan.y.zhao@intel.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/mmu/tdp_mmu.c