[PATCH 0/7] KVM: X86: MMU: misc fixes and cleanups

From: Lai Jiangshan
Date: Tue Aug 24 2021 - 13:59:19 EST


From: Lai Jiangshan <laijs@xxxxxxxxxxxxxxxxx>

The first two patches fix two old possible defects.
And the others are just cleanups.

Lai Jiangshan (7):
KVM: X86: Fix missed remote tlb flush in rmap_write_protect()
KVM: X86: Synchronize the shadow pagetable before link it
KVM: X86: Zap the invalid list after remote tlb flushing
KVM: X86: Remove FNAME(update_pte)
KVM: X86: Don't unsync pagetables when speculative
KVM: X86: Don't check unsync if the original spte is writible
KVM: X86: Also prefetch the last range in __direct_pte_prefetch().

arch/x86/kvm/mmu/mmu.c | 50 +++++++++++++++++++++++++--------
arch/x86/kvm/mmu/mmu_internal.h | 3 +-
arch/x86/kvm/mmu/paging_tmpl.h | 38 +++++++++++++++++--------
arch/x86/kvm/mmu/spte.c | 6 ++--
4 files changed, 70 insertions(+), 27 deletions(-)

--
2.19.1.6.gb485710b