diff options
author | Daniel Henrique Barboza <danielhb413@gmail.com> | 2022-06-24 05:49:10 -0300 |
---|---|---|
committer | Daniel Henrique Barboza <danielhb413@gmail.com> | 2022-08-31 14:08:05 -0300 |
commit | 91bcee7157b0a1c627705d5a24076a3058ea01a7 (patch) | |
tree | 366af56c856fc3ccb1c6d158ad83797d15fcb7d3 /block | |
parent | 08e185cadb24b038574dad676d4dae8488ba8b6e (diff) | |
download | qemu-91bcee7157b0a1c627705d5a24076a3058ea01a7.zip qemu-91bcee7157b0a1c627705d5a24076a3058ea01a7.tar.gz qemu-91bcee7157b0a1c627705d5a24076a3058ea01a7.tar.bz2 |
ppc/pnv: add PHB3 bus init helper
The PnvPHB3 bus init consists of initializing the pci_io and pci_mmio
regions, registering it via pci_register_root_bus() and then setup the
iommu.
We'll want to init the bus from outside pnv_phb3.c when the bus is
removed from the PnvPHB3 device and put into a new parent PnvPHB device.
The new pnv_phb3_bus_init() helper will be used by the parent to init
the bus when using the PHB3 backend.
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Frederic Barrat <fbarrat@linux.ibm.com>
Message-Id: <20220624084921.399219-2-danielhb413@gmail.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions