KVM: x86: Backports for 6.6.y
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest20 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/20 | KVM: x86/hyper-v: Skip non-canonical addresses during PV TLB flusharch/ | +3 | 0 replies | |
| 2/20 | KVM: SVM: Set RFLAGS.IF=1 in C code, to get VMRUN out of the STI shadowarch/ arch/ | +15 | 0 replies | |
| 3/20 | KVM: x86: Plumb in the vCPU to kvm_x86_ops.hwapic_isr_update()arch/ arch/ arch/ | +6 | 0 replies | |
| 4/20 | KVM: nVMX: Defer SVI update to vmcs01 on EOI when L2 is active w/o VIDarch/ arch/ arch/ +2 more | +34 | 0 replies | |
| 5/20 | KVM: x86: Take irqfds.lock when adding/deleting IRQ bypass producerarch/ | +15 | 0 replies | |
| 6/20 | KVM: x86: Snapshot the host's DEBUGCTL in common x86arch/ arch/ arch/ +1 more | +4 | 0 replies | |
| 7/20 | KVM: x86: Snapshot the host's DEBUGCTL after disabling IRQsarch/ | +2 | 0 replies | |
| 8/20 | KVM: x86: Plumb "force_immediate_exit" into kvm_entry() tracepointarch/ arch/ arch/ +2 more | +14 | 0 replies | |
| 9/20 | KVM: VMX: Re-enter guest in fastpath for "spurious" preemption timer exitsarch/ | +9 | 0 replies | |
| 10/20 | KVM: VMX: Handle forced exit due to preemption timer in fastpatharch/ | +8 | 0 replies | |
| 11/20 | KVM: x86: Move handling of is_guest_mode() into fastpath exit handlersarch/ arch/ | +6 | 0 replies | |
| 12/20 | KVM: VMX: Handle KVM-induced preemption timer exits in fastpath for L2arch/ | +20 | 0 replies | |
| 13/20 | KVM: x86: Fully defer to vendor code to decide how to force immediate exitarch/ arch/ arch/ +3 more | +19 | 0 replies | |
| 14/20 | KVM: x86: Convert vcpu_run()'s immediate exit param into a generic bitmaparch/ arch/ arch/ +1 more | +17 | 0 replies | |
| 15/20 | KVM: x86: Drop kvm_x86_ops.set_dr6() in favor of a new KVM_RUN flagarch/ arch/ arch/ +2 more | +11 | 0 replies | |
| 16/20 | KVM: VMX: Allow guest to set DEBUGCTL.RTM_DEBUG if RTM is supportedarch/ arch/ | +5 | 0 replies | |
| 17/20 | KVM: VMX: Extract checking of guest's DEBUGCTL into helperarch/ | +17 | 0 replies | |
| 18/20 | KVM: nVMX: Check vmcs12->guest_ia32_debugctl on nested VM-Enterarch/ arch/ arch/ | +15 | 0 replies | |
| 19/20 | KVM: VMX: Wrap all accesses to IA32_DEBUGCTL with getter/setter APIsarch/ arch/ arch/ +1 more | +24 | 0 replies | |
| 20/20 | KVM: VMX: Preserve host's DEBUGCTLMSR_FREEZE_IN_SMM while running the guestarch/ arch/ arch/ +2 more | +41 | 0 replies |
Reviews trailers per patch
5 of 20 patches have a Reviewed-by or Acked-by.
| Patch | Jim Mattson | Chao Gao | Xiaoyao Li | Ravi Bangoria | Dapeng Mi |
|---|---|---|---|---|---|
| 1/20 | |||||
| 2/20 | R-b | ||||
| 3/20 | R-b T-b | ||||
| 4/20 | T-b | ||||
| 5/20 | |||||
| 6/20 | R-b | Reviewed-and-tested-by | |||
| 7/20 | Reviewed-and-tested-by | ||||
| 8/20 | |||||
| 9/20 | |||||
| 10/20 | |||||
| 11/20 | |||||
| 12/20 | |||||
| 13/20 | |||||
| 14/20 | |||||
| 15/20 | |||||
| 16/20 | |||||
| 17/20 | R-b | ||||
| 18/20 | |||||
| 19/20 | R-b | ||||
| 20/20 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH 6.6.y 00/20] KVM: x86: Backports for 6.6.y
Same spiel as the 6.1.y collection...
This is a collection of backports for patches that were Cc'd to stable, but failed to apply, along with their dependencies.
Note, Sasha already posted[1][2] these (and I acked them):
KVM: VMX: Allow guest to set DEBUGCTL.RTM_DEBUG if RTM is supported
KVM: x86/pmu: Gate all "unimplemented MSR" prints on report_ignored_msrs
KVM: VMX: Extract checking of guest's DEBUGCTL into helper
KVM: nVMX: Check vmcs12->guest_ia32_debugctl on nested VM-Enter
KVM: VMX: Wrap all accesses to IA32_DEBUGCTL with getter/setter APIs
I'm including them here to hopefully make life easier for y'all, and because the order they are presented here is the preferred ordering, i.e. should be the same ordering as the original upstream patches.
But, if you end up grabbing Sasha's patches first, it's not a big deal as the only true dependencies is that the DEBUGCTL.RTM_DEBUG patch needs to land before "Check vmcs12->guest_ia32_debugctl on nested VM-Enter".
Many of the patches to get to the last patch (the DEBUGCTLMSR_FREEZE_IN_SMM fix) are dependencies that arguably shouldn't be backported to LTS kernels. I opted to do the backports because none of the patches are scary (if it was 1-3 dependency patches instead of 8 I wouldn't hesitate), and there's a decent chance they'll be dependencies for future fixes.
[1] https://lore.kernel.org/all/[email protected]
[2] https://lore.kernel.org/all/[email protected]
Chao Gao (1):
KVM: nVMX: Defer SVI update to vmcs01 on EOI when L2 is active w/o VID
Manuel Andreas (1):
KVM: x86/hyper-v: Skip non-canonical addresses during PV TLB flush
Maxim Levitsky (3):
KVM: nVMX: Check vmcs12->guest_ia32_debugctl on nested VM-Enter
KVM: VMX: Wrap all accesses to IA32_DEBUGCTL with getter/setter APIs
KVM: VMX: Preserve host's DEBUGCTLMSR_FREEZE_IN_SMM while running the
guest
Sean Christopherson (15):
KVM: SVM: Set RFLAGS.IF=1 in C code, to get VMRUN out of the STI
shadow
KVM: x86: Plumb in the vCPU to kvm_x86_ops.hwapic_isr_update()
KVM: x86: Take irqfds.lock when adding/deleting IRQ bypass producer
KVM: x86: Snapshot the host's DEBUGCTL in common x86
KVM: x86: Snapshot the host's DEBUGCTL after disabling IRQs
KVM: x86: Plumb "force_immediate_exit" into kvm_entry() tracepoint
KVM: VMX: Re-enter guest in fastpath for "spurious" preemption timer
exits
KVM: VMX: Handle forced exit due to preemption timer in fastpath
KVM: x86: Move handling of is_guest_mode() into fastpath exit handlers
KVM: VMX: Handle KVM-induced preemption timer exits in fastpath for L2
KVM: x86: Fully defer to vendor code to decide how to force immediate
exit
KVM: x86: Convert vcpu_run()'s immediate exit param into a generic
bitmap
KVM: x86: Drop kvm_x86_ops.set_dr6() in favor of a new KVM_RUN flag
KVM: VMX: Allow guest to set DEBUGCTL.RTM_DEBUG if RTM is supported
KVM: VMX: Extract checking of guest's DEBUGCTL into helper
arch/x86/include/asm/kvm-x86-ops.h | 2 - arch/x86/include/asm/kvm_host.h | 22 ++-- arch/x86/include/asm/msr-index.h | 1 + arch/x86/kvm/hyperv.c | 3 + arch/x86/kvm/lapic.c | 19 +++- arch/x86/kvm/lapic.h | 1 + arch/x86/kvm/svm/svm.c | 42 +++++--- arch/x86/kvm/svm/vmenter.S | 9 +- arch/x86/kvm/trace.h | 9 +- arch/x86/kvm/vmx/nested.c | 26 ++++- arch/x86/kvm/vmx/pmu_intel.c | 8 +- arch/x86/kvm/vmx/vmx.c | 164 +++++++++++++++++++---------- arch/x86/kvm/vmx/vmx.h | 31 +++++- arch/x86/kvm/x86.c | 46 +++++--- 14 files changed, 265 insertions(+), 118 deletions(-)
base-commit: 3a8ababb8b6a0ced2be230b60b6e3ddbd8d67014
Signature · 1 line
2.51.0.rc1.163.g2494970778-goog