diff options
author | Greg Kurz <groug@kaod.org> | 2020-12-24 18:23:03 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2021-01-06 11:09:59 +1100 |
commit | 995d955647f197e6ad658050cb7b4c2ef94347a6 (patch) | |
tree | 6eb7f673394d32684a3197e666087c84cd98f94b /hw/pci-host/Kconfig | |
parent | 27d5caec4fc5987b89257d2160d042717001dad2 (diff) | |
download | qemu-995d955647f197e6ad658050cb7b4c2ef94347a6.zip qemu-995d955647f197e6ad658050cb7b4c2ef94347a6.tar.gz qemu-995d955647f197e6ad658050cb7b4c2ef94347a6.tar.bz2 |
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>
Diffstat (limited to 'hw/pci-host/Kconfig')
-rw-r--r-- | hw/pci-host/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/pci-host/Kconfig b/hw/pci-host/Kconfig index 036a618..eb03f04 100644 --- a/hw/pci-host/Kconfig +++ b/hw/pci-host/Kconfig @@ -60,3 +60,8 @@ config PCI_BONITO select PCI select UNIMP bool + +config PCI_POWERNV + select PCI_EXPRESS + select MSI_NONBROKEN + select PCIE_PORT |