Skip to content

kvm_arch_vcpu_runnable related improvements

Andrew Jones kvmarm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5KVM: arm/arm64: tidy 'should sleep' conditionsvirt/kvm/arm/arm.c+11 -71 reply
2/5KVM: arm/arm64: replace power_off with mp_state=STOPPEDarch/arm/include/asm/kvm_host.h arch/arm64/include/asm/kvm_host.h virt/kvm/arm/arm.c +1 more+27 -284 replies
3/5KVM: arm/arm64: factor out common wfe/wfi emulation codearch/arm/include/asm/kvm_host.h arch/arm/kvm/handle_exit.c arch/arm64/include/asm/kvm_host.h +3 more+34 -263 replies
4/5KVM: arm/arm64: improve kvm_arch_vcpu_runnableDocumentation/virtual/kvm/api.txt virt/kvm/arm/arm.c+15 -83 replies
5/5KVM: arm/arm64: kvm_arch_vcpu_runnable: don't miss injected irqsvirt/kvm/arm/arm.c+1 -17 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarc ZyngierChristoffer Dall
SeriesA-b
1/5A-b
2/5R-b
3/5A-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] kvm_arch_vcpu_runnable related improvements

Only patch 5/5 fixes anything, and that's just a theoretical bug, but, IMHO, this series future-proofs and improves the maintainability of the code. See https://www.spinics.net/lists/kvm-arm/msg27254.html
for a TL;DR analysis that led to this series.

Thanks,
drew

Andrew Jones (5):
KVM: arm/arm64: tidy 'should sleep' conditions
KVM: arm/arm64: replace power_off with mp_state=STOPPED
KVM: arm/arm64: factor out common wfe/wfi emulation code
KVM: arm/arm64: improve kvm_arch_vcpu_runnable
KVM: arm/arm64: kvm_arch_vcpu_runnable: don't miss injected irqs

 Documentation/virtual/kvm/api.txt | 10 +++---
 arch/arm/include/asm/kvm_host.h   |  8 +++--
 arch/arm/kvm/handle_exit.c        | 14 +++------
 arch/arm64/include/asm/kvm_host.h |  8 +++--
 arch/arm64/kvm/handle_exit.c      | 14 +++------
 virt/kvm/arm/arm.c                | 64 +++++++++++++++++++++++++++------------
 virt/kvm/arm/psci.c               | 32 ++++++++------------
 7 files changed, 84 insertions(+), 66 deletions(-)
Signature · 1 line
2.13.5