Hello, Here are some preliminary and straight forward fixes before adding POWER9 support to the PowerNV machine.
The full tree can be found here : https://github.com/legoater/qemu powernv-2.12 Thanks, C. Cédric Le Goater (6): ppc/pnv: use POWER9 DD2 processor ppc/pnv: change core mask for POWER9 ppc/pnv: introduce pnv*_is_power9() helpers ppc/pnv: fix XSCOM core addressing on POWER9 ppc/pnv: change initrd address target/ppc: add support for POWER9 HILE hw/ppc/pnv.c | 23 ++++++++++++----------- hw/ppc/pnv_core.c | 2 +- hw/ppc/pnv_xscom.c | 8 +++----- include/hw/ppc/pnv.h | 11 ++++++++++- include/hw/ppc/pnv_xscom.h | 13 +++++++++++-- target/ppc/cpu.h | 1 + target/ppc/excp_helper.c | 2 +- tests/pnv-xscom-test.c | 31 +++++++++++++++++++------------ 8 files changed, 58 insertions(+), 33 deletions(-) -- 2.13.6