]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Co-locate code for setting various SPTE masks
authorSean Christopherson <seanjc@google.com>
Thu, 25 Feb 2021 20:47:41 +0000 (12:47 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Mar 2021 08:43:47 +0000 (04:43 -0400)
commit34bc0eb40ac35bf27b5b15d7d3f78537f4b7752c
tree8dd2ee1d59dcb95bf03c7ab97ad2a459d5e60b7d
parent39687893ee21ccc9e289b26af74080ec9a90b101
KVM: x86/mmu: Co-locate code for setting various SPTE masks

Squish all the code for (re)setting the various SPTE masks into one
location.  With the split code, it's not at all clear that the masks are
set once during module initialization.  This will allow a future patch to
clean up initialization of the masks without shuffling code all over
tarnation.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210225204749.1512652-17-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/mmu/spte.c
arch/x86/kvm/vmx/vmx.c