PowerNV doesn't depend on PCIe topology info from DT anymore, and now
it is able to enumerate the fabric and assign the bus numbers.

Signed-off-by: Sergey Miroshnichenko <s.miroshniche...@yadro.com>
---
 arch/powerpc/platforms/powernv/pci.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/powerpc/platforms/powernv/pci.c 
b/arch/powerpc/platforms/powernv/pci.c
index 3f87a2dc6578..ece3f3e2808e 100644
--- a/arch/powerpc/platforms/powernv/pci.c
+++ b/arch/powerpc/platforms/powernv/pci.c
@@ -1112,6 +1112,7 @@ void __init pnv_pci_init(void)
        struct device_node *np;
 
        pci_add_flags(PCI_CAN_SKIP_ISA_ALIGN);
+       pci_add_flags(PCI_REASSIGN_ALL_BUS);
 
        /* If we don't have OPAL, eg. in sim, just skip PCI probe */
        if (!firmware_has_feature(FW_FEATURE_OPAL))
-- 
2.17.1

Reply via email to