Bharata B Rao <bharata....@gmail.com> writes: > On Tue, Jul 12, 2016 at 11:33 PM, Nikunj A Dadhania > <nik...@linux.vnet.ibm.com> wrote: >> From: "Aneesh Kumar K.V" <aneesh.ku...@linux.vnet.ibm.com> >> >> Signed-off-by: Aneesh Kumar K.V <aneesh.ku...@linux.vnet.ibm.com> >> [ rebased and added POWER9 alias ] >> Signed-off-by: Nikunj A Dadhania <nik...@linux.vnet.ibm.com> >> --- >> target-ppc/cpu-models.c | 5 +++ >> target-ppc/cpu-models.h | 2 ++ >> target-ppc/cpu-qom.h | 7 ++++ >> target-ppc/mmu_helper.c | 3 +- >> target-ppc/translate_init.c | 85 >> ++++++++++++++++++++++++++++++++++++++++++++- >> 5 files changed, 100 insertions(+), 2 deletions(-) >> >> diff --git a/target-ppc/cpu-models.c b/target-ppc/cpu-models.c >> index 5209e63..901cf40 100644 >> --- a/target-ppc/cpu-models.c >> +++ b/target-ppc/cpu-models.c >> @@ -1147,6 +1147,10 @@ >> "POWER8NVL v1.0") >> POWERPC_DEF("970_v2.2", CPU_POWERPC_970_v22, 970, >> "PowerPC 970 v2.2") >> + >> + POWERPC_DEF("POWER9_v1.0", CPU_POWERPC_POWER9_BASE, POWER9, >> + "POWER9 v1.0") >> + > > I realize it is still early days, but eventually remember to add a > POWER9 core definition in spapr_cpu_core.c
Yes, sure will add them. Haven't still reached there yet, mostly testing with qemu-ppc64le :-) Regards, Nikunj