From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mta-01.yadro.com (mta-01.yadro.com [89.207.88.251]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 425fGQ35twzF3MP for ; Thu, 6 Sep 2018 21:58:06 +1000 (AEST) Received: from localhost (unknown [127.0.0.1]) by mta-01.yadro.com (Postfix) with ESMTP id 58F17418A4 for ; Thu, 6 Sep 2018 11:58:03 +0000 (UTC) Received: from mta-01.yadro.com ([127.0.0.1]) by localhost (mta-01.yadro.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DoYo1jd0DCP0 for ; Thu, 6 Sep 2018 14:58:02 +0300 (MSK) Received: from T-EXCH-02.corp.yadro.com (t-exch-02.corp.yadro.com [172.17.10.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mta-01.yadro.com (Postfix) with ESMTPS id B9D78418EB for ; Thu, 6 Sep 2018 14:58:00 +0300 (MSK) From: Sergey Miroshnichenko To: CC: , Sergey Miroshnichenko Subject: [PATCH v2 4/5] powerpc/powernv/pci: Enable reassigning the bus numbers Date: Thu, 6 Sep 2018 14:57:51 +0300 Message-ID: <20180906115752.29316-5-s.miroshnichenko@yadro.com> In-Reply-To: <20180906115752.29316-1-s.miroshnichenko@yadro.com> References: <20180906115752.29316-1-s.miroshnichenko@yadro.com> MIME-Version: 1.0 Content-Type: text/plain List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 --- 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