Skip to content

My patch queue

Maxim Levitsky kvm lkml stable 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/230 patches 5 repliesIn review
  2. v1 posting 1/230 patches 2 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/30KVM: x86: SVM: don't passthrough SMAP/SMEP/PKE bits in !NPT && !gCR0.PG casearch/x86/kvm/svm/svm.c+10 -20 replies
2/30KVM: x86: nSVM: fix potential NULL derefernce on nested migrationarch/x86/kvm/svm/nested.c+14 -120 replies
3/30KVM: x86: nSVM: mark vmcb01 as dirty when restoring SMM saved statearch/x86/kvm/svm/svm.c+2 -00 replies
4/30KVM: x86: nSVM/nVMX: set nested_run_pending on VM entry which is a result of RSMarch/x86/kvm/svm/svm.c arch/x86/kvm/vmx/vmx.c+6 -00 replies
5/30KVM: x86: nSVM: expose clean bit support to the guestarch/x86/kvm/svm/svm.c+1 -00 replies
6/30KVM: x86: mark syntethic SMM vmexit as SVM_EXIT_SWarch/x86/kvm/svm/svm.c+1 -10 replies
7/30KVM: x86: nSVM: deal with L1 hypervisor that intercepts interrupts but lets L2 control themarch/x86/kvm/svm/svm.c+13 -43 replies
8/30KVM: x86: lapic: don't touch irr_pending in kvm_apic_update_apicv when inhibiting itarch/x86/kvm/lapic.c+6 -10 replies
9/30KVM: x86: SVM: move avic definitions from AMD's spec to svm.harch/x86/include/asm/msr-index.h arch/x86/include/asm/svm.h arch/x86/kvm/svm/avic.c +1 more+38 -320 replies
10/30KVM: x86: SVM: fix race between interrupt delivery and AVIC inhibitionarch/x86/kvm/svm/avic.c arch/x86/kvm/svm/svm.c arch/x86/kvm/svm/svm.h +1 more+82 -630 replies
11/30KVM: x86: SVM: use vmcb01 in avic_init_vmcbarch/x86/kvm/svm/avic.c+1 -10 replies
12/30KVM: x86: SVM: allow AVIC to co-exist with a nested guest runningarch/x86/include/asm/kvm-x86-ops.h arch/x86/include/asm/kvm_host.h arch/x86/kvm/svm/avic.c +4 more+61 -200 replies
13/30KVM: x86: lapic: don't allow to change APIC ID when apic acceleration is enabledarch/x86/kvm/lapic.c+22 -60 replies
14/30KVM: x86: lapic: don't allow to change local apic id when using older x2apic apiarch/x86/kvm/lapic.c+9 -90 replies
15/30KVM: x86: SVM: remove avic's broken code that updated APIC IDarch/x86/kvm/svm/avic.c+0 -350 replies
16/30KVM: x86: SVM: allow to force AVIC to be enabledarch/x86/kvm/svm/svm.c+9 -20 replies
17/30KVM: x86: mmu: trace kvm_mmu_set_spte after the new SPTE was setarch/x86/kvm/mmu/mmu.c+1 -10 replies
18/30KVM: x86: mmu: add strict mmu modearch/x86/kvm/mmu/mmu.c+11 -20 replies
19/30KVM: x86: mmu: add gfn_in_memslot helperinclude/linux/kvm_host.h+9 -10 replies
20/30KVM: x86: mmu: allow to enable write tracking externallyarch/x86/include/asm/kvm_host.h arch/x86/include/asm/kvm_page_track.h arch/x86/kvm/mmu.h +2 more+24 -130 replies
21/30x86: KVMGT: use kvm_page_track_write_tracking_enablearch/x86/kvm/Kconfig arch/x86/kvm/mmu/mmu.c drivers/gpu/drm/i915/Kconfig +1 more+6 -50 replies
22/30KVM: x86: nSVM: correctly virtualize LBR msrs when L2 is runningarch/x86/kvm/svm/nested.c arch/x86/kvm/svm/svm.c arch/x86/kvm/svm/svm.h+92 -190 replies
23/30KVM: x86: nSVM: implement nested LBR virtualizationarch/x86/kvm/svm/nested.c arch/x86/kvm/svm/svm.c arch/x86/kvm/svm/svm.h+28 -20 replies
24/30KVM: x86: nSVM: implement nested VMLOAD/VMSAVEarch/x86/kvm/svm/nested.c arch/x86/kvm/svm/svm.c arch/x86/kvm/svm/svm.h+43 -70 replies
25/30KVM: x86: nSVM: support PAUSE filter threshold and count when cpu_pm=onarch/x86/kvm/svm/nested.c arch/x86/kvm/svm/svm.c arch/x86/kvm/svm/svm.h+25 -00 replies
26/30KVM: x86: nSVM: implement nested vGIFarch/x86/kvm/svm/nested.c arch/x86/kvm/svm/svm.c arch/x86/kvm/svm/svm.h+39 -80 replies
27/30KVM: x86: add force_intercept_exceptions_maskarch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c arch/x86/kvm/x86.h+21 -00 replies
28/30KVM: SVM: implement force_intercept_exceptions_maskarch/x86/include/asm/kvm_host.h arch/x86/include/uapi/asm/kvm.h arch/x86/kvm/svm/svm.c +3 more+101 -50 replies
29/30KVM: VMX: implement force_intercept_exceptions_maskarch/x86/kvm/vmx/nested.c arch/x86/kvm/vmx/vmcs.h arch/x86/kvm/vmx/vmx.c+54 -70 replies
30/30KVM: x86: get rid of KVM_REQ_GET_NESTED_STATE_PAGESarch/x86/include/asm/kvm_host.h arch/x86/kvm/hyperv.c arch/x86/kvm/svm/nested.c +4 more+45 -1230 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH RESEND 00/30] My patch queue

