qemu/hw/ppc
Markus Armbruster 9354eaaf16 ppc/pnv: Put "*-pnv-chip" and "pnv-xive" on the main system bus
pnv_init() creates "power10_v1.0-pnv-chip", "power8_v2.0-pnv-chip",
"power8e_v2.1-pnv-chip", "power8nvl_v1.0-pnv-chip", or
"power9_v2.0-pnv-chip" sysbus devices in a way that leaves them
unplugged.

pnv_chip_power9_instance_init() creates a "pnv-xive" sysbus device in
a way that leaves it unplugged.

Create them the common way that puts them into the main system bus.
Affects machines powernv8, powernv9, and powernv10.  Visible in "info
qtree".  Here's the change for powernv9:

     bus: main-system-bus
       type System
    +  dev: power9_v2.0-pnv-chip, id ""
    +    chip-id = 0 (0x0)
    +    ram-start = 0 (0x0)
    +    ram-size = 1879048192 (0x70000000)
    +    nr-cores = 1 (0x1)
    +    cores-mask = 72057594037927935 (0xffffffffffffff)
    +    nr-threads = 1 (0x1)
    +    num-phbs = 6 (0x6)
    +    mmio 000603fc00000000/0000000400000000
    [...]
    +  dev: pnv-xive, id ""
    +    ic-bar = 1692157036462080 (0x6030203100000)
    +    vc-bar = 1689949371891712 (0x6010000000000)
    +    pc-bar = 1690499127705600 (0x6018000000000)
    +    tm-bar = 1692157036986368 (0x6030203180000)

Cc: "Cédric Le Goater" <clg@kaod.org>
Cc: David Gibson <david@gibson.dropbear.id.au>
Cc: qemu-ppc@nongnu.org
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20200609122339.937862-17-armbru@redhat.com>
2020-06-15 21:36:21 +02:00
..
e500-ccsr.h
e500.c qom: Drop parameter @errp of object_property_add() & friends 2020-05-15 07:07:58 +02:00
e500.h
e500plat.c
fdt.c
fw_cfg.c
Kconfig
mac_newworld.c qom: Drop parameter @errp of object_property_add() & friends 2020-05-15 07:07:58 +02:00
mac_oldworld.c qom: Drop parameter @errp of object_property_add() & friends 2020-05-15 07:07:58 +02:00
mac.h
Makefile.objs
mpc8544_guts.c
mpc8544ds.c
pnv_bmc.c qom: Drop parameter @errp of object_property_add() & friends 2020-05-15 07:07:58 +02:00
pnv_core.c qdev: Unrealize must not fail 2020-05-15 07:08:14 +02:00
pnv_homer.c
pnv_lpc.c
pnv_occ.c
pnv_pnor.c
pnv_psi.c qom: Drop parameter @errp of object_property_add() & friends 2020-05-15 07:07:58 +02:00
pnv_xscom.c
pnv.c ppc/pnv: Put "*-pnv-chip" and "pnv-xive" on the main system bus 2020-06-15 21:36:21 +02:00
ppc4xx_devs.c bamboo, sam460ex: Tidy up error message for unsupported RAM size 2020-04-29 08:01:52 +02:00
ppc4xx_pci.c
ppc405_boards.c ppc/ppc405_boards: Remove unnecessary NULL check 2020-03-24 11:56:37 +11:00
ppc405_uc.c
ppc405.h
ppc440_bamboo.c
ppc440_pcix.c
ppc440_uc.c ppc4xx: Drop redundant device realization 2020-06-15 21:36:21 +02:00
ppc440.h
ppc_booke.c
ppc.c
ppce500_spin.c
prep_systemio.c
prep.c qom: Drop parameter @errp of object_property_add() & friends 2020-05-15 07:07:58 +02:00
rs6000_mc.c
sam460ex.c smbus: Fix spd_data_generate() error API violation 2020-04-29 08:01:52 +02:00
spapr_caps.c Drop more @errp parameters after previous commit 2020-05-15 07:08:14 +02:00
spapr_cpu_core.c ppc/spapr: add a POWER10 CPU model 2020-05-27 15:27:29 +10:00
spapr_drc.c qom: Drop @errp parameter of object_property_del() 2020-05-15 07:08:14 +02:00
spapr_events.c ppc/spapr: Don't kill the guest if a recovered FWNMI machine check delivery fails 2020-04-07 08:55:10 +10:00
spapr_hcall.c spapr: Drop CAS reboot flag 2020-05-07 11:10:50 +10:00
spapr_iommu.c qdev: Unrealize must not fail 2020-05-15 07:08:14 +02:00
spapr_irq.c qom: Drop parameter @errp of object_property_add() & friends 2020-05-15 07:07:58 +02:00
spapr_nvdimm.c spapr_nvdimm: Tweak error messages 2020-05-07 11:10:50 +10:00
spapr_ovec.c spapr: Rename DT functions to newer naming convention 2020-03-17 17:00:19 +11:00
spapr_pci_nvlink2.c
spapr_pci_vfio.c
spapr_pci.c spapr_pci: Drop some dead error handling 2020-05-15 07:08:14 +02:00
spapr_rng.c qom: Drop object_property_set_description() parameter @errp 2020-05-15 07:06:49 +02:00
spapr_rtas_ddw.c
spapr_rtas.c ppc/spapr: Add FWNMI machine check delivery warnings 2020-04-07 08:55:10 +10:00
spapr_rtc.c qom: Drop parameter @errp of object_property_add() & friends 2020-05-15 07:07:58 +02:00
spapr_tpm_proxy.c qdev: Unrealize must not fail 2020-05-15 07:08:14 +02:00
spapr_vio.c
spapr.c ppc/spapr: Add hotremovable flag on DIMM LMBs on drmem_v2 2020-05-27 15:29:36 +10:00
trace-events
virtex_ml507.c