Files
linux/Documentation
Peter Feiner ac8d57e573 kvm: x86: mmu: allow A/D bits to be disabled in an mmu
Adds the plumbing to disable A/D bits in the MMU based on a new role
bit, ad_disabled. When A/D is disabled, the MMU operates as though A/D
aren't available (i.e., using access tracking faults instead).

To avoid SP -> kvm_mmu_page.role.ad_disabled lookups all over the
place, A/D disablement is now stored in the SPTE. This state is stored
in the SPTE by tweaking the use of SPTE_SPECIAL_MASK for access
tracking. Rather than just setting SPTE_SPECIAL_MASK when an
access-tracking SPTE is non-present, we now always set
SPTE_SPECIAL_MASK for access-tracking SPTEs.

Signed-off-by: Peter Feiner <pfeiner@google.com>
[Use role.ad_disabled even for direct (non-shadow) EPT page tables.  Add
 documentation and a few MMU_WARN_ONs. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-07-03 11:19:54 +02:00
..
2017-04-14 14:00:49 -06:00
2017-05-12 15:57:15 -07:00
2017-05-05 11:48:17 +10:00
2017-04-03 18:53:50 +01:00
2017-03-31 12:55:11 +02:00
2017-04-11 14:35:15 -06:00
2017-02-10 11:15:08 +01:00
2017-03-17 15:10:49 +09:00
2017-04-27 15:54:39 -06:00
2017-02-12 15:20:07 -07:00
2017-04-27 15:54:39 -06:00
2017-04-27 15:54:39 -06:00