OSDN Git Service

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)
commit8a406c89532c91ee50688d4e728474dd09a11be3
tree2a500560faad75ca1fb2e4025a4d58167cfef360
parentb09763da4dd8434171c63b32e0b89cf3d689f4b9
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