]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Refactor low-level TDP MMU set SPTE helper to take raw values
authorSean Christopherson <seanjc@google.com>
Sat, 26 Feb 2022 00:15:30 +0000 (00:15 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 8 Mar 2022 14:31:53 +0000 (09:31 -0500)
commit35623cc8167b9420398eda64e3f033507c4ad365
tree1233061dcc95493d86cd9e1f1f0e36c65290596a
parent3dafc48c85c5216618e7def684f9e5400efd9cf3
KVM: x86/mmu: Refactor low-level TDP MMU set SPTE helper to take raw values

Refactor __tdp_mmu_set_spte() to work with raw values instead of a
tdp_iter objects so that a future patch can modify SPTEs without doing a
walk, and without having to synthesize a tdp_iter.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Ben Gardon <bgardon@google.com>
Message-Id: <20220226001546.360188-13-seanjc@google.com>
Reviewed-by: Mingwei Zhang <mizhang@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/tdp_mmu.c