From patchwork Thu Aug 31 09:23:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bharat Bhushan X-Patchwork-Id: 9931635 Return-Path: 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 2ECEC6022E for ; Thu, 31 Aug 2017 09:27:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 28EBD288C5 for ; Thu, 31 Aug 2017 09:27:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1DD96288CA; Thu, 31 Aug 2017 09:27:24 +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=-2.6 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9C049288C5 for ; Thu, 31 Aug 2017 09:27:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=69dTSO2D2JeYG2D8y4BIUkDglBvXNXZdwB8rWDS21Mk=; b=gPOfYXBCdKvq92 1T5AD+3piuEpIZmnSSMbgXovEspEALN8SYQptLkRY+u30y0Dt9gMSSnDd2KZYxKMs52N5MY0QJHLX AgfMOWqFmnEmy+TAFKsO8GJyjVjRUMEgyvyhYd8zWzHGPWK3V4DHc0h75zDGIFM5iWGwEQVzvXN+Y RWxqCtuSeXUbcFVH+zVZK3WXb4msMsabNffYvQckfcFcPazyyEkSNACZP872dmx6IgVxifE8G2XGM 89gwEddVtvQVWpEPdd8BdZUQuEpwBtnFVi9rEHYZsgvSE8s/kaB5uXL2ObIqHHLXu2ydDhAj4XQlD hDJeYw3nfphVY6SifsiQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dnLkr-0007L7-Tt; Thu, 31 Aug 2017 09:27:17 +0000 Received: from mail-dm3nam03on0077.outbound.protection.outlook.com ([104.47.41.77] helo=NAM03-DM3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dnLkU-00071k-WF for linux-arm-kernel@lists.infradead.org; Thu, 31 Aug 2017 09:27:02 +0000 Received: from BN3PR03CA0070.namprd03.prod.outlook.com (10.167.1.158) by BN3PR03MB2259.namprd03.prod.outlook.com (10.166.74.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.13.10; Thu, 31 Aug 2017 09:26:31 +0000 Received: from BN1AFFO11FD005.protection.gbl (2a01:111:f400:7c10::176) by BN3PR03CA0070.outlook.office365.com (2a01:111:e400:7a4d::30) 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; Thu, 31 Aug 2017 09:26:31 +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 BN1AFFO11FD005.mail.protection.outlook.com (10.58.52.65) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1385.11 via Frontend Transport; Thu, 31 Aug 2017 09:26:26 +0000 Received: from localhost.localdomain.ap.freescale.net ([10.232.14.21]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v7V9QL2Y006733; Thu, 31 Aug 2017 02:26:22 -0700 From: Bharat Bhushan To: , , , , , , , , , Subject: [PATCH] RM64: dts: ls208xa: Add iommu-map property for pci Date: Thu, 31 Aug 2017 14:53:44 +0530 Message-ID: <1504171424-15536-1-git-send-email-Bharat.Bhushan@nxp.com> X-Mailer: git-send-email 1.9.3 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131486451909309318; (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)(36756003)(50466002)(97736004)(53936002)(50226002)(4326008)(48376002)(47776003)(498600001)(5003940100001)(81166006)(77096006)(86362001)(6666003)(72206003)(81156014)(8676002)(105606002)(356003)(305945005)(106466001)(50986999)(189998001)(626005)(8936002)(104016004)(5660300001)(68736007)(8656003)(7416002)(85426001)(2201001)(2906002)(921003)(83996005)(1121003)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR03MB2259; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD005; 1:A6O+dItciiUWUK1NiyILHRCkUrhelucvccKiK3oiPuq0NEvjWzlohP9Des4R52z6Xh6I2P+5WDEhZY0rCRLtRkbCfcPF4rDNyToFWcornjlsliW7sk88oPLrGFtqUMNU MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8df5e6ed-0ff4-412b-b386-08d4f0525d4b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN3PR03MB2259; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2259; 3:Vw+NS4NMzJ3qWfY37UT+8Bmv+POQdfH3eA0Gy2a+ygxoFAnLbAG5uCDeT0mITLLeuruMQRNa8swrdpauA317oN9H8xfEYl7z8gSiijIGkac7oQLS7OQYULqy3wDayxmIZx1U82fqJZa3t2E7PyKrADR/jdxhq/KLMsgEDjUcEh/67oBgv+S2f2LICTd2BqA983duE5RN8h1V5tXSo6nfwK8+R5WRCf1ZWBAnHZYsGsCeZ75oy+2yWRBueN2OC7ztepXlaauKBrix3zF0gqpgPMNRY3jIQV8Yaf1jijJi6m+vTUQs0JYXW2WfUJ3jTb8s8atnKn6BTL5AyaAYd/LXZw/c0NG9vYSRfUbLDVzwNZk=; 25:+FcPURvCqykodJ98laqpUyecUy3TNPdlCCoHJiR9sxzrUK7CnjncjtIwzn7pw5TCJF/pxqdaPNayIiPcaYpROw4HowhR4YFRDtTZPW7f2g+hmA8OBwSyWZwyMrLVFEM6Sv+8HLWHjKeEA419HUS5AuAjHJDz54sUFHjhkZ5xp3hExgs6NojViLLiNT3MlY/xt+iA+UFzNth5RBMIf/QAZfqoaOAwqxkHcd29rEIu3zN7C4k35tvOdrolSvuCb90HnQr6g5PatCoYgjnXE6UaOxJMyppHJObdO1b+8UnRiICTDI0fWtP8FBwrjQii/fh6ynsjc8lrnZbGqVzAIsC0ow== X-MS-TrafficTypeDiagnostic: BN3PR03MB2259: X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2259; 31:5n1kcc6aTJ2gdavP8mTtn2JS35Yo6t+7mCFOSI4ipCWGkNL9Fuj6F/XGGYwmBPxpZvLl12pfrWrW9xxcHl4BtkSiAzTl4Bz8fNjj3O2SC1ayEvwTRuFZtJ1RUpe8Y6J7YX44mfzbZjk/9tskCto87D1gOH3d2rQyieeahW0ZPU1WjejJU0yynPCfJkEulhEYtfU85poEyAZEv3FZ0Ln+mcO61AZ/58+NYUA95R1U2Ng=; 4:5EPAsJ0OVQTsfHVHWZyWA19EBbWiEQq+jLl+ETxhqr9fxJJjPMxVisK+jqwQMuC0horURI5lEaV3dsoHrq5JyKlaikGSjvpiqw8pZTfiVhSeC+t5voo4Y8hFWE+VcSvIlAUHVLJ3PXBi27gf+1UQ5uoN+vtnxggsdErBI8vKKXcc5hxuSUKkCqn+LOtIXDsct8bwYBRnYU9z3S9LStEJeNRAAThKXw8mNq+1ZGS9kKABixSBwMhBRdjMt9CJ7hK2VJL/IMj6DsisKQlLxEByul0KFj/mRFEelfxbSIACchc= 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)(601004)(2401047)(5005006)(8121501046)(13018025)(13016025)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6096035)(20161123556025)(20161123565025)(20161123563025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123559100)(20161123561025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR03MB2259; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR03MB2259; X-Forefront-PRVS: 04163EF38A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR03MB2259; 23:3mMhiRu1D1zsDXgu/bNBsFqlj/A90O7DOBDCbon/R?= =?us-ascii?Q?uKfPM8veu2Yz6xspTJSPxKITB0sfCwpnre05o8FkPShp0PcKh4JAHOjZB51N?= =?us-ascii?Q?83Wuwt7uOgdGCvnMcZv4dCCU1gzK6U91eD/q8Mcn1dSBF6/YDjBaAEnlWM1x?= =?us-ascii?Q?6iijMuUnmVeTFW42AKQKCh3sbD2OK0JFVUaqozVvih1MfgiqSFaMpQxDuCMb?= =?us-ascii?Q?pOHbYSsW/EJzpkwrdCAKddywMYrA+jpVBBsn+kL5G+TEem6hEPY17F+6A74b?= =?us-ascii?Q?LI21vdIrkwSJUGkdj4jhiz7PAKLhCj46ARTjbYKjpEMaBTEhI/f7S6Mxw8hA?= =?us-ascii?Q?VfuMzGyo1RBLibSUQxpA184+5vxhXKH2d8NLQE6q9wZmNGPST0g2TW7tsNPU?= =?us-ascii?Q?cr8fqi5lhsGh9EJDo20241AlmbjWNJbtDrQJXHTRtx0bJGIw+bp9xRQFSOIO?= =?us-ascii?Q?NUSzdlUe9nkTjakFy3G/lBb+u1OcQCQBMMVn08aAgrzVPYckKGwGoAl0d8Ob?= =?us-ascii?Q?bDpUun2L0Vt5Cen3dGMxEFLY684iMS2Q06ekVR2Zv2cvnm4EUqsWWiKwmijg?= =?us-ascii?Q?sS7jHtelK0YpBedzNwDCYfOKzJO2J3rnTnLJRFbh2B6PkURrRNM55V9joHvb?= =?us-ascii?Q?+tPmapnxwSeaX0IGWFL0WDNRT2HKfMn2gIQOj3JrGggD3HqFw1e4iHi+1vx6?= =?us-ascii?Q?ZU2fSneiqoTskWZHbsm05aax1fREnxDA3fvGmlrP+yjW/ZjScRlOUSO9a0Ik?= =?us-ascii?Q?RNj+EJbfBZPIptQfCYXzDtzam7XaqSgI8888pTcjjXWbguFICKpaaWyK5zTx?= =?us-ascii?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vlaYbHZ4x4J8VH0LT0gvQSdtvR7HD7CNYhuiHAsjVQBWsyZYObSTX5ssyBHU21yN7GqJP/QuAnZvWDRkzq8ifogeSSsRSB3+lc0G82a/pL4eRXhSS+hS8uRP/QtDtGH+8oJVioApeurJEHUWxvSeEtItdXmy9/Ka2G40LY8UxxpXiV6Xgxd6zKUNjyTuKplWw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Aug 2017 09:26:26.8593 (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: BN3PR03MB2259 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170831_022655_780732_CE06520D X-CRM114-Status: UNSURE ( 9.98 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bharat Bhushan Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds iommu-map property for PCIe, which enables SMMU for these devices on LS208xA devices. Signed-off-by: Bharat Bhushan --- arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi index 94cdd30..67cf605 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi @@ -606,6 +606,7 @@ num-lanes = <4>; bus-range = <0x0 0xff>; msi-parent = <&its>; + iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */ #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 7>; interrupt-map = <0000 0 0 1 &gic 0 0 0 109 4>, @@ -627,6 +628,7 @@ num-lanes = <4>; bus-range = <0x0 0xff>; msi-parent = <&its>; + iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */ #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 7>; interrupt-map = <0000 0 0 1 &gic 0 0 0 114 4>, @@ -648,6 +650,7 @@ num-lanes = <8>; bus-range = <0x0 0xff>; msi-parent = <&its>; + iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */ #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 7>; interrupt-map = <0000 0 0 1 &gic 0 0 0 119 4>, @@ -669,6 +672,7 @@ num-lanes = <4>; bus-range = <0x0 0xff>; msi-parent = <&its>; + iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */ #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 7>; interrupt-map = <0000 0 0 1 &gic 0 0 0 124 4>,