public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/23] Bug fixes and improvements for HV KVM
@ 2015-03-20  9:39 Paul Mackerras
  2015-03-20  9:39 ` [PATCH 01/23] KVM: PPC: Book3S HV: Fix spinlock/mutex ordering issue in kvmppc_set_lpcr() Paul Mackerras
                   ` (24 more replies)
  0 siblings, 25 replies; 40+ messages in thread
From: Paul Mackerras @ 2015-03-20  9:39 UTC (permalink / raw)
  To: kvm-ppc, kvm; +Cc: Alexander Graf

This is my current patch queue for HV KVM on PPC.  This series is
based on the "queue" branch of the KVM tree, i.e. roughly v4.0-rc3
plus a set of recent KVM changes which don't intersect with the
changes in this series.  On top of that, in my testing I have some
patches which are not KVM-related but are needed to boot and run a
recent upstream kernel successfully:

tick/broadcast-hrtimer : Fix suspicious RCU usage in idle loop
tick/hotplug: Handover time related duties before cpu offline
powerpc/powernv: Check image loaded or not before calling flash
powerpc/powernv: Fixes for hypervisor doorbell handling
powerpc/powernv: Fix return value from power7_nap() et al.
powerpc: Export __spin_yield

These patches have been posted by their authors and are on their way
upstream via various trees.  They are not included in this series.

The first three patches are bug fixes that should go into v4.0 if
possible.  The remainder are intended for the 4.1 merge window.

