Skip to content

KVM: X86: Miscellaneous cleanups

Lai Jiangshan kvm linux-doc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15KVM: VMX: Use x86 core API to access to fs_base and inactive gs_basearch/x86/include/asm/kvm_host.h arch/x86/kernel/process_64.c arch/x86/kvm/vmx/vmx.c+9 -173 replies
2/15KVM: VMX: Avoid to rdmsrl(MSR_IA32_SYSENTER_ESP)arch/x86/kvm/vmx/vmx.c+7 -33 replies
3/15KVM: VMX: Update msr value after kvm_set_user_return_msr() succeedsarch/x86/kvm/vmx/vmx.c+3 -50 replies
4/15KVM: VMX: Save HOST_CR3 in vmx_prepare_switch_to_guest()arch/x86/kvm/vmx/nested.c arch/x86/kvm/vmx/vmx.c+11 -140 replies
5/15KVM: VMX: Add document to state that write to uret msr should always be interceptedarch/x86/kvm/vmx/vmx.c+9 -12 replies
6/15KVM: VMX: Use kvm_set_msr_common() for MSR_IA32_TSC_ADJUST in the default wayarch/x86/kvm/vmx/vmx.c+0 -30 replies
7/15KVM: VMX: Change comments about vmx_get_msr()arch/x86/kvm/vmx/vmx.c+1 -10 replies
8/15KVM: SVM: Rename get_max_npt_level() to get_npt_level()arch/x86/kvm/svm/svm.c+4 -40 replies
9/15KVM: SVM: Allocate sd->save_area with __GFP_ZEROarch/x86/kvm/svm/svm.c+1 -30 replies
10/15KVM: X86: Skip allocating pae_root for vcpu->arch.guest_mmu when !tdp_enabledarch/x86/kvm/mmu/mmu.c+4 -00 replies
11/15KVM: X86: Fix comment in __kvm_mmu_create()arch/x86/kvm/mmu/mmu.c+1 -10 replies
12/15KVM: X86: Remove unused declaration of __kvm_mmu_free_some_pages()arch/x86/include/asm/kvm_host.h+0 -10 replies
13/15KVM: X86: Remove useless code to set role.gpte_is_8_bytes when role.directarch/x86/kvm/mmu/mmu.c+0 -20 replies
14/15KVM: X86: Calculate quadrant when !role.gpte_is_8_bytesarch/x86/kvm/mmu/mmu.c+1 -10 replies
15/15KVM: X86: Always set gpte_is_8_bytes when direct mapDocumentation/virt/kvm/mmu.rst arch/x86/kvm/mmu/mmu.c+3 -36 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/15] KVM: X86: Miscellaneous cleanups

From: Lai Jiangshan <[email protected]>

All are just cleanups and independent to each other except the last 3 patches.

Lai Jiangshan (15):
KVM: VMX: Use x86 core API to access to fs_base and inactive gs_base
KVM: VMX: Avoid to rdmsrl(MSR_IA32_SYSENTER_ESP)
KVM: VMX: Update msr value after kvm_set_user_return_msr() succeeds
KVM: VMX: Save HOST_CR3 in vmx_prepare_switch_to_guest()
KVM: VMX: Add document to state that write to uret msr should always
be intercepted
KVM: VMX: Use kvm_set_msr_common() for MSR_IA32_TSC_ADJUST in the
default way
KVM: VMX: Change comments about vmx_get_msr()
KVM: SVM: Rename get_max_npt_level() to get_npt_level()
KVM: SVM: Allocate sd->save_area with __GFP_ZERO
KVM: X86: Skip allocating pae_root for vcpu->arch.guest_mmu when
!tdp_enabled
KVM: X86: Fix comment in __kvm_mmu_create()
KVM: X86: Remove unused declaration of __kvm_mmu_free_some_pages()
KVM: X86: Remove useless code to set role.gpte_is_8_bytes when
role.direct
KVM: X86: Calculate quadrant when !role.gpte_is_8_bytes
KVM: X86: Always set gpte_is_8_bytes when direct map

 Documentation/virt/kvm/mmu.rst  |  2 +-
 arch/x86/include/asm/kvm_host.h | 11 ------
 arch/x86/kernel/process_64.c    |  2 ++
 arch/x86/kvm/mmu/mmu.c          | 12 ++++---
 arch/x86/kvm/svm/svm.c          | 12 +++----
 arch/x86/kvm/vmx/nested.c       |  8 +----
 arch/x86/kvm/vmx/vmx.c          | 64 +++++++++++++++++++--------------
 7 files changed, 53 insertions(+), 58 deletions(-)
Signature · 1 line
2.19.1.6.gb485710b