]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit626808d137b72ae35878d7b7832cd192bd533fba
tree1233061dcc95493d86cd9e1f1f0e36c65290596a
parent966da62adaf1792c56fe909fc78f3833208ef5ae
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