KVM: x86/mmu: Drop access tracking checks when clearing TDP MMU dirty bits
authorVipin Sharma <vipinsh@google.com>
Tue, 21 Mar 2023 22:00:13 +0000 (15:00 -0700)
committerSean Christopherson <seanjc@google.com>
Tue, 4 Apr 2023 19:37:30 +0000 (12:37 -0700)
commitcf05e8c7325e341d7e1b1920fa580a130ec2c350
tree02c0d1f6b4234b0d6de5a7c847aa912cfed7995f
parent89c313f20c1ed30e04cedae735994c902ee93ddb
KVM: x86/mmu: Drop access tracking checks when clearing TDP MMU dirty bits

Drop the unnecessary call to handle access-tracking changes when clearing
the dirty status of TDP MMU SPTEs.  Neither the Dirty bit nor the Writable
bit has any impact on the accessed state of a page, i.e. clearing only
the aforementioned bits doesn't make an accessed SPTE suddently not
accessed.

Signed-off-by: Vipin Sharma <vipinsh@google.com>
[sean: split to separate patch, write changelog]
Link: https://lore.kernel.org/r/20230321220021.2119033-6-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/mmu/tdp_mmu.c