Skip to content

Some fixes for PPC HV-style KVM

Paul Mackerras kvm kvm-ppc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3KVM: PPC: Book3S HV: Add one_reg definitions for more PMU registersDocumentation/virtual/kvm/api.txt arch/powerpc/include/uapi/asm/kvm.h+10 -00 replies
2/3KVM: 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+28 -01 reply
3/3KVM: 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+56 -103 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Some fixes for PPC HV-style KVM

Here are 3 patches that add two PMU (performance monitor unit) registers to the set being context-switched on guest entry and exit, and implement a per-guest timebase offset that is needed when we migrate a guest from one host to another that has a different timebase origin. The first patch just adds some one_reg register definitions for extra PMU registers, including some that exist on POWER8. These new registers aren't yet handled by the kernel code, but their definitions are included here so as to reserve the numbers.

These patches are against Alex Graf's kvm-ppc-queue branch.

Paul.