Skip to content

HV KVM improvements in preparation for POWER8 support

Paul Mackerras kvm kvm-ppc 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 22 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/11KVM: PPC: Book3S HV: Save/restore SIAR and SDAR along with other PMU registersarch/powerpc/include/asm/kvm_host.h arch/powerpc/kernel/asm-offsets.c arch/powerpc/kvm/book3s_hv.c +1 more+24 -01 reply
2/11KVM: PPC: Book3S HV: Implement timebase offset for guestsDocumentation/virtual/kvm/api.txt arch/powerpc/include/asm/kvm_host.h arch/powerpc/include/asm/reg.h +4 more+57 -101 reply
3/11KVM: PPC: Book3S: Add GET/SET_ONE_REG interface for VRSAVEDocumentation/virtual/kvm/api.txt arch/powerpc/include/uapi/asm/kvm.h arch/powerpc/kvm/book3s.c+13 -02 replies
4/11KVM: PPC: Book3S HV: Add GET/SET_ONE_REG interface for LPCRDocumentation/virtual/kvm/api.txt arch/powerpc/include/asm/reg.h arch/powerpc/include/uapi/asm/kvm.h +1 more+25 -05 replies
5/11KVM: PPC: Book3S HV: Add support for guest Program Priority RegisterDocumentation/virtual/kvm/api.txt arch/powerpc/include/asm/exception-64s.h arch/powerpc/include/asm/kvm_book3s_asm.h +5 more+31 -13 replies
6/11KVM: PPC: Book3S HV: Support POWER6 compatibility mode on POWER7Documentation/virtual/kvm/api.txt arch/powerpc/include/asm/kvm_host.h arch/powerpc/include/asm/reg.h +4 more+62 -24 replies
7/11KVM: PPC: Book3S HV: Implement H_CONFERarch/powerpc/kvm/book3s_hv.c+9 -01 reply
8/11KVM: PPC: Book3S HV: Restructure kvmppc_hv_entry to be a subroutinearch/powerpc/kvm/book3s_hv_rmhandlers.S+178 -1661 reply
9/11KVM: PPC: Book3S HV: Pull out interrupt-reading code into a subroutinearch/powerpc/kvm/book3s_hv_rmhandlers.S+68 -491 reply
10/11KVM: PPC: Book3S HV: Avoid unbalanced increments of VPA yield countarch/powerpc/kvm/book3s_hv_rmhandlers.S+10 -101 reply
11/11KVM: PPC: Book3S HV: Return -EINVAL rather than BUG'ingarch/powerpc/kvm/book3s_hv.c+1 -21 reply

Reviews trailers per patch

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

PatchAlexander GrafBenjamin Herrenschmidt
1/11
2/11
3/11
4/11
5/11R-b A-b
6/11
7/11
8/11
9/11
10/11
11/11

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 00/11] HV KVM improvements in preparation for POWER8 support

This series of patches is based on Alex Graf's kvm-ppc-queue branch. It fixes some bugs, makes some more registers accessible through the one_reg interface, and implements some missing features such as support for the compatibility modes in recent POWER cpus and support for the guest having a different timebase origin from the host. These patches are all useful on POWER7 and will be needed for good POWER8 support.

Please apply.

 Documentation/virtual/kvm/api.txt         |   5 +
 arch/powerpc/include/asm/exception-64s.h  |   8 +
 arch/powerpc/include/asm/kvm_book3s_asm.h |   1 +
 arch/powerpc/include/asm/kvm_host.h       |   6 +
 arch/powerpc/include/asm/reg.h            |  14 +
 arch/powerpc/include/uapi/asm/kvm.h       |  10 +
 arch/powerpc/kernel/asm-offsets.c         |   6 +
 arch/powerpc/kvm/book3s.c                 |  10 +
 arch/powerpc/kvm/book3s_hv.c              |  96 +++++-
 arch/powerpc/kvm/book3s_hv_rmhandlers.S   | 544 +++++++++++++++++-------------
 10 files changed, 469 insertions(+), 231 deletions(-)

Paul.