]> www.infradead.org Git - users/dwmw2/linux.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>
Fri, 26 Feb 2021 13:36:14 +0000 (08:36 -0500)
commit30ffac118162d557b4f39bcae87a9d23e659d088
tree58ffa2837f23d05899af948131efcee9489a37d8
parent38e7b7a1c61bbea525f8dc25d3776b8c0dd2d1b5
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