diff options
| author | Daniel Henrique Barboza | 2022-01-18 12:56:31 +0100 |
|---|---|---|
| committer | Cédric Le Goater | 2022-01-18 12:56:31 +0100 |
| commit | d2704eb3fd5093224fb14ecbfdc916d42d42416b (patch) | |
| tree | 0b8a5a26f652a7f3baf5c77549046eae6af3600a /include | |
| parent | ppc/pnv: move phb_regs_mr to PnvPHB4 (diff) | |
| download | qemu-d2704eb3fd5093224fb14ecbfdc916d42d42416b.tar.gz qemu-d2704eb3fd5093224fb14ecbfdc916d42d42416b.tar.xz qemu-d2704eb3fd5093224fb14ecbfdc916d42d42416b.zip | |
ppc/pnv: introduce PnvPHB4 'pec' property
This property will track the owner PEC of this PHB. For now it's
redundant since we can retrieve the PEC via phb->stack->pec but it
will not be redundant when we get rid of the stack device.
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20220114180719.52117-2-danielhb413@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/pci-host/pnv_phb4.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/pci-host/pnv_phb4.h b/include/hw/pci-host/pnv_phb4.h index 6968efaba8..1d27e4c0cb 100644 --- a/include/hw/pci-host/pnv_phb4.h +++ b/include/hw/pci-host/pnv_phb4.h @@ -84,6 +84,9 @@ struct PnvPHB4 { uint64_t version; + /* The owner PEC */ + PnvPhb4PecState *pec; + char bus_path[8]; /* Main register images */ |
