linux_dsm_epyc7002/arch/x86/kvm/mmu
Li RongQing c6c4f961cb KVM: x86/mmu: fix counting of rmap entries in pte_list_add
Fix an off-by-one style bug in pte_list_add() where it failed to
account the last full set of SPTEs, i.e. when desc->sptes is full
and desc->more is NULL.

Merge the two "PTE_LIST_EXT-1" checks as part of the fix to avoid
an extra comparison.

Signed-off-by: Li RongQing <lirongqing@baidu.com>
Reviewed-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <1601196297-24104-1-git-send-email-lirongqing@baidu.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-11-08 04:41:26 -05:00
..
mmu_audit.c KVM: x86/mmu: Rename page_header() to to_shadow_page() 2020-07-08 16:21:55 -04:00
mmu_internal.h kvm: x86/mmu: NX largepage recovery for TDP MMU 2020-10-23 03:42:16 -04:00
mmu.c KVM: x86/mmu: fix counting of rmap entries in pte_list_add 2020-11-08 04:41:26 -05:00
mmutrace.h kvm: x86/mmu: Add TDP MMU PF handler 2020-10-23 03:42:04 -04:00
page_track.c kvm: mmu: page_track: Fix RCU list API usage 2020-08-24 18:36:23 -07:00
paging_tmpl.h kvm: x86/mmu: Remove disallowed_hugepage_adjust shadow_walk_iterator arg 2020-10-21 18:17:02 -04:00
spte.c KVM: x86: replace static const variables with macros 2020-10-30 13:39:55 -04:00
spte.h KVM: x86: replace static const variables with macros 2020-10-30 13:39:55 -04:00
tdp_iter.c kvm: x86/mmu: Support zapping SPTEs in the TDP MMU 2020-10-21 18:17:02 -04:00
tdp_iter.h kvm: x86/mmu: Support dirty logging for the TDP MMU 2020-10-23 03:42:13 -04:00
tdp_mmu.c KVM: x86/mmu: Avoid modulo operator on 64-bit value to fix i386 build 2020-10-24 04:05:40 -04:00
tdp_mmu.h kvm: x86/mmu: Support MMIO in the TDP MMU 2020-10-23 03:42:15 -04:00