linux/arch/x86/kvm/mmu
Sean Christopherson 242a6dd8da KVM: x86/mmu: Avoid pointer arithmetic when iterating over SPTEs
Replace the pointer arithmetic used to iterate over SPTEs in
is_empty_shadow_page() with more standard interger-based iteration.

No functional change intended.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Link: https://lore.kernel.org/r/20230729004722.1056172-5-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-08-31 13:48:42 -04:00
..
mmu_internal.h KVM: x86/mmu: Delete the "dbg" module param 2023-08-31 13:48:41 -04:00
mmu.c KVM: x86/mmu: Avoid pointer arithmetic when iterating over SPTEs 2023-08-31 13:48:42 -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: x86: Unify pr_fmt to use module name for all KVM modules 2022-12-29 15:47:35 -05:00
paging_tmpl.h KVM: x86/mmu: Delete pgprintk() and all its usage 2023-08-31 13:48:39 -04:00
spte.c KVM: x86/mmu: Delete pgprintk() and all its usage 2023-08-31 13:48:39 -04:00
spte.h kvm: x86/mmu: Rename SPTE_TDP_AD_ENABLED_MASK to SPTE_TDP_AD_ENABLED 2023-01-24 10:05:44 -08:00
tdp_iter.c KVM: x86/mmu: Move round_gfn_for_level() helper into mmu_internal.h 2023-01-24 10:05:45 -08:00
tdp_iter.h KVM: x86/mmu: Atomically clear SPTE dirty state in the clear-dirty-log flow 2023-04-04 12:37:30 -07:00
tdp_mmu.c KVM: x86/mmu: Move the lockdep_assert of mmu_lock to inside clear_dirty_pt_masked() 2023-08-31 13:48:38 -04:00
tdp_mmu.h KVM: x86/mmu: Pivot on "TDP MMU enabled" to check if active MMU is TDP MMU 2022-12-29 15:33:25 -05:00