KVM: x86/mmu: Fix and clarify comments about clearing D-bit vs. write-protecting
authorDavid Matlack <dmatlack@google.com>
Fri, 15 Mar 2024 23:05:40 +0000 (16:05 -0700)
committerSean Christopherson <seanjc@google.com>
Thu, 11 Apr 2024 19:58:51 +0000 (12:58 -0700)
commitb1a8d2b02b69c7d7685f2e19f32034065310dbae
treee93c8db700e76b742763d7b2f5cb115f11febd91
parentfeac19aa4c26dc028d358bf23fa8f228ab46699e
KVM: x86/mmu: Fix and clarify comments about clearing D-bit vs. write-protecting

Drop the "If AD bits are enabled/disabled" verbiage from the comments
above kvm_tdp_mmu_clear_dirty_{slot,pt_masked}() since TDP MMU SPTEs may
need to be write-protected even when A/D bits are enabled. i.e. These
comments aren't technically correct.

No functional change intended.

Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20240315230541.1635322-4-dmatlack@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/mmu/tdp_mmu.c