Message ID | 20170823060856.9387-2-Zhiqiang.Hou@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show
Return-Path: <linux-pci-owner@kernel.org> 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 C997060327 for <patchwork-linux-pci@patchwork.kernel.org>; Wed, 23 Aug 2017 06:26:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB6052895B for <patchwork-linux-pci@patchwork.kernel.org>; Wed, 23 Aug 2017 06:26:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B02A12895F; Wed, 23 Aug 2017 06:26:40 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI 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 5E5F32895B for <patchwork-linux-pci@patchwork.kernel.org>; Wed, 23 Aug 2017 06:26:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753259AbdHWG0j (ORCPT <rfc822;patchwork-linux-pci@patchwork.kernel.org>); Wed, 23 Aug 2017 02:26:39 -0400 Received: from mail-cys01nam02on0073.outbound.protection.outlook.com ([104.47.37.73]:10655 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753057AbdHWG0i (ORCPT <rfc822;linux-pci@vger.kernel.org>); Wed, 23 Aug 2017 02:26:38 -0400 Received: from BN6PR03CA0003.namprd03.prod.outlook.com (10.168.230.141) by BY2PR03MB554.namprd03.prod.outlook.com (10.141.141.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1362.18; Wed, 23 Aug 2017 06:26:37 +0000 Received: from BY2FFO11OLC006.protection.gbl (2a01:111:f400:7c0c::158) by BN6PR03CA0003.outlook.office365.com (2603:10b6:404:23::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1385.9 via Frontend Transport; Wed, 23 Aug 2017 06:26:36 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11OLC006.mail.protection.outlook.com (10.1.14.199) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1341.15 via Frontend Transport; Wed, 23 Aug 2017 06:26:35 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v7N6QOgB007516; Tue, 22 Aug 2017 23:26:31 -0700 From: Zhiqiang Hou <Zhiqiang.Hou@nxp.com> To: <linux-pci@vger.kernel.org>, <bhelgaas@google.com>, <jingoohan1@gmail.com>, <Joao.Pinto@synopsys.com> CC: <minghuan.lian@nxp.com>, <mingkai.hu@nxp.com>, <roy.zang@nxp.com>, <svarbanov@mm-sol.com>, <niklas.cassel@axis.com>, <jesper.nilsson@axis.com>, Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Subject: [PATCHv4 1/9] PCI: layerscape: Add dw_pcie_setup_rc to ls-pcie common host init Date: Wed, 23 Aug 2017 14:08:48 +0800 Message-ID: <20170823060856.9387-2-Zhiqiang.Hou@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170823060856.9387-1-Zhiqiang.Hou@nxp.com> References: <20170823060856.9387-1-Zhiqiang.Hou@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131479431958815890; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39380400002)(39860400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(50226002)(6666003)(47776003)(5660300001)(2950100002)(2906002)(85426001)(97736004)(48376002)(8656003)(72206003)(77096006)(104016004)(1076002)(81166006)(54906002)(2201001)(50466002)(81156014)(8676002)(8936002)(86362001)(36756003)(105606002)(68736007)(106466001)(189998001)(4326008)(7416002)(76176999)(498600001)(356003)(50986999)(5003940100001)(39060400002)(305945005)(53936002)(626005)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB554; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC006; 1:KCGSov+HibNfhiQTUd5JbqTmZLuiV6MWV8qHcbIuGeV50GnrP0g4cyyZW0+mC6bjyEok8QrMk8Xr4rXXQs1uaNFQEJu4RBNQGBwxl7vPLnLgcUY5P1KWYXGhOICxr+sx MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 115fd3d6-8e45-473a-8335-08d4e9efe7a1 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603031)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BY2PR03MB554; X-Microsoft-Exchange-Diagn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Z0zjYlItakQG+sa+YvFkluAsQRkFSKSPDB3FaZ7HmPAr6cjDrkGReOOiUWSWPd6CibNU0THchNTYP2fHNJZQNTsdapPosAxAoROdoPkInjnht8Y3Cw+qSXGHrBF6tE8Kqz6d1GY/tt3FBm0/nuDzkwzP2GOeeoI88zmZvRRePOxEfZULcqJlSG5IptTEgz67SVwQEUh8J2I6xTLHWxbuZhVFbgRMrDHdgXyIscp8w6uG7K+erg43+lTxP8YJg= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: <BY2PR03MB554AFC9195CF9313906284D84850@BY2PR03MB554.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13018025)(13016025)(5005006)(8121501046)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6096035)(20161123559100)(20161123561025)(20161123556025)(20161123563025)(20161123565025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY2PR03MB554; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY2PR03MB554; X-Forefront-PRVS: 040866B734 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR03MB554; 23:Qc26vNFZmLk188Q8Gr2nOWiTHeHoYilY0xcVGbGBfQ?= =?us-ascii?Q?6ERzSkTZxkNS+88MuDdwO649FhKdiX/fj+JUrXQ7Qe8A4Tbjth6HBaM/2bmQ?= =?us-ascii?Q?MjcH3PXX76wRikoxV/0anCSpyDxXBYUoOD1Hto6etj4PqzfaSVHN0R/w3Qns?= =?us-ascii?Q?IPf+adPjiqxoVjhDOAF6Cmx8cxSQkWdUVeBIQvcrFbO8CUjIKd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yEYj54EhZgYbQtOhj9mVdrSO/gTxGW9ddIvq670e/U39PYAKBC4fs2G?= =?us-ascii?Q?6GNvXvSH0e/n5Sqad6+3lCyAT+os+6LZn3l84xgwF63gb3LnCc4hQsLlXVWe?= =?us-ascii?Q?ndp3GtfotOVQU=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB554; 6:+GoTgAVRUrGKcwtGUDzUitApP9xD0mWvuhovkUvDBVMPxdvJ/n+HVdxDO3NvZQ134C0rTf28mAKs4mGuLF1lRFr02VrB0RIugWGgcElSeAGsCYguhztevjLNERU1GX8UJqtKxg4ShwnkW920XaZHGo/kJKdDVKMghlxHaNuhf4Lm3tJNNUHmbOhVdVupkSqeCd7Af1a5MfWUybbYagM4BX9jYUFU/7FlILw3IthJaMeZSFOfDA12ZC0aKosIXI0FcJcHFDQ9R43Li/ocjHR6EqpIPuhitkHvlKpw5mGX5LkPAM2PA+tr2vhIyTuUww/agAb0wTb3PH1vKshtmPPp/Q==; 5:VSmer16kErt4rwlCq2XDuJM1XaiAM/t2dO9VcVyGGYrUMFFsVfOHQhxIHKcyG4GessuFsxO0qf/fWjuUk2gPZ12+Vmm3pjmWZNKcbT/Njv6R1QZ8+eq7gO4CDYAH2O4T+qbmAE3vk0eMD4kmFA4T3g==; 24:7TTPYQgtSoa6dQYINDsx60H0ez0sn7nKDq4prLysirSMntzKhfRww5bdG815P84QMIAMJMrj8z+8SBd81IdWF7yydLEIM3KAZYmLD/m9Uo8=; 7:EME6XtMKdONqk9QCLfPfrpu79c8pAhWZ4IYWLj+GhOmDVtdtAMGHhh3kD3il3y7L558sqettlPG7KaFhwvK93oEAKhA5yVE2+p9esmzsJHL1gGz35/xwOfRxE4y7ApqVif28LfTRU1KXq+ZKg3jZO6D8DVWmvSf/bdos2huDWZER/D2mB8+dzdcJNfyr22Xp/Lf8a9t5UVQ98jzn6FWVDbvbydP479qxJyTqKv97BzY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Aug 2017 06:26:35.6787 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB554 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: <linux-pci.vger.kernel.org> X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/pci/dwc/pci-layerscape.c b/drivers/pci/dwc/pci-layerscape.c index 7581490f007c..aebefb42377a 100644 --- a/drivers/pci/dwc/pci-layerscape.c +++ b/drivers/pci/dwc/pci-layerscape.c @@ -165,6 +165,8 @@ static int ls_pcie_host_init(struct pcie_port *pp) ls_pcie_drop_msg_tlp(pcie); iowrite32(0, pci->dbi_base + PCIE_DBI_RO_WR_EN); + dw_pcie_setup_rc(pp); + return 0; }