The patch "powerpc: Export __spin_yield" is a prerequisite for patch
9/23 of this series ("KVM: PPC: Book3S HV: Convert ICS mutex lock to
spin lock").  It is on its way upstream through the linuxppc-dev
mailing list.

The patch "powerpc/powernv: Fixes for hypervisor doorbell handling" is
needed for correct operation with patch 20/23, "KVM: PPC: Book3S HV:
Use msgsnd for signalling threads".  It is also on its way upstream
through the linuxppc-dev list.  I am expecting both of these
prerequisite patches to go into 4.0.

Finally, the last patch in this series converts some of the assembly
code in book3s_hv_rmhandlers.S into C.  I intend to continue this
trend.

Paul.

 Documentation/virtual/kvm/api.txt        |  17 +
 arch/powerpc/include/asm/archrandom.h    |  11 +-
 arch/powerpc/include/asm/kvm_book3s_64.h |  18 ++
 arch/powerpc/include/asm/kvm_host.h      |  45 ++-
 arch/powerpc/include/asm/kvm_ppc.h       |   2 +
 arch/powerpc/include/asm/time.h          |   3 +
 arch/powerpc/kernel/asm-offsets.c        |  19 +-
 arch/powerpc/kernel/time.c               |   6 +
 arch/powerpc/kvm/book3s_64_mmu_hv.c      | 189 +++++++++--
 arch/powerpc/kvm/book3s_hv.c             | 413 +++++++++++++++++-------
 arch/powerpc/kvm/book3s_hv_builtin.c     |  98 +++++-
 arch/powerpc/kvm/book3s_hv_rm_mmu.c      |  25 +-
 arch/powerpc/kvm/book3s_hv_rm_xics.c     | 239 ++++++++++++--
 arch/powerpc/kvm/book3s_hv_rmhandlers.S  | 524 +++++++++++++++++++++++--------
 arch/powerpc/kvm/book3s_xics.c           | 114 +++++--
 arch/powerpc/kvm/book3s_xics.h           |  13 +-
 arch/powerpc/kvm/powerpc.c               |   3 +
 arch/powerpc/platforms/powernv/rng.c     |  29 ++
 include/uapi/linux/kvm.h                 |   1 +
 virt/kvm/kvm_main.c                      |   1 +
 20 files changed, 1401 insertions(+), 369 deletions(-)

^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2015-03-23  8:31 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-20  9:39 [PATCH 00/23] Bug fixes and improvements for HV KVM Paul Mackerras
2015-03-20  9:39 ` [PATCH 01/23] KVM: PPC: Book3S HV: Fix spinlock/mutex ordering issue in kvmppc_set_lpcr() Paul Mackerras
2015-03-20  9:39 ` [PATCH 02/23] KVM: PPC: Book3S HV: Endian fix for accessing VPA yield count Paul Mackerras
2015-03-20  9:39 ` [PATCH 03/23] KVM: PPC: Book3S HV: Fix instruction emulation Paul Mackerras
2015-03-20  9:39 ` [PATCH 04/23] KVM: PPC: Book3S HV: Add fast real-mode H_RANDOM implementation Paul Mackerras
2015-03-20  9:39 ` [PATCH 05/23] KVM: PPC: Book3S HV: Remove RMA-related variables from code Paul Mackerras
2015-03-20  9:39 ` [PATCH 06/23] KVM: PPC: Book3S HV: Add helpers for lock/unlock hpte Paul Mackerras
2015-03-20  9:39 ` [PATCH 07/23] KVM: PPC: Book3S: Allow reuse of vCPU object Paul Mackerras
2015-03-20 11:01   ` Alexander Graf
2015-03-20 11:26     ` Paul Mackerras
2015-03-20 11:34       ` Alexander Graf
2015-03-20 15:51         ` Bharata B Rao
2015-03-21 14:58           ` Alexander Graf
2015-03-23  7:50             ` Bharata B Rao
2015-03-23  8:31               ` Alexander Graf
2015-03-20  9:39 ` [PATCH 08/23] KVM: PPC: Book3S HV: Add guest->host real mode completion counters Paul Mackerras
2015-03-20  9:39 ` [PATCH 09/23] KVM: PPC: Book3S HV: Convert ICS mutex lock to spin lock Paul Mackerras
2015-03-20  9:39 ` [PATCH 10/23] KVM: PPC: Book3S HV: Move virtual mode ICP functions to real-mode Paul Mackerras
2015-03-20  9:39 ` [PATCH 11/23] KVM: PPC: Book3S HV: Add ICP real mode counters Paul Mackerras
2015-03-20  9:39 ` [PATCH 12/23] KVM: PPC: Book3S HV: Create debugfs file for each guest's HPT Paul Mackerras
2015-03-20 11:20   ` Alexander Graf
2015-03-20  9:39 ` [PATCH 13/23] KVM: PPC: Book3S HV: Accumulate timing information for real-mode code Paul Mackerras
2015-03-20 11:15   ` Alexander Graf
2015-03-20 11:25     ` Paul Mackerras
2015-03-20 11:35       ` Alexander Graf
2015-03-22 22:57         ` Paul Mackerras
2015-03-20  9:39 ` [PATCH 14/23] KVM: PPC: Book3S HV: Simplify handling of VCPUs that need a VPA update Paul Mackerras
2015-03-20  9:39 ` [PATCH 15/23] KVM: PPC: Book3S HV: Minor cleanups Paul Mackerras
2015-03-20  9:39 ` [PATCH 16/23] KVM: PPC: Book3S HV: Move vcore preemption point up into kvmppc_run_vcpu Paul Mackerras
2015-03-20  9:39 ` [PATCH 17/23] KVM: PPC: Book3S HV: Get rid of vcore nap_count and n_woken Paul Mackerras
2015-03-20  9:39 ` [PATCH 18/23] KVM: PPC: Book3S HV: Don't wake thread with no vcpu on guest IPI Paul Mackerras
2015-03-20  9:39 ` [PATCH 19/23] KVM: PPC: Book3S HV: Use decrementer to wake napping threads Paul Mackerras
2015-03-20  9:39 ` [PATCH 20/23] KVM: PPC: Book3S HV: Use msgsnd for signalling threads on POWER8 Paul Mackerras
2015-03-20 11:28   ` Alexander Graf
2015-03-23  0:44     ` Paul Mackerras
2015-03-20  9:39 ` [PATCH 21/23] KVM: PPC: Book3S HV: Streamline guest entry and exit Paul Mackerras
2015-03-20  9:39 ` [PATCH 22/23] KVM: PPC: Book3S HV: Use bitmap of active threads rather than count Paul Mackerras
2015-03-20  9:40 ` [PATCH 23/23] KVM: PPC: Book3S HV: Translate kvmhv_commence_exit to C Paul Mackerras
2015-03-20 10:45 ` [PATCH 00/23] Bug fixes and improvements for HV KVM Alexander Graf
2015-03-20 11:36 ` Alexander Graf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox