Skip to content

KVM: towards maintainable kvm_make_all_cpus_request()

Radim Krčmář kvm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 14 repliesIn review
  2. v16 patches 22 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9KVM: add kvm_{test,clear}_request to replace {test,clear}_bitarch/mips/kvm/emulate.c arch/powerpc/kvm/book3s_pr.c arch/powerpc/kvm/book3s_pr_papr.c +6 more+24 -142 replies
2/9KVM: x86: always use kvm_make_request instead of set_bitarch/x86/kvm/x86.c+2 -81 reply
3/9KVM: remove #ifndef CONFIG_S390 around kvm_vcpu_wake_upvirt/kvm/kvm_main.c+0 -24 replies
4/9KVM: mark requests that do not need a wakeuparch/arm/include/asm/kvm_host.h arch/arm64/include/asm/kvm_host.h arch/x86/include/asm/kvm_host.h +1 more+12 -102 replies
5/9KVM: perform a wake_up in kvm_make_all_cpus_requestvirt/kvm/kvm_main.c+3 -03 replies
6/9KVM: add explicit barrier to kvm_vcpu_kickarch/x86/kvm/x86.c include/linux/kvm_host.h virt/kvm/kvm_main.c+7 -40 replies
7/9KVM: improve arch vcpu request definingarch/arm/include/asm/kvm_host.h arch/arm64/include/asm/kvm_host.h arch/powerpc/include/asm/kvm_host.h +3 more+37 -291 reply
8/9KVM: return if kvm_vcpu_wake_up() did wake up the VCPUinclude/linux/kvm_host.h virt/kvm/kvm_main.c+9 -51 reply
9/9KVM: mark requests that need synchronizationarch/arm/include/asm/kvm_host.h arch/arm64/include/asm/kvm_host.h arch/x86/include/asm/kvm_host.h +2 more+24 -102 replies

Reviews trailers per patch

7 of 9 patches have a Reviewed-by or Acked-by.

PatchChristian BorntraegerDavid HildenbrandAndrew JonesCornelia Huck
1/9R-b R-b R-b
2/9R-b R-b
3/9A-b R-b A-b
4/9R-b R-b
5/9R-b
6/9
7/9R-b
8/9R-b
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 4 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/9] KVM: towards maintainable kvm_make_all_cpus_request()

v2 doesn't use kvm_arch_vcpu_should_kick() and hence avoids the big bug discovered by James. Instead, the last just exposes the synchronization behavior and prepares it for future merging with kvm_arch_vcpu_should_kick().

v2 also constains two patches from Andrew that applied without any changes and a simple optimization for wakeups.

v1: http://www.spinics.net/lists/kvm/msg147898.html

Andrew Jones (2):
KVM: add explicit barrier to kvm_vcpu_kick
KVM: improve arch vcpu request defining

Radim Krčmář (7):
KVM: add kvm_{test,clear}_request to replace {test,clear}_bit
KVM: x86: always use kvm_make_request instead of set_bit
KVM: remove #ifndef CONFIG_S390 around kvm_vcpu_wake_up
KVM: mark requests that do not need a wakeup
KVM: perform a wake_up in kvm_make_all_cpus_request
KVM: return if kvm_vcpu_wake_up() did wake up the VCPU
KVM: mark requests that need synchronization

 arch/arm/include/asm/kvm_host.h     |  2 +-
 arch/arm64/include/asm/kvm_host.h   |  2 +-
 arch/mips/kvm/emulate.c             |  2 +-
 arch/powerpc/include/asm/kvm_host.h |  4 ++--
 arch/powerpc/kvm/book3s_pr.c        |  2 +-
 arch/powerpc/kvm/book3s_pr_papr.c   |  2 +-
 arch/powerpc/kvm/booke.c            |  4 ++--
 arch/powerpc/kvm/powerpc.c          |  2 +-
 arch/s390/include/asm/kvm_host.h    |  6 ++---
 arch/s390/kvm/kvm-s390.c            |  2 +-
 arch/x86/include/asm/kvm_host.h     | 44 ++++++++++++++++++-------------------
 arch/x86/kvm/vmx.c                  |  2 +-
 arch/x86/kvm/x86.c                  | 20 ++++++-----------
 include/linux/kvm_host.h            | 42 ++++++++++++++++++++++++++++++-----
 virt/kvm/kvm_main.c                 | 30 +++++++++++++++++--------
 15 files changed, 101 insertions(+), 65 deletions(-)
Signature · 1 line
2.12.2