In this version, the initial patch sent by Ben was trimmed down to its minimal : a platform with some RAM to load initial ROMs and a device tree built from the machine reset op.
A PnvChip object comes next to act as a container for all the 'chiplets' required to run a system. First of these are the cores, represented by the PowerNVCPUCore objects. The PowerNV platform does not provide enough support to be useful but yet, it can be run under qemu, so you can check the qom tree. This is the first step to add the missing models. XICS and XCSOM should come next. Thanks, C. Benjamin Herrenschmidt (1): ppc/pnv: add skeleton PowerNV platform Cédric Le Goater (2): ppc/pnv: add a PnvChip object ppc/pnv: add a PowerNVCPUCore object default-configs/ppc64-softmmu.mak | 1 + hw/ppc/Makefile.objs | 2 + hw/ppc/pnv.c | 484 ++++++++++++++++++++++++++++++++++++++ hw/ppc/pnv_core.c | 171 ++++++++++++++ include/hw/ppc/pnv.h | 58 +++++ include/hw/ppc/pnv_core.h | 47 ++++ 6 files changed, 763 insertions(+) create mode 100644 hw/ppc/pnv.c create mode 100644 hw/ppc/pnv_core.c create mode 100644 include/hw/ppc/pnv.h create mode 100644 include/hw/ppc/pnv_core.h -- 2.7.4