Received: by 10.223.164.221 with SMTP id h29csp3166214wrb; Fri, 3 Nov 2017 02:52:16 -0700 (PDT) X-Google-Smtp-Source: ABhQp+QvItKg4x3U+lT/JFuGGktmsGS5kcBJDtWgmikr5bzFUyIAl6fomwkeR6BVjH8afVmaUatk X-Received: by 10.84.210.202 with SMTP id a68mr6304756pli.317.1509702736646; Fri, 03 Nov 2017 02:52:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509702736; cv=none; d=google.com; s=arc-20160816; b=UB77dG4Fncv3RZtRZZf2EQvoR9w5+yn3vRFgY4rNrl+QZyK2TRjhjvjNeQ2LPIDPAL CVgsSpk2ozl48DLzLK+JAkRazETmwSy9MfCJScm04Mtk6XCUcrISbzO7LCytI3JKBGfq /IZgHKjJz33DsUO0bcREsFqcQh7RGjFrkrZa0VyxE0o6rwOu/v/XZ76fkNTlFjLv5LYE ABrtskwooEf4dBoEWYVuExxlS0I9hPnBVk5bA1y3JBqdDBxfDzwLkTo94b6g+WpG4MT8 hliGxJhEUk3UphcL+lu3Iw4XVTZF6hcybWpmoVChxZ/OO1lXeQsuQ1DOxy7oMT/flGkX FdcQ== 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=hDLe68tr14gV8hDKmlNBwarQK13E9ZWnMwRWjlGrLLE=; b=repgNUXS7OBOQkbVukLdBHEQS3aO6i0lsyzmNur1qpBfz3tL2icjgQb7ES0GFs1ShN xtiIRq4VlqYeRnEb6Wv1J9gs01meQdYbkUNaWqj02ktoWtIbWWK7efIiNY+omEpfLeA5 t6uudZtHTne17e4ccRfXIl1JZALa+m2mVVU+OU8IM27klq3QZZHy2LJ4rz9bT4bABwme pBTNELFN+sgF+XnWJTfrd5ibKp6ymVwFAg5H4ftLRQLuR+i/M+raEqQ0YkKW8UMY28hQ WNyrmgAqpq6TFBkpCmPdz4I9W2QZKo+tsTykod0xCIj5pz5Fh1C5Dug8DtyQzbfT7INr aJkw== 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 k63si6035313pfh.368.2017.11.03.02.52.02; Fri, 03 Nov 2017 02:52:16 -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 S932999AbdKCJuI (ORCPT + 97 others); Fri, 3 Nov 2017 05:50:08 -0400 Received: from mail-sn1nam02on0089.outbound.protection.outlook.com ([104.47.36.89]:41696 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932788AbdKCJuE (ORCPT ); Fri, 3 Nov 2017 05:50:04 -0400 Received: from BN6PR03CA0004.namprd03.prod.outlook.com (10.168.230.142) by DM5PR03MB2697.namprd03.prod.outlook.com (10.168.197.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.197.13; Fri, 3 Nov 2017 09:50:02 +0000 Received: from BN1BFFO11OLC002.protection.gbl (2a01:111:f400:7c10::1:105) by BN6PR03CA0004.outlook.office365.com (2603:10b6:404:23::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.178.6 via Frontend Transport; Fri, 3 Nov 2017 09:50:02 +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 BN1BFFO11OLC002.mail.protection.outlook.com (10.58.145.13) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.178.5 via Frontend Transport; Fri, 3 Nov 2017 09:50:01 +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 vA39nNmS022617; Fri, 3 Nov 2017 02:49:53 -0700 From: Bao Xiaowei To: , , , , , , , , , , , , , , , , , , , , , , , CC: Bao Xiaowei Subject: [PATCH 3/3] ARMv8: pcie: make the DWC EP driver support for layerscape Date: Fri, 3 Nov 2017 17:31:15 +0800 Message-ID: <20171103093115.14915-4-xiaowei.bao@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171103093115.14915-1-xiaowei.bao@nxp.com> References: <20171103093115.14915-1-xiaowei.bao@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131541762020778874;(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)(7966004)(336005)(39860400002)(376002)(346002)(39380400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(16586007)(77096006)(6666003)(86362001)(6636002)(50226002)(316002)(110136005)(68736007)(36756003)(50986999)(76176999)(498600001)(2950100002)(97736004)(1076002)(53936002)(39060400002)(104016004)(2906002)(5660300001)(7416002)(5003940100001)(8656006)(47776003)(105606002)(106466001)(33646002)(81156014)(81166006)(8936002)(8676002)(2201001)(305945005)(48376002)(50466002)(4326008)(356003)(85426001)(189998001)(921003)(1121003)(83996005)(2101003);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR03MB2697;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11OLC002;1:IywfLNX8Tu9XqMkfprfRyNY3bNe9pZcStAy1s4nrwFg/ZYP7ikrvnWkbXJ4hjQgQh2FTwGhOvetZK3fyuMAvrfrUHKkHGAvcRGjLtsjjIyhxfjw5OPJz1PBTDz4TBmYP MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e7ff0459-f5a6-4f8f-421d-08d522a040d5 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(4534020)(4628075)(201703131517081)(2017052603199);SRVR:DM5PR03MB2697; X-Microsoft-Exchange-Diagnostics: 1;DM5PR03MB2697;3:FoPtA2ofYi0QoKcHT/aWSdqTxyhlEGRWjoqErhTiC7iN9ql0K1Y6Xg1v0chRvZLXZO5txMIYr2TpIhqF38ce4qn04CZlZAdeF5nBT+WmMUEboH+uZQoBJ+G5nclkAR6iFORTSm62DwCehxCbxtSXLRduqNCe6OGeKRx2ZNzp5BSf3H5Pj9NQZbpaa2HoZcp4gCHS3GDRVpEJPV0B/Yogg6t7RDfaTaLmTSFjicGYP7+69LP7GaXTrHj/oyv+O1XlpvJ8bkgAamhTXdk+/VqSLBkmYqjk4BBQpyVDYdKrphjpoV5gEV0mWCJbeEi6q1T3pu8x9upJvhPQtdYoHjcmV3kO3GM+S4rmSobEgiOehXU=;25:KLiJ+hW9o5mHbv7MaiIJRBtqfCYg6FYubqAjC4Yk0uoSR1N+KRbNmP5w0Q2YY/YHtOAT00ryvriW0iEgKYeb9Ucr4t9wO8SAJxdc5Jfcm4Cs+XMqEOAKQr03T5mCfOXSX5qKd2eKxWdoyHOV+PW2sT4XnbkTCFa7d9S6kZyMRkxVgz5s37F4gQ221z2r9/nhdozs77/0afMq5HiT9X3J/FcIWcWb8PxYC9Riz9u5tr1fxJUsyDbBUniarxCq8v7dDFSdsnhpPp66q4YLO9G3zlbplzr6PEdSKKZcuYkgiUM5C2yht6Qvrn5NgqxHaB104Y12F9JcMMv+pxevaXLYVw== X-MS-TrafficTypeDiagnostic: DM5PR03MB2697: X-Microsoft-Exchange-Diagnostics: 1;DM5PR03MB2697;31:NZcEJG4xgC4RlpINKKQJH9sTfwJXkk1S8YpyfKLoG1MzhYk5TlDKA8WKiyLKViX5yyE3u+Q/ArSddUtnrJNeD3sFitpQ32rSzd81960LfSnICmNyg7Kj/IjniXqgFRqFEKVsQaJIx/F6+QAsMSzEh54Alla32FfepviGJfPg20MzfxZlj+TFTCE5sA/QJoBxERsxWB2V+CXaPKkR39h5E5CrcX8ILwSpCFwdWDDtFus=;4:ukZ6heEXaor3GAX7i9r8PigFXIpdFbQygeSwCEB2q4o4t+8vqH9oXoKo7HpXO0c8ReWhN6s6XBut9SytqHoZ2tyCoZirhXEJZzTrAbUVCeKe2povetwf73Qctdlip9C7m6qA4WJWxCvXtqIUQE0uXdpZrFMYqurloSx3g1duV5TapCDlsGzVW4NUoqZ8XBvaUqPQDGu/m4mG021VIyT7iM3xG4KRwDXa60KsGvNMeZ0ib870YO/b11/+y4XXbqhjTqr39Mcwrw1wclgTImVmOlhdX83bmfaTV0UKKRN09Zaf+Ij9Jtd3uq1Hn32GrDSh 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)(8121501046)(5005006)(3002001)(93006095)(93001095)(3231021)(100000703101)(100105400095)(10201501046)(6055026)(6096035)(20161123561025)(20161123556025)(20161123563025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123559100)(20161123565025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DM5PR03MB2697;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DM5PR03MB2697; X-Forefront-PRVS: 0480A51D4A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DM5PR03MB2697;23:RWF0rlr64Ylm7d9LKhyxym9Bzt5ancTq70kBywDcG?= =?us-ascii?Q?QtRDgGUvX/DHHeIcqbnBZRfkVK8jYksTtmVFlZZaklRzmS2MmcrAdVH/Bic0?= =?us-ascii?Q?JdzJEyHzDkcE+u1SDWnx5NclbKpNELTIfi03pVWKKj69GSElQVuz0r+vMBJJ?= =?us-ascii?Q?nPw7jxgX5S1ROzXFgGxOXFi2bv+IEt81SXyxiaS9YNklkppfzkHTpyvy3q3b?= =?us-ascii?Q?EvLDdcFjzsoiyqyx8zYGzCNkpbYeRqf7lAKsVC7EiRdtjg25A+8dUp6oGoqH?= =?us-ascii?Q?00K/hYMHLErBrKHCPhnTQ38fXgI7GGhGVYLwCmdWvxvKkW+BXiCG34hQ7Pvx?= =?us-ascii?Q?rqUl9ZwgNZR+o2g+0DpeEotlA3WMbenefiUqckEqKrEMPzldbiWg7kBzPGP3?= =?us-ascii?Q?MJQxGzHzJqPGWL9cwNHWPV+ZK1+Mb9uJPDLEqRrFBDFPiblSx92DKeKBlcUk?= =?us-ascii?Q?6ZbQGmIYpL+bnrONebgJ4hxIGL7scoVePFpwdHYC9wmAqvo/tED2bqgfj6C2?= =?us-ascii?Q?Z/1JhYvSGAR0FeJpUY9RetcD8zSPYWMU26MbpsU92d0FyyYj2ODNRtdafOVZ?= =?us-ascii?Q?nquHMfzGqzIe5k57f9nZJIPrDmDvmQuiudpbeqSyspZ7E0ticVSQKszlv2H0?= =?us-ascii?Q?Le54su/hYs0MwZFtNom1gNrJ89fp6//HiiJwtAVjqcMIiDoUP3+C6Bsh9Q4b?= =?us-ascii?Q?vpp5tGCuvKfS1c2V9kJZgjShK5ttae17fabHc6fb6D7DQ4Mu/v5pm0PG0gbh?= =?us-ascii?Q?1sxCnPA+4ZBc9t+We/iXtfIzewkBLt2+JLn9F0tsIeOmhztfdQQCgvXw0f31?= =?us-ascii?Q?urpexFeTsD3SkfX17QistGKDscHtI1isb18+iSpDQbyAaGoAdxpo+geboGNX?= =?us-ascii?Q?l6nPtiPANd/IUdjCSlkj11IJWqDYdAxnFfR2JUZ86NuvAQClGuUyfiB/e+TW?= =?us-ascii?Q?NX5h8zs+d3CnNMry3hX7xQ8WzH9U5sPORJMfQki8GTXu2YTWzd9JRhIUEf6z?= =?us-ascii?Q?6KWChR/Nj4WGUTF0MpMLNRDoItO9C9oZylRq3R9byz/QQHSyTbrc1JyuVCaN?= =?us-ascii?Q?nXt8y7rhS9dylQApAGtq3xUUG1llwe8p9oKYLsoyVjIEjK8SjwRDKD/LMQy6?= =?us-ascii?Q?MGkph+yB4vtyoazhnLgNXDregX4/QmwXTpJaWEPQAk7rEKO6v/L1bVlEK6vT?= =?us-ascii?Q?WgZsmMH2k/uP6f92TDUnQAPGTAZfCA9OBZxasd/v+UpKHnwHttvLdgbMcv7u?= =?us-ascii?Q?jQWuWvszlNa2TykLrovmL8nyoNQNRz2KmiliFwZDq7H7yBePBteGhapWJHqE?= =?us-ascii?Q?ObrOuTAz0Tu60DEngSB9MM=3D?= X-Microsoft-Exchange-Diagnostics: 1;DM5PR03MB2697;6:A7Sj8pWImorU47V/gpKbcIn0kx6HwXMEr4IiCGkDqIse1efAGjHfeJ/mj+1ZfsCHz79Kk/Yjer/yjERJZWx41NBlyDKzSY0Eo7RAqvBkeQVeqwyJ0PQLVb9/V9XV4FSXcodS5uoTKKr1+K/OLIsC/6XbAgwmL1F28h42GsJU9+wHjkGWgstMpeO29rHCtalThmwmZipk6KrRv2/PSp9lJL+wMOz3b2gzy9K/UC0eQFO6+cUhmUWSaAg283v3ZB44nynsH9nIMOYiEfbfpF/UBeQqv01Rq9+4gXVXgCLqSPteDgttTo57qqEJvOX5EpfyQH2v4+hWHUH8b5pg7eof7rCHhX2dJyOGdKZI5/uV7kI=;5:NaOwF8UGGKoPOQ0Ywg6ZsG4yYFUxaPIF4CYgLZ6g6sLl8hayRfjesUHeAvVXGttlb4PgQ3gKazzOmpOXSVEcRu407YHAjL5py8Stj9NedCMTYyYqWC0QrFQwJ6L4RTFhN9UkwPJrGvN2oTWFUkqJTo0iVFsviR2rt+LJOSTdcaM=;24:Aw/zMYOBykXuI1AucbQBe13h6y8NAElRAOIAi70Q7jne4QJbeGFRsPWE8nLS/bOUp+rRjJp2aCfi3jf4IWz9TsxWVBAsDVCpFRa/yBVCE1M=;7:Z0tznfgy8/zVluUuCBlFKlB2YX4AHpZcl2By+T71Ia0yjxTBPaCGeZ/qCEsChoJMmTJrg2QKFnH3c4nUS6PQi+ULrlEL/yaVGHMOmW06dBvu2yqRBbbU3N+ArxjEsc5rQO/X3aCwj9xz7piWQf4d4mjChxA6ll22TC9jvLK6TTqh4l2TTeJFyBfBCKaT1/PAeZ5Zt//6oKwJ/5tUkTnJAIjXfd/Eu0vP9xDw3hqYsvgjroYst3Ec0FO4qIjeO7Qh SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Nov 2017 09:50:01.4850 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e7ff0459-f5a6-4f8f-421d-08d522a040d5 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: DM5PR03MB2697 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 Acked-by: Minghuan Lian --- v2: - no change 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 1582945449739795531@xxx Thu Nov 02 09:20:19 +0000 2017 X-GM-THRID: 1582945449739795531 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread