]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Rename and document A/D scheme for TDP SPTEs
authorSean Christopherson <seanjc@google.com>
Thu, 25 Feb 2021 20:47:37 +0000 (12:47 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Mar 2021 08:43:43 +0000 (04:43 -0400)
commit1a350041192a5287143b262cec6ec16de2234f5b
tree2a500560faad75ca1fb2e4025a4d58167cfef360
parentf0bf9a350a2df8ad093972a5265bfcab446827ad
KVM: x86/mmu: Rename and document A/D scheme for TDP SPTEs

Rename the various A/D status defines to explicitly associated them with
TDP.  There is a subtle dependency on the bits in question never being
set when using PAE paging, as those bits are reserved, not available.
I.e. using these bits outside of TDP (technically EPT) would cause
explosions.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210225204749.1512652-13-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Documentation/virt/kvm/locking.rst
arch/x86/kvm/mmu/spte.c
arch/x86/kvm/mmu/spte.h