summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-01-29 04:14:34 +0300
committerSean Christopherson <seanjc@google.com>2026-05-13 21:13:16 +0300
commit02eaaffdd8656084f130e000a7c1a4ef27ac87a8 (patch)
tree486b50f3668b460351c1e9be5599e14a838a429d /scripts/const_structs.checkpatch
parent4487492b92a4f3df4166ab27a277b3d34867e5f2 (diff)
downloadlinux-02eaaffdd8656084f130e000a7c1a4ef27ac87a8.tar.xz
KVM: x86/mmu: Update iter->old_spte if cmpxchg64 on mirror SPTE "fails"
Pass a pointer to iter->old_spte, not simply its value, when setting an external SPTE in __tdp_mmu_set_spte_atomic(), so that the iterator's value will be updated if the cmpxchg64 to freeze the mirror SPTE fails. The bug is currently benign as TDX is mutualy exclusive with all paths that do "local" retry", e.g. clear_dirty_gfn_range() and wrprot_gfn_range(). Fixes: 77ac7079e66d ("KVM: x86/tdp_mmu: Propagate building mirror page tables") Reviewed-by: Kai Huang <kai.huang@intel.com> Reviewed-by: Rick Edgecombe <rick.p.edgecombe@intel.com> Link: https://patch.msgid.link/20260129011517.3545883-3-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions