Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'kvm-x86-mmu-6.19' of https://github.com/kvm-x86/linux into HEAD

KVM x86 MMU changes for 6.19:

- Skip the costly "zap all SPTEs" on an MMIO generation wrap if MMIO SPTE
caching is disabled, as there can't be any relevant SPTEs to zap.

- Relocate a misplace export.

+4 -1
+4 -1
arch/x86/kvm/mmu/mmu.c
··· 6863 6863 6864 6864 write_unlock(&kvm->mmu_lock); 6865 6865 } 6866 + EXPORT_SYMBOL_FOR_KVM_INTERNAL(kvm_zap_gfn_range); 6866 6867 6867 6868 static bool slot_rmap_write_protect(struct kvm *kvm, 6868 6869 struct kvm_rmap_head *rmap_head, ··· 7205 7204 7206 7205 return need_tlb_flush; 7207 7206 } 7208 - EXPORT_SYMBOL_FOR_KVM_INTERNAL(kvm_zap_gfn_range); 7209 7207 7210 7208 static void kvm_rmap_zap_collapsible_sptes(struct kvm *kvm, 7211 7209 const struct kvm_memory_slot *slot) ··· 7363 7363 void kvm_mmu_invalidate_mmio_sptes(struct kvm *kvm, u64 gen) 7364 7364 { 7365 7365 WARN_ON_ONCE(gen & KVM_MEMSLOT_GEN_UPDATE_IN_PROGRESS); 7366 + 7367 + if (!enable_mmio_caching) 7368 + return; 7366 7369 7367 7370 gen &= MMIO_SPTE_GEN_MASK; 7368 7371