pnv: Fix reverse dependency on PCI express root ports
commit995d955647f197e6ad658050cb7b4c2ef94347a6
authorGreg Kurz <groug@kaod.org>
Thu, 24 Dec 2020 17:23:03 +0000 (24 18:23 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 6 Jan 2021 00:09:59 +0000 (6 11:09 +1100)
tree6eb7f673394d32684a3197e666087c84cd98f94b
parent27d5caec4fc5987b89257d2160d042717001dad2
pnv: Fix reverse dependency on PCI express root ports

qemu-system-ppc64 built with --without-default-devices crashes:

Type 'pnv-phb4-root-port' is missing its parent 'pcie-root-port-base'
Aborted (core dumped)

Have POWERNV to select PCIE_PORT. This is done through a
new PCI_POWERNV config in hw/pci-host/Kconfig since POWERNV
doesn't have a direct dependency on PCI. For this reason,
PCI_EXPRESS and MSI_NONBROKEN are also moved under
PCI_POWERNV.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <160883058299.253005.342913177952681375.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/pci-host/Kconfig
hw/pci-host/meson.build
hw/ppc/Kconfig