Skip to content

HV KVM fixes, reposted

Paul Mackerras kvm kvm-ppc 1 version Applied

Status from this message: Thanks, applied to kvm-ppc-next.

Get series with b4
b4 am 20120921051606.GA15685@drongo

Versions newest first

  1. v1 Latest10 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/10KVM: PPC: Book3S HV: Provide a way for userspace to get/set per-vCPU areasDocumentation/virtual/kvm/api.txt arch/powerpc/include/asm/kvm_ppc.h arch/powerpc/kvm/book3s_hv.c +2 more+125 -11 reply
2/10KVM: PPC: Book3S HV: Allow KVM guests to stop secondary threads coming onlinearch/powerpc/include/asm/smp.h arch/powerpc/kernel/smp.c arch/powerpc/kvm/book3s_hv.c+64 -22 replies
3/10KVM: PPC: Book3S HV: Fix updates of vcpu->cpuarch/powerpc/kvm/book3s_pr.c arch/powerpc/kvm/booke.c arch/powerpc/kvm/powerpc.c+4 -31 reply
4/10KVM: PPC: Book3S HV: Remove bogus update of physical thread IDsarch/powerpc/kvm/book3s_hv.c+0 -61 reply
5/10KVM: PPC: Book3S HV: Fix some races in starting secondary threadsarch/powerpc/kvm/book3s_hv.c arch/powerpc/kvm/book3s_hv_rmhandlers.S+32 -200 replies
6/10KVM: PPC: Book3s HV: Don't access runnable threads list without vcore lockarch/powerpc/include/asm/kvm_asm.h arch/powerpc/kvm/book3s_hv.c+31 -342 replies
7/10KVM: PPC: Book3S HV: Fixes for late-joining threadsarch/powerpc/include/asm/kvm_host.h arch/powerpc/kvm/book3s_hv.c+15 -60 replies
8/10KVM: PPC: Book3S HV: Run virtual core whenever any vcpus in it can runarch/powerpc/include/asm/kvm_host.h arch/powerpc/kvm/book3s_hv.c+40 -390 replies
9/10KVM: PPC: Book3S HV: Fix accounting of stolen timearch/powerpc/include/asm/kvm_host.h arch/powerpc/kvm/book3s_hv.c+117 -151 reply
10/10KVM: PPC: Book3S HV: Fix calculation of guest phys address for MMIO emulationarch/powerpc/kvm/book3s_64_mmu_hv.c+4 -51 reply

Reviews trailers per patch

1 of 10 patches has a Reviewed-by or Acked-by.

PatchBenjamin Herrenschmidt
1/10
2/10A-b
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

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/10] HV KVM fixes, reposted

This is a repost of 10 patches out of a series of 12 that I posted more than three weeks ago that have had no comments but have not yet been applied. They have been rediffed against Alex Graf's current kvm-ppc-next branch.

This series contains various fixes collected during the process of getting reboot of Book3S HV guests to work correctly, plus some needed for Ben H's forthcoming series to implement in-kernel XICS (interrupt controller) emulation. As part of getting reboot to work, we have relaxed the previous policy where, on POWER7, a virtual core would only run when all of the vcpus in it were ready to run (or were idle). Now a virtual core will run as soon as any one of its vcpus are ready. This avoids the problem where the guest wouldn't run after reboot because userspace (qemu) had stopped all except cpu 0.

Please apply.

Paul.