This is set of various patches that are stuck in my patch queue.

KVM_REQ_GET_NESTED_STATE_PAGES patch is mostly RFC, but it does seem to work for me.

Read-only APIC ID is also somewhat RFC.

Some of these patches are preparation for support for nested AVIC which I almost done developing, and will start testing very soon.

Resend with cleaned up CCs.

Best regards,
Maxim Levitsky

Maxim Levitsky (30):
KVM: x86: SVM: don't passthrough SMAP/SMEP/PKE bits in !NPT &&
!gCR0.PG case
KVM: x86: nSVM: fix potential NULL derefernce on nested migration
KVM: x86: nSVM: mark vmcb01 as dirty when restoring SMM saved state
KVM: x86: nSVM/nVMX: set nested_run_pending on VM entry which is a
result of RSM
KVM: x86: nSVM: expose clean bit support to the guest
KVM: x86: mark syntethic SMM vmexit as SVM_EXIT_SW
KVM: x86: nSVM: deal with L1 hypervisor that intercepts interrupts but
lets L2 control them
KVM: x86: lapic: don't touch irr_pending in kvm_apic_update_apicv when
inhibiting it
KVM: x86: SVM: move avic definitions from AMD's spec to svm.h
KVM: x86: SVM: fix race between interrupt delivery and AVIC inhibition
KVM: x86: SVM: use vmcb01 in avic_init_vmcb
KVM: x86: SVM: allow AVIC to co-exist with a nested guest running
KVM: x86: lapic: don't allow to change APIC ID when apic acceleration
is enabled
KVM: x86: lapic: don't allow to change local apic id when using older
x2apic api
KVM: x86: SVM: remove avic's broken code that updated APIC ID
KVM: x86: SVM: allow to force AVIC to be enabled
KVM: x86: mmu: trace kvm_mmu_set_spte after the new SPTE was set
KVM: x86: mmu: add strict mmu mode
KVM: x86: mmu: add gfn_in_memslot helper
KVM: x86: mmu: allow to enable write tracking externally
x86: KVMGT: use kvm_page_track_write_tracking_enable
KVM: x86: nSVM: correctly virtualize LBR msrs when L2 is running
KVM: x86: nSVM: implement nested LBR virtualization
KVM: x86: nSVM: implement nested VMLOAD/VMSAVE
KVM: x86: nSVM: support PAUSE filter threshold and count when
cpu_pm=on
KVM: x86: nSVM: implement nested vGIF
KVM: x86: add force_intercept_exceptions_mask
KVM: SVM: implement force_intercept_exceptions_mask
KVM: VMX: implement force_intercept_exceptions_mask
KVM: x86: get rid of KVM_REQ_GET_NESTED_STATE_PAGES

 arch/x86/include/asm/kvm-x86-ops.h    |   1 +
 arch/x86/include/asm/kvm_host.h       |  24 +-
 arch/x86/include/asm/kvm_page_track.h |   1 +
 arch/x86/include/asm/msr-index.h      |   1 +
 arch/x86/include/asm/svm.h            |  36 +++
 arch/x86/include/uapi/asm/kvm.h       |   1 +
 arch/x86/kvm/Kconfig                  |   3 -
 arch/x86/kvm/hyperv.c                 |   4 +
 arch/x86/kvm/lapic.c                  |  53 ++--
 arch/x86/kvm/mmu.h                    |   8 +-
 arch/x86/kvm/mmu/mmu.c                |  31 ++-
 arch/x86/kvm/mmu/page_track.c         |  10 +-
 arch/x86/kvm/svm/avic.c               | 135 +++-------
 arch/x86/kvm/svm/nested.c             | 167 +++++++-----
 arch/x86/kvm/svm/svm.c                | 375 ++++++++++++++++++++++----
 arch/x86/kvm/svm/svm.h                |  60 +++--
 arch/x86/kvm/svm/svm_onhyperv.c       |   1 +
 arch/x86/kvm/vmx/nested.c             | 107 +++-----
 arch/x86/kvm/vmx/vmcs.h               |   6 +
 arch/x86/kvm/vmx/vmx.c                |  48 +++-
 arch/x86/kvm/x86.c                    |  42 ++-
 arch/x86/kvm/x86.h                    |   5 +
 drivers/gpu/drm/i915/Kconfig          |   1 -
 drivers/gpu/drm/i915/gvt/kvmgt.c      |   5 +
 include/linux/kvm_host.h              |  10 +-
 25 files changed, 764 insertions(+), 371 deletions(-)
Signature · 1 line
2.26.3