Received: by 10.223.164.202 with SMTP id h10csp1001683wrb; Thu, 9 Nov 2017 19:09:16 -0800 (PST) X-Google-Smtp-Source: ABhQp+QeWoh6umyuoNY9RQyi8hIeZLjlpVnAGmAnmKW4MSveUowJmwH2Q65b5J7y/GoYVd8uO/s0 X-Received: by 10.159.244.131 with SMTP id y3mr2644464plr.244.1510283356273; Thu, 09 Nov 2017 19:09:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510283356; cv=none; d=google.com; s=arc-20160816; b=uja2zNcizDopi5Y+qVOZYwIVr6ZPy/7HZdQucCINKfMpapX5qoV9/HAtb8fsXDC9Ah S/uH+EDRYHJy03BYuoarYZ/S2wGq5B84+VZxVpwPYWyx8uhY26m04yka8DwGiKhnWYnf Tub7DSe3dCADIOZ6XseZRg86s4vJCgJf3dMIhF2Vmw9udU+uHlzqBsfTCQtFURdW1Zcd JqBEbIbjOhbR21l/2fm1x/+ivoF/Ule1ScRkSz9vj7ovJu+w5uM2rNWNPGvtrP1tw2Cz d7YKLqVdaTlph4XUbWdywK3a93Kqm+xRfsu9OqB6+517SvwJRVhZXaLnUE076DtGvoB+ sUaw== 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=M034nA62+dKTHeXNF8LtDSmCrQV95q1J94SqjgmbIxg=; b=r+JLMiljNBM8AYNLup9qR08YY0JHuvyHO9xpl0m004yydogHdQOj0508nCwviYqM5p o8XlkrJ16uZda0OvmghvH30vPAPfUkl6wOw5FZ5lZdDAn3beO4sdNKKt1GUbEdzQJDYy SszZy4CCJ+oMQhRAxvRXu/xZyvoNoG6GfoHXqgVAEQ4DR10kAmsWAaTfWWO9b8u3TSuu ffVjaJpcXi+uAJmFxDceLMTarqtvJtM8PElA8DB5nCCE/jcJDJTNnIY+i0szOdoCews0 HgGTDuS7Oq7ox9IsHTuib0mFw9Bw08W18qJ4qd7auKFj4epDyAkDav3/J2E4XNrDiy55 CJWg== 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 j6si8354892pfg.379.2017.11.09.19.09.04; Thu, 09 Nov 2017 19:09:16 -0800 (PST) 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 S1755895AbdKJDIX (ORCPT + 83 others); Thu, 9 Nov 2017 22:08:23 -0500 Received: from mail-co1nam03on0066.outbound.protection.outlook.com ([104.47.40.66]:62020 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755694AbdKJDIS (ORCPT ); Thu, 9 Nov 2017 22:08:18 -0500 Received: from BN3PR03CA0079.namprd03.prod.outlook.com (10.167.1.167) by SN2PR03MB2366.namprd03.prod.outlook.com (10.166.210.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.218.12; Fri, 10 Nov 2017 03:08:16 +0000 Received: from BN1AFFO11FD043.protection.gbl (2a01:111:f400:7c10::164) by BN3PR03CA0079.outlook.office365.com (2a01:111:e400:7a4d::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.197.13 via Frontend Transport; Fri, 10 Nov 2017 03:08:15 +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 BN1AFFO11FD043.mail.protection.outlook.com (10.58.52.190) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.178.5 via Frontend Transport; Fri, 10 Nov 2017 03:08:15 +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 vAA37fFg032559; Thu, 9 Nov 2017 20:08:08 -0700 From: Bao Xiaowei To: , , , , , , , , , , , , , , , , , , , , , , , CC: Bao Xiaowei Subject: [PATCHv3 3/3] ARMv8: pcie: make the DWC EP driver support for layerscape Date: Fri, 10 Nov 2017 10:49:26 +0800 Message-ID: <20171110024926.39700-4-xiaowei.bao@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171110024926.39700-1-xiaowei.bao@nxp.com> References: <20171110024926.39700-1-xiaowei.bao@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131547568955599889;(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)(39380400002)(376002)(39860400002)(346002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(36756003)(86362001)(8936002)(77096006)(189998001)(68736007)(5003940100001)(356003)(104016004)(106466001)(105606002)(33646002)(50466002)(110136005)(16586007)(53936002)(4326008)(39060400002)(97736004)(8656006)(2201001)(316002)(50226002)(6636002)(85426001)(5660300001)(7416002)(6666003)(47776003)(498600001)(2950100002)(1076002)(305945005)(76176999)(81166006)(81156014)(8676002)(50986999)(2906002)(48376002)(921003)(2101003)(83996005)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:SN2PR03MB2366;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD043;1:Uf2zlau5fH7O71yGCg0W8qTE3eWZvk3+905dJVkpF4jdAv8Fm2Lw/NncdYvuHzbLBlobQQ5yorlWMI1iAtPPJUd21q9iOUkQNzACaboMfiqq1CzWu5oocDY0y4f2D3i5 MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 346f9b85-1757-4aee-cab0-08d527e8491e X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(4534020)(4628075)(201703131517081)(2017052603199);SRVR:SN2PR03MB2366; X-Microsoft-Exchange-Diagnostics: 1;SN2PR03MB2366;3:hW/UsElApCRwZf6rHIVtA9Guwzg5PAL6Jg5M7DNdxG6COqcL2rU88brzGQE0ATHGg0LJ1O0+JlXihUspvokn1qipxzIPVhostkIn4n1bZVI+IYOCzgO8Ucbuzc1DCB4oncNqLz6X0ooZ11jbuicxhg8dOzlDhj2PhBrt7/gCK46lRBAhnOlUf6jqHm7SottjIv91NAyhhR/A3rt2R/J5WuLJIllnKy609bnlRozsAaoLJJ+/Or0trhhjCFQ/vLdcAYgGa3sEU0U2cm3QJojqGlOk84/Anf9yHu9qltrRMsaXpPk2kXqgyifXrI5+eCh2086X0klTiLv+I7vqRr6PqHD1lALrMO9sdkeTeSTic+E=;25:JCxapmilaWbq44OvrcrPbXuvd9wWrp/T/n7ZmO1S+0LQ2BcEFr0doo0TFo7Ti1T9HLI6ZjyNQMIxkttZFQcZ1GAy3sCoFQCQCYLe8AfOvM+TI0LSNuU76W/rFDLgdf18u/dCAukjj0hERm/8YMpBurB7ZtdFKgU8SBgAzAcknRN5vQufuo+TFo72e6phXLWlGy042wRkfngonseLx02ekox22jaCJJ9D8j/Ggn/mX4tlmX1dkRgcsOHqWEPO7fguVAFTgH7wrJyoSNvgQvF9wQoIJMxCvDiUQ7jLjVr0hjsTxikEwieNDh/1+xH3Ck/hYW832rUvxjpV+lrfpCVi6Q== X-MS-TrafficTypeDiagnostic: SN2PR03MB2366: X-Microsoft-Exchange-Diagnostics: 1;SN2PR03MB2366;31:KIqvbt4Ut1syk960u8FM7lUD8MWQ7QNJrat8YGW+teYFXv+uG6jPemSZrYhpnPKRg+4xIdTDFh//0RY3abklt5e9/G51cxhzwHhvch3ZdGakegDyDOTZGg0A19Hr09atSk1vKa2iu8l61JFrsY3TZHLR8m0PkTe4Q5xys7Ncfm2kYcySwNAKw2CN/MmD3u8AwZEtxxEfz+R7AJH8VxoS8ceLqX4ALQZmvDmW/dV6LDc=;4:yQ1qljE8c0IROItnJtb2VisgBaNy9Jqt7sxGIga4d7PJ+3Wc7GdviQJu1eL4R0KeE58tUs93K7guX+hvVsFmjuf6pg5EMSGvpDx6boJqxSqJABa0KfuEP0FHc/QfYon7gC2YyjDSR0fo6JwvCSQ/32DikhaqywiTKgH9xZjp+tJivvP0Klwerj8JQLcMUAwV+5aiCWF0UKG8lQ0SRG4Qhc9jjT0tC/6umMonCma+WGaW69tP6i4QMSfpZFKHY203nP2H/JsHsEWwwrCzz3EZbXowsSQMVvKB77Wf2AH/cwLmoYk0uIYc6P3sTzSlDMwO 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)(93006095)(93001095)(3231021)(100000703101)(100105400095)(3002001)(10201501046)(6055026)(6096035)(20161123561025)(20161123559100)(20161123565025)(20161123556025)(20161123563025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:SN2PR03MB2366;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:SN2PR03MB2366; X-Forefront-PRVS: 0487C0DB7E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN2PR03MB2366;23:LjEZEOAQpLnnHwpKY5HI1CD49pnFKTpixxAVBzjRP?= =?us-ascii?Q?2E/cCEkpDV1Wf+YBapycvwynuwNhsyNp5Ut1ifhRj5CuoozQh639KMFPgbf6?= =?us-ascii?Q?J3n8al/Hl3MYITMD5corWP77Jtt6WdWCAXWOE2vT79VVPLfXlVo6a+ncRlz+?= =?us-ascii?Q?zSmlZkZvDIPNgeFj0iIeITdDkE18uOEYGFnJSPrADXBHGle872JTs8lhccR+?= =?us-ascii?Q?lOEbSyH8p3B7L7UV2f95u7jxmV0W2jZMAt0VN7uyjxPUut1FbPeRO32PrDN1?= =?us-ascii?Q?rbJCKtOdmJ+5//noZq4z0u070v1b1O/d1STgdIzJ6Qjlxjv8bdbxNtkyqRLh?= =?us-ascii?Q?1BHviPB4vZQArLD1zNFJvI+Tj8V+xdkwDhlm8CbjaFMlDCMtV66MsLzhI6mp?= =?us-ascii?Q?J5+zzscoYi4+aM6FwVtB45IeAX5dBakRgyZM0RL1hHsZ7HSWRFWF98nygmHF?= =?us-ascii?Q?x9BYxYjfU09NJFmgUeq5a4vtblJ/NOeQKsBEA9W2NxY8V9A6satRrNnMNc3z?= =?us-ascii?Q?yHUTLbrg/giZ5RDu5onjQOoLsolxHAvnGQlZIvghApKZh8+fPp3GWoS4kwNg?= =?us-ascii?Q?yfIhdUnJQCUKkWqLjp6D8cH+gA+ANZBwrtY9P14MfKsyN+iKjIl8UWY2Wuyk?= =?us-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I4z9WDn7yIqQV74zeNCws38BUJ6z0IUA8W98tOLiLP2uvgfvm9IhrK1o/MnHWchnXPuTPMSl0iyeDuYSG0F3IKWJ87Ewj8yagx2LM8o9yNPEQ4iW2KNs7q8vmDuhEWzeBq98elQsH0pxDErcqcyb/wjfQQNLJFwLruoKgoqg=;5:iZ7fBWb+dEXHu1R6Nr4fOrEEOD2FKLCCCxWaYs8jhMaY1ycV48qDX4Ld+eOi8ZTB2b4TnOGilP17ToYbB7aRQaMqxeVaRyHxZ5jl6qcaSK9Fd5KyXYGmvH+9hjlJq6NbCsT9ZBTcaYC70NVZ0cw2EwpPW0KIfwIyzNFBWzygReE=;24:GwcYhGNCRlhsQ+5qkoYj2Lm4K78KTBLJegMI7XiSanVQTNXTk68kK7K7z5/AJFfTPGoOirADZRmCAbi6efhLnlD672nANL3C+35TAr/U0MI=;7:M/dwODOxETMCTNVTWdzDDeUln7Q8ufo+9Tp2TLHXNruyNbDZtxOpCLKnkEIOe1Op1yzf0+gxuwF6OnyKos+6r73GWKS9MOPwB7VQupSWyo0U41jzaA+awdUmA4MRINipxCx+FdQ+NX7kGI3P9utfypmOGtGgvNfQgjxpSTJF4bHimFxROa1JIzA8hwtMYbZSDUAOqH6oQO0T/tz8dzmMgta8AEpY6oro1pw+28MJ/Y5eGw6vS1Tbv/mf9G2/lc5h SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2017 03:08:15.1075 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 346f9b85-1757-4aee-cab0-08d527e8491e 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: SN2PR03MB2366 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 v3: 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 1583821644294999732@xxx Sun Nov 12 01:27:03 +0000 2017 X-GM-THRID: 1583417756107719429 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread