From: Paolo Bonzini Date: Tue, 31 Oct 2023 14:17:43 +0000 (-0400) Subject: Merge tag 'kvm-x86-mmu-6.7' of https://github.com/kvm-x86/linux into HEAD X-Git-Tag: v6.7-rc1~92^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f0f59d069e0a33bd43afe664e16b4a86cf9d079c;p=thirdparty%2Fkernel%2Flinux.git Merge tag 'kvm-x86-mmu-6.7' of https://github.com/kvm-x86/linux into HEAD KVM x86 MMU changes for 6.7: - Clean up code that deals with honoring guest MTRRs when the VM has non-coherent DMA and host MTRRs are ignored, i.e. EPT is enabled. - Zap EPT entries when non-coherent DMA assignment stops/start to prevent using stale entries with the wrong memtype. - Don't ignore guest PAT for CR0.CD=1 && KVM_X86_QUIRK_CD_NW_CLEARED=y, as there's zero reason to ignore guest PAT if the effective MTRR memtype is WB. This will also allow for future optimizations of handling guest MTRR updates for VMs with non-coherent DMA and the quirk enabled. - Harden the fast page fault path to guard against encountering an invalid root when walking SPTEs. --- f0f59d069e0a33bd43afe664e16b4a86cf9d079c