linux-xiaomi-chiron/arch/x86/kvm/mmu
Miaohe Lin 604f533262 KVM: x86/mmu: add missing update to max_mmu_rmap_size
The update to statistic max_mmu_rmap_size is unintentionally removed by
commit 4293ddb788 ("KVM: x86/mmu: Remove redundant spte present check
in mmu_set_spte"). Add missing update to it or max_mmu_rmap_size will
always be nonsensical 0.

Fixes: 4293ddb788 ("KVM: x86/mmu: Remove redundant spte present check in mmu_set_spte")
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Message-Id: <20220907080657.42898-1-linmiaohe@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-09-22 17:03:20 -04:00
..
mmu.c KVM: x86/mmu: add missing update to max_mmu_rmap_size 2022-09-22 17:03:20 -04:00
mmu_internal.h KVM: x86/mmu: Don't require refcounted "struct page" to create huge SPTEs 2022-07-28 13:22:22 -04:00
mmutrace.h KVM: x86/mmu: Add RET_PF_CONTINUE to eliminate bool+int* "returns" 2022-05-12 09:51:42 -04:00
page_track.c KVM: use __vcalloc for very large allocations 2022-03-08 09:30:57 -05:00
paging_tmpl.h KVM: Rename mmu_notifier_* to mmu_invalidate_* 2022-08-19 04:05:41 -04:00
spte.c KVM: x86/mmu: Add sanity check that MMIO SPTE mask doesn't overlap gen 2022-08-10 15:08:26 -04:00
spte.h kvm: x86: mmu: Always flush TLBs when enabling dirty logging 2022-08-19 07:38:03 -04:00
tdp_iter.c KVM: x86/mmu: Don't bottom out on leafs when zapping collapsible SPTEs 2022-07-28 13:22:24 -04:00
tdp_iter.h KVM: x86/mmu: Don't bottom out on leafs when zapping collapsible SPTEs 2022-07-28 13:22:24 -04:00
tdp_mmu.c KVM, x86/mmu: Fix the comment around kvm_tdp_mmu_zap_leafs() 2022-07-28 14:02:07 -04:00
tdp_mmu.h KVM: x86/mmu: Zap only TDP MMU leafs in zap range and mmu_notifier unmap 2022-04-02 05:34:39 -04:00