[Qemu-devel] [RFC v3 0/2] target/ppc/cpu-models: set POWER9_v1.0 as POWER9 DD1

Laurent Vivier posted 2 patches 6 years, 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20170703131455.25424-1-lvivier@redhat.com
There is a newer version of this series
hw/ppc/spapr_cpu_core.c     |  5 ++++-
target/ppc/cpu-models.c     |  6 ++++--
target/ppc/cpu-models.h     |  1 +
target/ppc/kvm.c            | 11 -----------
target/ppc/translate_init.c | 10 ++++++++++
5 files changed, 19 insertions(+), 14 deletions(-)
[Qemu-devel] [RFC v3 0/2] target/ppc/cpu-models: set POWER9_v1.0 as POWER9 DD1
Posted by Laurent Vivier 6 years, 9 months ago
This patch series allows to use "-cpu POWER9" with a POWER9
DD1 host and KVM HV. With TCG, "-cpu POWER9" selects
POWER9_v2.0 (POWER9 DD2).

v3:
  add the patch to move POWER9 DD1 workaround to
  the generic part (not only for "-cpu host").

v2:
  add POWER9_v2.0
  sent as RFC as "-cpu POWER9" breaks the kernel

Laurent Vivier (2):
  target/ppc/cpu-models: set POWER9_v1.0 as POWER9 DD1
  target/ppc: move POWER9 DD1 workaround to ppc_cpu_initfn

 hw/ppc/spapr_cpu_core.c     |  5 ++++-
 target/ppc/cpu-models.c     |  6 ++++--
 target/ppc/cpu-models.h     |  1 +
 target/ppc/kvm.c            | 11 -----------
 target/ppc/translate_init.c | 10 ++++++++++
 5 files changed, 19 insertions(+), 14 deletions(-)

-- 
2.9.4


Re: [Qemu-devel] [RFC v3 0/2] target/ppc/cpu-models: set POWER9_v1.0 as POWER9 DD1
Posted by David Gibson 6 years, 9 months ago
On Mon, Jul 03, 2017 at 03:14:53PM +0200, Laurent Vivier wrote:
> This patch series allows to use "-cpu POWER9" with a POWER9
> DD1 host and KVM HV. With TCG, "-cpu POWER9" selects
> POWER9_v2.0 (POWER9 DD2).

Since these fix a real bug, I've applied them to ppc-for-2.10.  There
are some revisions which might be good as a follow up.

> 
> v3:
>   add the patch to move POWER9 DD1 workaround to
>   the generic part (not only for "-cpu host").
> 
> v2:
>   add POWER9_v2.0
>   sent as RFC as "-cpu POWER9" breaks the kernel
> 
> Laurent Vivier (2):
>   target/ppc/cpu-models: set POWER9_v1.0 as POWER9 DD1
>   target/ppc: move POWER9 DD1 workaround to ppc_cpu_initfn
> 
>  hw/ppc/spapr_cpu_core.c     |  5 ++++-
>  target/ppc/cpu-models.c     |  6 ++++--
>  target/ppc/cpu-models.h     |  1 +
>  target/ppc/kvm.c            | 11 -----------
>  target/ppc/translate_init.c | 10 ++++++++++
>  5 files changed, 19 insertions(+), 14 deletions(-)
> 

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson