Message ID | 1502859419-33696-2-git-send-email-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 9AA0F6028A for <patchwork-linux-pci@patchwork.kernel.org>; Wed, 16 Aug 2017 05:14:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8811F2896E for <patchwork-linux-pci@patchwork.kernel.org>; Wed, 16 Aug 2017 05:14:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7864028979; Wed, 16 Aug 2017 05:14:47 +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 CE1C12890F for <patchwork-linux-pci@patchwork.kernel.org>; Wed, 16 Aug 2017 05:14:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751082AbdHPFN6 (ORCPT <rfc822;patchwork-linux-pci@patchwork.kernel.org>); Wed, 16 Aug 2017 01:13:58 -0400 Received: from mail-bl2nam02on0049.outbound.protection.outlook.com ([104.47.38.49]:3188 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750912AbdHPFN5 (ORCPT <rfc822;linux-pci@vger.kernel.org>); Wed, 16 Aug 2017 01:13:57 -0400 Received: from BN6PR03CA0083.namprd03.prod.outlook.com (10.164.122.149) by MWHPR03MB3325.namprd03.prod.outlook.com (10.174.249.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1341.21; Wed, 16 Aug 2017 05:13:55 +0000 Received: from BN1BFFO11FD011.protection.gbl (2a01:111:f400:7c10::1:175) by BN6PR03CA0083.outlook.office365.com (2603:10b6:405:6f::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1341.21 via Frontend Transport; Wed, 16 Aug 2017 05:13:54 +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 BN1BFFO11FD011.mail.protection.outlook.com (10.58.144.74) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1304.16 via Frontend Transport; Wed, 16 Aug 2017 05:13:54 +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 v7G5DiU0012144; Tue, 15 Aug 2017 22:13:50 -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: [PATCHv3 1/9] PCI: layerscape: Add dw_pcie_setup_rc to ls-pcie common host init Date: Wed, 16 Aug 2017 12:56:51 +0800 Message-ID: <1502859419-33696-2-git-send-email-Zhiqiang.Hou@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1502859419-33696-1-git-send-email-Zhiqiang.Hou@nxp.com> References: <1502859419-33696-1-git-send-email-Zhiqiang.Hou@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131473340349580543; (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)(1110001)(1109001)(339900001)(199003)(189002)(105606002)(72206003)(50466002)(5003940100001)(8676002)(48376002)(54906002)(106466001)(81166006)(81156014)(50226002)(8936002)(53936002)(7416002)(85426001)(86362001)(97736004)(2201001)(356003)(498600001)(2906002)(5660300001)(39060400002)(76176999)(50986999)(47776003)(68736007)(77096006)(2950100002)(36756003)(189998001)(8656003)(4326008)(626005)(104016004)(305945005)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB3325; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1BFFO11FD011; 1:R63O6cZUuyjMenQy5JlJTe2j4ZfqBO5bjcjUided8?= =?us-ascii?Q?hYNfr8tNGK+RHR7NNANgVyK2FSZmAWy4/PCpEhaUtHYlBRgORJF4GapL9Oaa?= =?us-ascii?Q?qu+HiV6IX1hkYwPhRuSVhZHy3ZBwO8srNPiiwOMe2zYDoIpXCLfYTfuvhs5/?= =?us-ascii?Q?RkFpS2u2O2X4/qj89k8XXoHURpzkvXDfJvHVQETuRh99qrh5SpqH1C7jzv6W?= =?us-ascii?Q?iLTuwcuMBqBjG3PzrD7qrsAWVCqh3bBXbhI2etbE/45ZENCS8WRxcoSG3Kvj?= =?us-ascii?Q?/xgxPtm720AWl9rkcN4HMMSvven0SI64cT4szRdfKyXQW36+a2eAOwZpWnN6?= =?us-ascii?Q?5ifbU/Ez5nyrT0v+qFdF6zcmiuK79/LC0sgQ1p6c3+6zQS5SGKjqpwVRoovp?= =?us-ascii?Q?GEZPewNn/9zk9l8Rcine56laQjw93B1WYn0AhsHneqg+/qYetOd2FVbimUlG?= =?us-ascii?Q?9AhDRF8FBUfNza/gQyOtIBGS4j5pkbCyF/kCXE+0lCalMZhUrstQpV3ACXJK?= =?us-ascii?Q?G+f8Vo35rjLy0ZJIXRL5+9vM2Fp0ymWDSPyPn6KN/76IDKs7PhbmOZTSf2F5?= =?us-ascii?Q?5fASDVWIlhlWgn8aBC7dXnsC02J0X2M+VOjV9IFLMrVVTf5mhDvpgMHRsK4g?= =?us-ascii?Q?TDUziwyAfxlAXFeUb5BeMmN6CFQRnHijpeIPPIwuPUosrHUuP8dQrYoPYrTL?= =?us-ascii?Q?Nh+tWUPlTVKELa7k8UoWJUw1EgJAH8z9J+5nIqM/FVZmVb4Mto628aCEzcER?= =?us-ascii?Q?IfyShqczbvM6fnm1KEjwDhtWVHpckc31+Af7ESf9W+OeaLAd6P6XPRcrNgMU?= =?us-ascii?Q?mHKWkrq20/EpkdO5FlvNVPM+JgntdgWh9JfvuU4QEgo2whw5bF+WdsFYnsPd?= =?us-ascii?Q?W+Bvm/9aLXn+BHxkzHH2WAWfcHH1JTTaUszciy8IwPnQncaJPl3bKX3c95RY?= =?us-ascii?Q?+rubGJIQSZU6E1IeN3HF/MB4eGTtDqlD496hspqig=3D=3D?= MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 378386f6-55be-48e2-79f7-08d4e465975c 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); SR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=; 4:YeWus2LAdVhKkkdh6//rytorG7/mvIF88Vtr4fAFxJq/stM5sOMMUpjGDdgQVrP4QTAfKD1TCsJRqZUhxJjDLSmQZVJCEN+B/4Od8VPPciESyLdEB4A+GsvcA3JVM9mTfxFP7mjz1dWJMi64XylkqimTMlE/POMMXhCAK/x1akMDjU0+r/ZWsEIr3hsRHGpi0QXvd90bj1KOqqvhvYa+HUxUXxNTjZa4C5UXXef2Tf0qOkX3CWgrAq6fpdmzZHyFhbO01ZmTMGcvKYQnZineKc83dDzdUM+a8UIT/Fa2f70= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: <MWHPR03MB33258FEE05E6D9123F68F69384820@MWHPR03MB3325.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13016025)(5005006)(13018025)(8121501046)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(3002001)(6055026)(6096035)(20161123561025)(20161123563025)(20161123559100)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123556025)(20161123565025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR03MB3325; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR03MB3325; X-Forefront-PRVS: 0401647B7F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB3325; 23:Ga+5Uyq7Qit9M1Yb1WiJO6yJi02UXz00VbAUbuB9u?= =?us-ascii?Q?W08SjbuETAtZXVQ0G/xRJB16uaRFak3XLfWH24RWNaikOM1eIBWiaXnrFEJ4?= =?us-ascii?Q?e/rRq1vGE+ywK/K7xOWorh6PGXdkXMziKmPyGtb4mYn/tnvDMvwc8/xD0G4N?= =?us-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PM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Aug 2017 05:13:54.6148 (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: MWHPR03MB3325 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 7581490..aebefb4 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; }