Skip to content

KVM: x86/mmu: Files and sp helper cleanups

Sean Christopherson kvm lkml 1 version Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6KVM: x86/mmu: Move mmu_audit.c and mmutrace.h into the mmu/ sub-directoryarch/x86/kvm/mmu/mmu_audit.c arch/x86/kvm/mmu/mmutrace.h+1 -10 replies
2/6KVM: x86/mmu: Move kvm_mmu_available_pages() into mmu.carch/x86/kvm/mmu.h arch/x86/kvm/mmu/mmu.c+9 -90 replies
3/6KVM: x86/mmu: Add MMU-internal headerarch/x86/kvm/mmu.h arch/x86/kvm/mmu/mmu.c arch/x86/kvm/mmu/mmu_internal.h +1 more+12 -50 replies
4/6KVM: x86/mmu: Make kvm_mmu_page definition and accessor internal-onlyarch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu/mmu_internal.h+50 -440 replies
5/6KVM: x86/mmu: Add sptep_to_sp() helper to wrap shadow page lookuparch/x86/kvm/mmu/mmu.c arch/x86/kvm/mmu/mmu_audit.c arch/x86/kvm/mmu/mmu_internal.h +1 more+23 -200 replies
6/6KVM: x86/mmu: Rename page_header() to to_shadow_page()arch/x86/kvm/mmu/mmu.c arch/x86/kvm/mmu/mmu_audit.c arch/x86/kvm/mmu/mmu_internal.h+15 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] KVM: x86/mmu: Files and sp helper cleanups

Move more files to the mmu/ directory, and an mmu_internal.h to share stuff amongst the mmu/ files, and clean up the helpers for retrieving a shadow page from a sptep and/or hpa.

Sean Christopherson (6):
KVM: x86/mmu: Move mmu_audit.c and mmutrace.h into the mmu/
sub-directory
KVM: x86/mmu: Move kvm_mmu_available_pages() into mmu.c
KVM: x86/mmu: Add MMU-internal header
KVM: x86/mmu: Make kvm_mmu_page definition and accessor internal-only
KVM: x86/mmu: Add sptep_to_sp() helper to wrap shadow page lookup
KVM: x86/mmu: Rename page_header() to to_shadow_page()

 arch/x86/include/asm/kvm_host.h    | 46 +---------------------
 arch/x86/kvm/mmu.h                 | 13 ------
 arch/x86/kvm/mmu/mmu.c             | 58 +++++++++++++++------------
 arch/x86/kvm/{ => mmu}/mmu_audit.c | 12 +++---
 arch/x86/kvm/mmu/mmu_internal.h    | 63 ++++++++++++++++++++++++++++++
 arch/x86/kvm/{ => mmu}/mmutrace.h  |  2 +-
 arch/x86/kvm/mmu/page_track.c      |  2 +-
 arch/x86/kvm/mmu/paging_tmpl.h     |  4 +-
 8 files changed, 108 insertions(+), 92 deletions(-)
 rename arch/x86/kvm/{ => mmu}/mmu_audit.c (96%)
 create mode 100644 arch/x86/kvm/mmu/mmu_internal.h
 rename arch/x86/kvm/{ => mmu}/mmutrace.h (99%)
Signature · 1 line
2.26.0