diff options
author | Cédric Le Goater <clg@kaod.org> | 2021-12-17 17:57:19 +0100 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2021-12-17 17:57:19 +0100 |
commit | 2c4d3a501e55bb90f90577b2e3f0181dc89efd42 (patch) | |
tree | 3b6eed6da18a53b7f9dd94da2a110058feedb3c6 /include/hw/pci-host | |
parent | 1f26c75191178a9c652bc98afbefa00c0d4fb486 (diff) | |
download | qemu-2c4d3a501e55bb90f90577b2e3f0181dc89efd42.zip qemu-2c4d3a501e55bb90f90577b2e3f0181dc89efd42.tar.gz qemu-2c4d3a501e55bb90f90577b2e3f0181dc89efd42.tar.bz2 |
ppc/pnv: Introduce a "chip" property under PHB3
This change will help us move the mapping of XSCOM regions under the
PHB3 realize routine, which will be necessary for user created PHB3
devices.
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20211213132830.108372-3-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include/hw/pci-host')
-rw-r--r-- | include/hw/pci-host/pnv_phb3.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/pci-host/pnv_phb3.h b/include/hw/pci-host/pnv_phb3.h index e2a2e36..e9c13e6 100644 --- a/include/hw/pci-host/pnv_phb3.h +++ b/include/hw/pci-host/pnv_phb3.h @@ -16,6 +16,7 @@ #include "qom/object.h" typedef struct PnvPHB3 PnvPHB3; +typedef struct PnvChip PnvChip; /* * PHB3 XICS Source for MSIs @@ -157,6 +158,8 @@ struct PnvPHB3 { PnvPHB3RootPort root; QLIST_HEAD(, PnvPhb3DMASpace) dma_spaces; + + PnvChip *chip; }; uint64_t pnv_phb3_reg_read(void *opaque, hwaddr off, unsigned size); |