Skip to content

KVM backports to 5.10

Rishabh Bhatnagar kvm stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9KVM: x86: Ensure PV TLB flush tracepoint reflects KVM behaviorarch/x86/kvm/x86.c+4 -20 replies
2/9KVM: x86: Fix recording of guest steal time / preempted statusarch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c+76 -310 replies
3/9KVM: Fix steal time asm constraintsarch/x86/kvm/x86.c+3 -30 replies
4/9KVM: x86: Remove obsolete disabling of page faults in kvm_arch_vcpu_put()arch/x86/kvm/x86.c+0 -100 replies
5/9KVM: x86: do not set st->preempted when going back to user spacearch/x86/kvm/x86.c+10 -80 replies
6/9KVM: x86: do not report a vCPU as preempted outside instruction boundariesarch/x86/include/asm/kvm_host.h arch/x86/kvm/svm/svm.c arch/x86/kvm/vmx/vmx.c +1 more+28 -00 replies
7/9KVM: x86: revalidate steal time cache if MSR value changesarch/x86/kvm/x86.c+3 -30 replies
8/9KVM: x86: do not report preemption if the steal time cache is stalearch/x86/kvm/x86.c+2 -00 replies
9/9KVM: x86: move guest_pv_has out of user_access sectionarch/x86/kvm/x86.c+6 -30 replies

Reviews trailers per patch

None of the 9 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDr. David Alan GilbertSean ChristophersonAllen Pais
SeriesA-b T-b
1/9
2/9
3/9
4/9
5/9
6/9
7/9Analyzed-by
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/9] KVM backports to 5.10

This patch series backports a few VM preemption_status, steal_time and PV TLB flushing fixes to 5.10 stable kernel.

Most of the changes backport cleanly except i had to work around a few becauseof missing support/APIs in 5.10 kernel. I have captured those in the changelog as well in the individual patches.

Changelog
- Use mark_page_dirty_in_slot api without kvm argument (KVM: x86: Fix recording of guest steal time / preempted status)
- Avoid checking for xen_msr and SEV-ES conditions (KVM: x86:
do not set st->preempted when going back to user space)
- Use VCPU_STAT macro to expose preemption_reported and preemption_other fields (KVM: x86: do not report a vCPU as preempted outside instruction boundaries)

David Woodhouse (2):
KVM: x86: Fix recording of guest steal time / preempted status
KVM: Fix steal time asm constraints

Lai Jiangshan (1):
KVM: x86: Ensure PV TLB flush tracepoint reflects KVM behavior

Paolo Bonzini (5):
KVM: x86: do not set st->preempted when going back to user space
KVM: x86: do not report a vCPU as preempted outside instruction
boundaries
KVM: x86: revalidate steal time cache if MSR value changes
KVM: x86: do not report preemption if the steal time cache is stale
KVM: x86: move guest_pv_has out of user_access section

Sean Christopherson (1):
KVM: x86: Remove obsolete disabling of page faults in

    kvm_arch_vcpu_put()
 arch/x86/include/asm/kvm_host.h |   5 +-
 arch/x86/kvm/svm/svm.c          |   2 +
 arch/x86/kvm/vmx/vmx.c          |   1 +
 arch/x86/kvm/x86.c              | 164 ++++++++++++++++++++++----------
 4 files changed, 122 insertions(+), 50 deletions(-)
Signature · 1 line
2.37.1