From patchwork Thu Mar 15 10:40:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Zigotzky X-Patchwork-Id: 10284217 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 84851602C2 for ; Thu, 15 Mar 2018 10:43:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7EA122817F for ; Thu, 15 Mar 2018 10:43:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 73122286E4; Thu, 15 Mar 2018 10:43:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI, SUBJ_ALL_CAPS autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 41BB82817F for ; Thu, 15 Mar 2018 10:43:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751771AbeCOKns (ORCPT ); Thu, 15 Mar 2018 06:43:48 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.217]:30250 "EHLO mo4-p00-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751541AbeCOKnq (ORCPT ); Thu, 15 Mar 2018 06:43:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1521110625; s=strato-dkim-0002; d=xenosoft.de; h=Content-Type:Date:Message-ID:Subject:From:To:X-RZG-CLASS-ID: X-RZG-AUTH; bh=UstN+02AUSpQ/KdLNYKgZKEBv4XviEHq6ZeVW8G/jEk=; b=Abduy5FsNBP+niLTr5dPi130a4tgcjE8VauwQxicP3qcCFhZZ3Ea87RsUEreZxTkXE sCB7fT8MCQQUgwp4y15NvEDQFnp8mpzcgLB5OttpdHlptpdYDSgvy2dOvTfGNe4PplUs 5MG7smPs5cn1CbF8KkQLZAiguNPf26P0jvLTviUGCjuiJoqAJS8wvI7mBOaAyGjVXPXo N31nxd0azJMJyenOyRmMqn/GsD4O92a4roDLvE1uVCyLcr+/AWULE1y0ukyVmn7fXgFO OJ0c/DeF8CswF8/YurFajWyo/xf9PwVcpyZbWYQrjlPDuuLQG7tBzuNFIhvtERR9Zfp9 SJxw== X-RZG-AUTH: :L2QefEenb+UdBJSdRCXu93KJ1bmSGnhMdmOod1DhGM4l4Hio94KKxRySf+VvAflxJtIS5kwmx9q2 X-RZG-CLASS-ID: mo00 Received: from [192.168.1.134] (ppp-188-174-84-121.dynamic.mnet-online.de [188.174.84.121]) by smtp.strato.de (RZmta 42.18 DYNA|AUTH) with ESMTPSA id f061ebu2FAeQvW5 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Thu, 15 Mar 2018 11:40:26 +0100 (CET) To: "linux-pci@vger.kernel.org" From: Christian Zigotzky Subject: PASEMI: PCI_SCAN_ALL_PCIE_DEVS Message-ID: Date: Thu, 15 Mar 2018 11:40:25 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Language: de-DE Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi All, We always have to add 'pci=pcie_scan_all' to the kernel boot arguments for our P.A. Semi boards. Please find attached a patch for solving this issue. Could you please add this patch to the official kernel source code? Thanks, Christian arch/powerpc/platforms/pasemi/pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/platforms/pasemi/pci.c b/arch/powerpc/platforms/pasemi/pci.c index 5ff6108..ea54ed2 100644 --- a/arch/powerpc/platforms/pasemi/pci.c +++ b/arch/powerpc/platforms/pasemi/pci.c @@ -224,6 +224,8 @@ void __init pas_pci_init(void) return; } + pci_set_flags(PCI_SCAN_ALL_PCIE_DEVS); + for (np = NULL; (np = of_get_next_child(root, np)) != NULL;) if (np->name && !strcmp(np->name, "pxp") && !pas_add_bridge(np)) of_node_get(np);