Hi, This new version contains a new patch (11) to handle the QOM parenting of user created root ports. A small change in patch 5 was made as well based on Frederic's comments.
The series is based on top of the ppc-7.2 branch: https://gitlab.com/danielhb/qemu/-/tree/ppc-7.2 Changes from v2: - patch 5: avoid parenting the PHB to NULL - patch 11 (new): - fix QOM parenting of user created root ports - v2 link: https://lists.gnu.org/archive/html/qemu-devel/2022-08/msg00505.html Daniel Henrique Barboza (11): ppc/pnv: add phb-id/chip-id PnvPHB3RootBus properties ppc/pnv: add phb-id/chip-id PnvPHB4RootBus properties ppc/pnv: set root port chassis and slot using Bus properties ppc/pnv: add helpers for pnv-phb user devices ppc/pnv: turn chip8->phbs[] into a PnvPHB* array ppc/pnv: enable user created pnv-phb for powernv8 ppc/pnv: add PHB4 helpers for user created pnv-phb ppc/pnv: enable user created pnv-phb powernv9 ppc/pnv: change pnv_phb4_get_pec() to also retrieve chip10->pecs ppc/pnv: user creatable pnv-phb for powernv10 ppc/pnv: fix QOM parenting of user creatable root ports hw/pci-host/pnv_phb.c | 178 +++++++++++++++++++++++++++++---- hw/pci-host/pnv_phb3.c | 50 +++++++++ hw/pci-host/pnv_phb4.c | 51 ++++++++++ hw/pci-host/pnv_phb4_pec.c | 6 +- hw/ppc/pnv.c | 30 +++++- include/hw/pci-host/pnv_phb3.h | 9 +- include/hw/pci-host/pnv_phb4.h | 10 ++ include/hw/ppc/pnv.h | 6 +- 8 files changed, 312 insertions(+), 28 deletions(-) -- 2.36.1