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>
33 lines
1.3 KiB
Meson
33 lines
1.3 KiB
Meson
pci_ss = ss.source_set()
|
|
pci_ss.add(when: 'CONFIG_PAM', if_true: files('pam.c'))
|
|
pci_ss.add(when: 'CONFIG_PCI_BONITO', if_true: files('bonito.c'))
|
|
pci_ss.add(when: 'CONFIG_PCI_EXPRESS_DESIGNWARE', if_true: files('designware.c'))
|
|
pci_ss.add(when: 'CONFIG_PCI_EXPRESS_GENERIC_BRIDGE', if_true: files('gpex.c'))
|
|
pci_ss.add(when: 'CONFIG_ACPI', if_true: files('gpex-acpi.c'))
|
|
pci_ss.add(when: 'CONFIG_PCI_EXPRESS_Q35', if_true: files('q35.c'))
|
|
pci_ss.add(when: 'CONFIG_PCI_EXPRESS_XILINX', if_true: files('xilinx-pcie.c'))
|
|
pci_ss.add(when: 'CONFIG_PCI_I440FX', if_true: files('i440fx.c'))
|
|
pci_ss.add(when: 'CONFIG_PCI_SABRE', if_true: files('sabre.c'))
|
|
pci_ss.add(when: 'CONFIG_XEN_IGD_PASSTHROUGH', if_true: files('xen_igd_pt.c'))
|
|
|
|
# PPC devices
|
|
pci_ss.add(when: 'CONFIG_PREP_PCI', if_true: files('prep.c'))
|
|
pci_ss.add(when: 'CONFIG_GRACKLE_PCI', if_true: files('grackle.c'))
|
|
# NewWorld PowerMac
|
|
pci_ss.add(when: 'CONFIG_UNIN_PCI', if_true: files('uninorth.c'))
|
|
# PowerPC E500 boards
|
|
pci_ss.add(when: 'CONFIG_PPCE500_PCI', if_true: files('ppce500.c'))
|
|
|
|
# ARM devices
|
|
pci_ss.add(when: 'CONFIG_VERSATILE_PCI', if_true: files('versatile.c'))
|
|
|
|
softmmu_ss.add_all(when: 'CONFIG_PCI', if_true: pci_ss)
|
|
|
|
specific_ss.add(when: 'CONFIG_PCI_POWERNV', if_true: files(
|
|
'pnv_phb3.c',
|
|
'pnv_phb3_msi.c',
|
|
'pnv_phb3_pbcq.c',
|
|
'pnv_phb4.c',
|
|
'pnv_phb4_pec.c'
|
|
))
|