OSDN Git Service

ppc/pnv: add PHB4 bus init helper
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 24 Jun 2022 08:49:13 +0000 (05:49 -0300)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Wed, 31 Aug 2022 17:08:05 +0000 (14:08 -0300)
commitfe5bfd4bb816faa1b3fa8c3c23165cdbadfa5c91
treeed71138ec12b8e3c4c005cbde1400258c7a64ca1
parent1f5d6b2ad14df9daad17e81d9e247bd1fd2fd5fc
ppc/pnv: add PHB4 bus init helper

Similar to what we already did for the PnvPHB3 device, let's add a
helper to init the bus when using a PnvPHB4. This helper will be used by
PnvPHb when PnvPHB4 turns into a backend.

Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Frederic Barrat <fbarrat@linux.ibm.com>
Message-Id: <20220624084921.399219-5-danielhb413@gmail.com>
hw/pci-host/pnv_phb.c
hw/pci-host/pnv_phb4.c
include/hw/pci-host/pnv_phb4.h