Skip to content

ppc: Define some more SPRs of POWER8 in QEMU to fix migration

Thomas Huth kvm-ppc qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ppc: Define the PSPB register on POWER8target-ppc/cpu.h target-ppc/translate_init.c+10 -00 replies
2/3ppc: Fix migration of the TAR SPRtarget-ppc/translate_init.c+4 -40 replies
3/3ppc: Add a few more P8 PMU SPRstarget-ppc/cpu.h target-ppc/translate_init.c+35 -00 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] ppc: Define some more SPRs of POWER8 in QEMU to fix migration

While tinkering with the new kvm-unit-tests framework for Power, I discovered that a couple of SPRs are destroyed during migration. We've got to define them in QEMU and make sure that they are synchronized with the kernel to make sure that the register contents are not lost.
The first patch introduces the new PSPB register from POWER8, second patcch fixes the definition of the TAR register, and the third patch (which has been taken from Ben's "Add native POWER8 platform" patch series) introduces some missing performance monitor registers.

Benjamin Herrenschmidt (1):
ppc: Add a few more P8 PMU SPRs

Thomas Huth (2):
ppc: Define the PSPB register on POWER8
ppc: Fix migration of the TAR SPR

 target-ppc/cpu.h            |  8 ++++++++
 target-ppc/translate_init.c | 45 +++++++++++++++++++++++++++++++++++++++++----
 2 files changed, 49 insertions(+), 4 deletions(-)
Signature · 1 line
1.8.3.1