Received: by 10.223.164.221 with SMTP id h29csp370916wrb; Tue, 24 Oct 2017 01:51:43 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RA4OzA+Poca30Jzi98jBQNXHrKNCOa0slQxS6TD9pwtl1oteWqwZhaEri+RsYe9YegPaZ/ X-Received: by 10.98.36.135 with SMTP id k7mr15667947pfk.63.1508835103807; Tue, 24 Oct 2017 01:51:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508835103; cv=none; d=google.com; s=arc-20160816; b=teQ7JMnu5B0nLNgZC4cX+WppWrY6JCPTEu16NArfle52cRjcwPw4FlAsAIwI38yrxj kbodPpQTGr28jjzdA5EgtsRUDEruQqOfNHZdzW4sBLzuW4Y4kjo6mgjBRXV/wqaWd0Wx po9r2YwOyb+ueZVo1NnFD5c2d2iYgvQ4mdczcr8xOa8IKXP0uLxWiRkZYfDEBexJ3RD2 hWmFAIKfVvfuEpMK1ArssMfKSlo/5WTNbQsS7cNI1PjsiBREx0vpElVPYBzJPl+PZDOJ 5OwpRA6TE24Nkyh1F2GzEwMLr535muBAgLTHaaKhqCdL8g/4/mT++e2Ukw84aASitj38 MZwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:arc-authentication-results; bh=mPyC8jGmUMepAhJY0nZsgr3Ej+9RjfNo+CGh8baI7vs=; b=NY2aun9hZR52wwEiDEWSHO2yOL8Evg92I5NGvtfvnQeAOuvQ3sDjxAVSM9EIprzbch kR67Qal2NO929W+zI2U9OAkEAmdPJIjDY7HiA1rAJgZersBL/NmHKW9taMD9gWq/ONMQ l9W/TsGi6gMwmd+BbO5ViZ0V8J4BrlbSoRDRwtWhBk1lzUuob+wVUzg8yArOhVS3LfPl dx9j0X8xUCQmVNPdmbObfaQRKu8VmKC2X0RbxDRsXdB3dMSrCfyys0X2rveRmuvIOXuk GJcXxYkYC1piz2AcE8CL3Dcaxosqyl37sY8J/27j1FD48A3y1egDg+kYeJQz1GgX2KRM kjHg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s64si6683743pfe.463.2017.10.24.01.51.29; Tue, 24 Oct 2017 01:51:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932510AbdJXIti (ORCPT + 99 others); Tue, 24 Oct 2017 04:49:38 -0400 Received: from mail-sn1nam02on0081.outbound.protection.outlook.com ([104.47.36.81]:59091 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932419AbdJXItV (ORCPT ); Tue, 24 Oct 2017 04:49:21 -0400 Received: from DM5PR03CA0027.namprd03.prod.outlook.com (10.174.189.144) by MWHPR03MB2704.namprd03.prod.outlook.com (10.168.207.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.156.4; Tue, 24 Oct 2017 08:49:19 +0000 Received: from BY2FFO11FD040.protection.gbl (2a01:111:f400:7c0c::197) by DM5PR03CA0027.outlook.office365.com (2603:10b6:4:3b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.178.6 via Frontend Transport; Tue, 24 Oct 2017 08:49:18 +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 BY2FFO11FD040.mail.protection.outlook.com (10.1.14.225) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.156.4 via Frontend Transport; Tue, 24 Oct 2017 08:49:18 +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 v9O8mfxe031253; Tue, 24 Oct 2017 01:49:10 -0700 From: Bao Xiaowei To: , , , , , , , , , , , , , , , , , , , , , , , CC: Bao Xiaowei Subject: [PATCH 3/3] ARMv8: pcie: make the DWC EP driver support for layerscape Date: Tue, 24 Oct 2017 16:30:45 +0800 Message-ID: <20171024083045.31135-4-xiaowei.bao@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171024083045.31135-1-xiaowei.bao@nxp.com> References: <20171024083045.31135-1-xiaowei.bao@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131533085588447785;(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)(346002)(376002)(39860400002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(4326008)(39060400002)(1076002)(76176999)(48376002)(6636002)(2950100002)(6666003)(50466002)(305945005)(81166006)(81156014)(68736007)(356003)(498600001)(47776003)(50986999)(50226002)(8676002)(189998001)(36756003)(85426001)(5660300001)(33646002)(2201001)(105606002)(106466001)(86362001)(2906002)(8936002)(7416002)(97736004)(316002)(8656005)(8656005)(16586007)(110136005)(77096006)(5003940100001)(53936002)(104016004)(921003)(1121003)(2101003)(83996005);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR03MB2704;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD040;1:2mKwLQ9QkQJ1y8BnJ+5/F2DhcyorNEsGZnhBn0dnsSR9/A7D4XvjeghJXtuzIBn+JnNVrNTPFDOMWmycMEGctUYK2ygLO3q9shmTBuZ/bQmUZFAM4tuxUthhkjuqtMH1 MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2f7c1d25-30ba-4797-d6d9-08d51abc1d19 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(4534020)(4628075)(201703131517081)(2017052603199);SRVR:MWHPR03MB2704; X-Microsoft-Exchange-Diagnostics: 1;MWHPR03MB2704;3:aulZX85Xi65BVh+XnJ+h5vH3gXqPvFae4v0semMa9BQFl03PyMMiTxfw3WU11c0tsUHqxkMHuOPwNGFiQ35R4H+wPCw1xXMLqomnfsTYGx02xnc37Z0lVZw6l9M8g6ZOcnvIkuNmGqSo+VQxz0uSB4DcmHale6DhBFtfkFyQtsTHOGCR6VYQQrRH00OGlDZ5m8UlOVoc31/W6zYVF5jdajF16szshEEaNdSmUiYkjW08jPZAmfG666N6pcKgmS4T1b12lk74M2SH1yBdh3IWIzezcgD5JAnBsFqEKt9miEIaZBkXH4qFpb+5skWkaB5OsfdSSKfuFWCBnHqc06j9BmsN/jlXBdxkvTGdJDocCdw=;25:y98M8R9VbSBPNosHd0wugJCB5OIQq6X9G52P/d5kwMjJ8XHUqEN49HF+zf6/ghnhN1oiDSUCo1aGyGSWNAAEL7AQXRTyLbgdyWbdGpQjpfhsby/K9dgiK8y0DQgPmG+uxJtRWX92/XQ8SigV5zDF1W3Rv20kDMA1YI93HJSQBmdoj5ruBe+xhbL7yy6vEV5L8MqC8hhEqwI7EzW3+l6yAD9LOAbyyMl1O46VVoCHEV7sywl4f2laNOzZ7GU2zllLdvkJm6DDlMCc/GTM+gDgpJMSV9E51ic86cd42sQFQ8NWmxuMKKWsnnQo/WBzGQPbQRDkTYGb7tDhLPPuWfYg0Q== X-MS-TrafficTypeDiagnostic: MWHPR03MB2704: X-Microsoft-Exchange-Diagnostics: 1;MWHPR03MB2704;31:/TUrvjbi01iCkjGQEL+ImYkNp+gCEhi4g15+7FbxT8c5xsOpmuIMA6ESlQf7bEnmprrSzIGqF/Y1VCXnkwJUnVPiMhLxJEm1iFQpKKkwMv9dKmchCwLPF40I1HLu2S1SaBnL304rlzBaCnWiMEtRMRgCperh7jy76Y2bHad0k0olestugXSofQuacRqonhphEgiHvKsIEaLnUS1szHXu4l5o+P5D6Nld3bAA8y3uXR8=;4:M/lw8sQBIAjSFccyb/w01ALQKhlVM6mPP9Fo7/nVIq8w0mBDaCPPmGq+dQGozBwJfAfUKtgYlfE7LsJpMvpeihn+hWmr6sReTqB7YhBi4kTlvX7SZIcOlHx7T+xOPu4NmaOL0QazpSas1utmx3B4VL4Fd0geqsGT+LxvYxjbf3a5x/5EEtOncU2XTKAckH7H+M9LerMzt5HK1/oOeTyVOoB3O8h26fkQiCxbe6Ef6MrvH1zX50lmEs5T1BMlKegkEp0Q/FssCHldIWANuG5smAFSPefKYptlxRas335udzY= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(5005006)(8121501046)(3002001)(3231020)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6096035)(20161123561025)(20161123563025)(20161123565025)(20161123556025)(20161123559100)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:MWHPR03MB2704;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:MWHPR03MB2704; X-Forefront-PRVS: 047001DADA X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;MWHPR03MB2704;23:O+vNJACnSS20690sh+JfS7GYrbO/i0AtCbwFhiKdk?= =?us-ascii?Q?ljYuPgh30x8usMncOUrenzdYzLIdjHdVtFs3aHbgvj9q60KvpbDRsv0nWXAU?= =?us-ascii?Q?ceazlly/IsgswWTDwHI+FzWDNzQu8Hna/12AGlEh8yiour8UUxgb2ody5WTn?= =?us-ascii?Q?jUppPHLr/gbjCssW35NhWqDWGmsL3XgBubfK2NO/JuhrP7ObciYvo/ayFCrp?= =?us-ascii?Q?tU4jhGyO+HeDv7DBxnY3OH8/4Tj8D4FRfCm0/+T1pYraFXe1ZZ1WfxmT98vy?= =?us-ascii?Q?6dpUBzBSFWwZoDbwTsQAqSjr+WzjS99MeCbl4hYt8tPYXsTKeoNAXY9ju9Hi?= =?us-ascii?Q?/HXLP4GlGUhDvlppQveQOA5rUBiLQCUulFw7c6kUcRUJJfuzR5Hcjp0iTgtc?= =?us-ascii?Q?ItF6kMmIgcAq1mePoztVJgMaj4B9d7hOTX5bwBd+ktYQH7PQad9idS4E6yMF?= =?us-ascii?Q?ZhgBzcyuSE6NqilkSDM6abX6HRJFJjpKIK0gRSaNmBfUH7e29wTR5Cd8MsWa?= =?us-ascii?Q?xEUQw4AvUoTtJ4XmOVuBq9goqQYPVuF3dD8nIAwXOP68+bLgYKhLqN2h9g4i?= =?us-ascii?Q?iZdusDk9bo9BaRCk/iQh8niCNHqrbYWi7F+NACoDK/VKtzH7TM6HiO0n6c/a?= =?us-ascii?Q?wB0lTaZfcWS50tl07eSg2Al1BIEE3iW1Z6T6G07/sMDAcOiZCczgiCZqhp8r?= =?us-ascii?Q?U5HDeMSYnavRAOQtnhBb7dPcSteZ4qbs085a4buJAdDy7Lh+SIdn/Yemy8wn?= =?us-ascii?Q?kLEdBhvsTaCJC14t41oz1wwdyO+XbopzJLypeWX7rB6+lz5iWvFed0GFcKl0?= =?us-ascii?Q?LIUN7KVShv3QyiXVroH8PY6CJv8n/OajwhEJaCkTjuNHLr0G/3SQ0D32kvaZ?= =?us-ascii?Q?Ef9ogRvI0ORj8F90PLqu+eEJYXr4dYvt+jOcBVFOWcwUQ9+nXMRmQ/W3ST9i?= =?us-ascii?Q?dasdALHRnbB2k91qXJcKQw6mquw5S/jedQRk5jAujQn4NrVHbsoHJ47u94F2?= =?us-ascii?Q?VMTr+958f48VqyZtBcHGItkpaYgvOHb1LWR/I4bPe7OhfbM0j9QlLjlSixaa?= =?us-ascii?Q?yBOUsg0hWwtLfGZz6SZCTpSaXYPXfYGZRnf12Pv0xbdreMlqc173fZCpgkyC?= =?us-ascii?Q?lgrFt2icCV95VZ0pCE63PcY1lIETEm2h4iej7uiTD43T02g3rOisOHmNGbuw?= =?us-ascii?Q?mHqXL3E76dMc6RoTVXijwZlAezOChPyUdbwjLa42UcPIDO8u4+q5110CJXvP?= =?us-ascii?Q?4keOzDhoCDstdwtD0x2NQKBjGD5LhyIlfaoETh9z51YZCtQvz4fNq0BI9ELA?= =?us-ascii?Q?4gHqs9ySDOINflHEA0x/TM=3D?= X-Microsoft-Exchange-Diagnostics: 1;MWHPR03MB2704;6:uJTP/jgpa63kZOTxMrGNhfhiuAPtjUFB0qmlVc/4GXEiilVJEhdOMJjJHpwm3kxqqlSOthZOPtY0aIVvinFFmjfPG0MOrE6ITFF2rQW0jYzOJRR2TJVOe89arkPTbZ0MBNKT1RpJpkx4rCcoWcx/p5Y1WUALNtbILdvlNggDEOwvxRyNGnu1XtwH3MQKgd2s6K+XXgNmmYO+OqrFJDRIeSWNqaqNTrv02dbtPcvWqAffyXx2aWKMoZ4t/0FHL6muW6AhvYAg9jmo1Vp8Hv27cJx2yDaZdfZhStOv+9Ddw7SXv2T8NWx7kQDulwgemq27GJHnLSIf5py66DOj9mYscA==;5:MVBNS+uceid5aoY6jIfkk3Q6rg1k4dX4xUZiWkZh722w0yJpyZSvGRtHmC2zNumFTa7L8227ZHaLLdi7lHCMZkpk1J0Uv+8I/3u4qdpXU9wONHY5C5kZC2PbrESqSafX3o7r0EE692sFd9XW/w+Dkw==;24:xh0AQbU7U5AJuPIbxPduT2RJaqXKtcupr0zu6qfIFTIJm1g04+eGUjZLguGGx5kTktKRrOeXJtGAFUwXZvRx8SU7vPZr6v4U0wWoXxzVQXE=;7:LVF+Lv8NLu678f/NoYwRh2tCz4xn/upPxUwf6tbDrGmQwCGHTqGX/rnIBZYkQzuE3vDWXu8OXM1UgYUDYM6icGo+8Q0hHNzh8nqXnozS7wBkr+gtXqKMeVyy85SZLpeIgNlbaH8hLMXUNq/+9T6o2AH1/jzPWgUC3JPHf3ws4QyYamxvDAzmNMuBsaxLdInkTDyV6uLqA4jkE2QCQ/IkEI5d2fCH+0DC5PJmklQhlUY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2017 08:49:18.2675 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2f7c1d25-30ba-4797-d6d9-08d51abc1d19 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: MWHPR03MB2704 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Layerscape pcie controllers support RC or EP mode, Add the EP mode support in Kconfig, the driver will support both RC and EP mode, and the driver is able to judge the pcie controllers work on RC or EP mode. Signed-off-by: Bao Xiaowei --- drivers/pci/dwc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/dwc/Kconfig b/drivers/pci/dwc/Kconfig index 22ec82fcdea2..b5f507795779 100644 --- a/drivers/pci/dwc/Kconfig +++ b/drivers/pci/dwc/Kconfig @@ -108,6 +108,7 @@ config PCI_LAYERSCAPE depends on PCI_MSI_IRQ_DOMAIN select MFD_SYSCON select PCIE_DW_HOST + select PCIE_DW_EP help Say Y here if you want PCIe controller support on Layerscape SoCs. -- 2.14.1 From 1583332861129121091@xxx Mon Nov 06 15:58:03 +0000 2017 X-GM-THRID: 1579699119100728687 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread