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).
David, I send this series based on master, if you need a version
based on your ppc-for-2.10 branch let me know.
v4:
update POWER9 comments
move workaround to init_proc_POWER9()
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 init_proc_POWER9()
hw/ppc/spapr_cpu_core.c | 1 +
target/ppc/cpu-models.c | 6 ++++--
target/ppc/cpu-models.h | 1 +
target/ppc/kvm.c | 11 -----------
target/ppc/translate_init.c | 15 ++++++++++++++-
5 files changed, 20 insertions(+), 14 deletions(-)
--
2.9.4