KVM: x86/mmu: fix some comment typos
PATCH 1/1 KVM: x86/mmu: fix some comment typos
Fix some typos in comments.
Signed-off-by Miaohe Lin <[email protected]>
--- arch/x86/kvm/mmu/mmu.c | 2 +- arch/x86/kvm/mmu/spte.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/kvm/mmu/mmu.c +1 -1
@@ -1882,7 +1882,7 @@ static bool is_obsolete_sp(struct kvm *kvm, struct kvm_mmu_page *sp)if (sp->role.invalid)return true; -/* TDP MMU pages due not use the MMU generation. */ +/* TDP MMU pages do not use the MMU generation. */ return !sp->tdp_mmu_page &&unlikely (sp->mmu_valid_gen != kvm->arch.mmu_valid_gen); }
arch/x86/kvm/mmu/spte.h +1 -1
@@ -188,7 +188,7 @@ extern u64 __read_mostly shadow_nonpresent_or_rsvd_mask;* should not modify the SPTE. * * Use a semi-arbitrary value that doesn't set RWX bits, i.e. is not-present on -* bot AMD and Intel CPUs, and doesn't set PFN bits, i.e. doesn't create a L1TF +* both AMD and Intel CPUs, and doesn't set PFN bits, i.e. doesn't create a L1TF * vulnerability. Use only low bits to avoid 64-bit immediates. * * Only used by the TDP MMU.
Signature · 1 line
2.23.0
Quoted 4 lines · Miaohe Lin
Fix some typos in comments.
Signed-off-by Miaohe Lin <[email protected]>---
Reviewed-by Sean Christopherson <[email protected]>
Queued, thanks.
Paolo