diff options
author | Sean Christopherson <[email protected]> | 2024-10-10 19:10:48 -0700 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-10-30 15:25:39 -0700 |
commit | 85649117511ddf9971e4759fe8ac9fbb69ad5064 (patch) | |
tree | 70dfebee21f6d268d66a0404678cf823d85b8f35 /scripts/gdb/linux/stackdepot.py | |
parent | c9b625625ba37d4b493f5fc878d8fce3d38dab2d (diff) |
KVM: x86/mmu: Set Dirty bit for new SPTEs, even if _hardware_ A/D bits are disabled
When making a SPTE, set the Dirty bit in the SPTE as appropriate, even if
hardware A/D bits are disabled. Only EPT allows A/D bits to be disabled,
and for EPT, the bits are software-available (ignored by hardware) when
A/D bits are disabled, i.e. it is perfectly legal for KVM to use the Dirty
to track dirty pages in software.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions