From: Paolo Bonzini Date: Wed, 26 Apr 2023 19:50:01 +0000 (-0400) Subject: Merge tag 'kvm-x86-mmu-6.4' of https://github.com/kvm-x86/linux into HEAD X-Git-Tag: v6.6.7~2927^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=807b758496e42ada4ba3f3defcfbac88afcd64f8;p=platform%2Fkernel%2Flinux-starfive.git Merge tag 'kvm-x86-mmu-6.4' of https://github.com/kvm-x86/linux into HEAD KVM x86 MMU changes for 6.4: - Tweak FNAME(sync_spte) to avoid unnecessary writes+flushes when the guest is only adding new PTEs - Overhaul .sync_page() and .invlpg() to share the .sync_page() implementation, i.e. utilize .sync_page()'s optimizations when emulating invalidations - Clean up the range-based flushing APIs - Revamp the TDP MMU's reaping of Accessed/Dirty bits to clear a single A/D bit using a LOCK AND instead of XCHG, and skip all of the "handle changed SPTE" overhead associated with writing the entire entry - Track the number of "tail" entries in a pte_list_desc to avoid having to walk (potentially) all descriptors during insertion and deletion, which gets quite expensive if the guest is spamming fork() - Misc cleanups --- 807b758496e42ada4ba3f3defcfbac88afcd64f8