Message ID | 1524824826-29473-7-git-send-email-nipun.gupta@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 573DB602B3 for <patchwork-linux-pci@patchwork.kernel.org>; Fri, 27 Apr 2018 10:28:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 47CD929351 for <patchwork-linux-pci@patchwork.kernel.org>; Fri, 27 Apr 2018 10:28:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C13E2936C; Fri, 27 Apr 2018 10:28: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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable 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 B19CC29351 for <patchwork-linux-pci@patchwork.kernel.org>; Fri, 27 Apr 2018 10:28:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757811AbeD0K2a (ORCPT <rfc822;patchwork-linux-pci@patchwork.kernel.org>); Fri, 27 Apr 2018 06:28:30 -0400 Received: from mail-he1eur01on0082.outbound.protection.outlook.com ([104.47.0.82]:31743 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1758006AbeD0K2Q (ORCPT <rfc822;linux-pci@vger.kernel.org>); Fri, 27 Apr 2018 06:28:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=VzZe9GHE5YOeD6SErvlgjuYTo+SX5eUYyDYJPgPkgO0=; b=b9G9GBxgBdcWc30fQh9nbC4ccpUYpH0xhgc/2E/MZ4U/kVwvrnGSUlYL2ccXJZWFGpoLTwzZyD1zr9Zjq9LfHNvu6W4LkaFjgP3r4F8Mh2OGWo0e0TI+voWd7DsekZz4dfcbm4ISho7eFmQTNuVMTDTARAspdFn29gSlxT7Euy8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=nipun.gupta@nxp.com; Received: from b27504-OptiPlex-790.ap.freescale.net (14.142.187.166) by DB6PR0401MB2422.eurprd04.prod.outlook.com (2603:10a6:4:4a::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.15; Fri, 27 Apr 2018 10:28:09 +0000 From: Nipun Gupta <nipun.gupta@nxp.com> To: robin.murphy@arm.com, will.deacon@arm.com, mark.rutland@arm.com, catalin.marinas@arm.com Cc: hch@lst.de, gregkh@linuxfoundation.org, joro@8bytes.org, robh+dt@kernel.org, m.szyprowski@samsung.com, shawnguo@kernel.org, frowand.list@gmail.com, bhelgaas@google.com, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-pci@vger.kernel.org, bharat.bhushan@nxp.com, stuyoder@gmail.com, laurentiu.tudor@nxp.com, leoyang.li@nxp.com, Nipun Gupta <nipun.gupta@nxp.com> Subject: [PATCH 6/6 v3] arm64: dts: ls208xa: comply with the iommu map binding for fsl_mc Date: Fri, 27 Apr 2018 15:57:06 +0530 Message-Id: <1524824826-29473-7-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1524824826-29473-1-git-send-email-nipun.gupta@nxp.com> References: <1524824826-29473-1-git-send-email-nipun.gupta@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BM1PR01CA0096.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00::12) To DB6PR0401MB2422.eurprd04.prod.outlook.com (2603:10a6:4:4a::25) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(48565401081)(2017052603328)(7153060)(7193020); SRVR:DB6PR0401MB2422; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0401MB2422; 3:FiO+exACJmg5oASZ33fYhfu++DpLIbkG3Nzcc/DEe0ri8B7go11MnQL//PIix4mQc/IOoOXAlmhGQd23MC62nJeh/CZf74DobPcTieQXFfZXC9jFaA+m3sDH5sOyEQ1ryYH3zLn0WjbBi4B0z5Et1V5YjHjZTVLb6qCwDGSCcNK3/BD9ASwfeqIL2WxZzPv8/QZ6U9N8vTAf93ApxJ2tCx7CHLbwTS621QA9buPE+f10mi/NOL62uTE2oOP8FFnI; 25:hbWhnHVIQNLBjs2CHxQQdoqJBA1LuzLqn+C9cIAxUdpx6v2PLOY6n+7M32aqYHFzY8kQIH8XsJ+6GN5Cil46NgrLWh/AvZ2NtUhMSpK8lWR/mxABo3nFPMCF/gmCA3vJOJMPc12mg58I3J4XqEBOvwB8dX9swcfWyBpW66K1Z2GwP5tR4KGeZCvp2Ds7wJQOaP5dM1bRsNaYla1/6mg5qJZGoRVs1upbZjGQ/MF3aq0liLxytiM9AI2RL67I5vKY70Kitlq7vI0vRk6h+eCksyL3hwdcpqjA5KVLULRlciP9I4PuqsQ/gP85jZeIvD/1vEmYHuFbrjJRRQ8fgWnUgw==; 31:BqX2clBXk7BTM/WeVczssg6N3kLvCtOMrb4PZRdVOu7VhSYYfdxgrBtoeQd+R6RuPFytTwuyUKHWX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VRFbsvj9sqVH2fSRpDjT1Ex0ZeBMrKPJU94= X-Microsoft-Antispam-PRVS: <DB6PR0401MB2422EE84CFEF28317F1AE705E68D0@DB6PR0401MB2422.eurprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(275809806118684); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231232)(944501410)(52105095)(10201501046)(3002001)(93006095)(93001095)(6055026)(6041310)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(6072148)(201708071742011); SRVR:DB6PR0401MB2422; BCL:0; PCL:0; RULEID:; SRVR:DB6PR0401MB2422; X-Forefront-PRVS: 0655F9F006 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(396003)(346002)(39860400002)(39380400002)(376002)(189003)(199004)(2906002)(86362001)(8936002)(6116002)(3846002)(53936002)(25786009)(5009440100003)(305945005)(48376002)(6512007)(6666003)(6486002)(4326008)(39060400002)(16526019)(186003)(478600001)(76176011)(52116002)(7416002)(44832011)(26005)(105586002)(2616005)(36756003)(8676002)(81156014)(16586007)(486006)(66066001)(11346002)(50466002)(51416003)(446003)(956004)(97736004)(106356001)(386003)(575784001)(68736007)(81166006)(5660300001)(47776003)(55236004)(476003)(50226002)(6506007)(7736002)(316002)(59450400001)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0401MB2422; H:b27504-OptiPlex-790.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0401MB2422; 23:6oDFdy54f9BDldG+GUhgpWlHmDNXn/8aY4+bpjH?= =?us-ascii?Q?aC6M13AQmLnAHEEEkmFwqGyAT+0Z+amtFZfSi2nMjqxWVytHdekbg2xQp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eGHHOY24XPOCCtIctUZUGveBn3qI7WDBE?= =?us-ascii?Q?PoeIq7NlcM6m922MvEmeZT1vE5dGavRAjk4NAQSZV+oSDTvKPX6J2AVV7eqc?= =?us-ascii?Q?sonr6qaK2o3yELxaD3EGudR7hl/hGP2KT8QAI+yiGFOgL0za3cUWe6isKJw/?= =?us-ascii?Q?hmIHupSpAckwsu4fJLJF+tYaK+U8PfYgHJjWvqDl/vlo/6odgHghucHz5muc?= =?us-ascii?Q?FFLJi8Hj64eegmpDz0mZd2yx3SLJ5LpHV9062d1Il9hVZRAthqSQW9rwh7FV?= =?us-ascii?Q?0dyVFEb6lMAhQOG6L1K2Tbez1J9zmBTI5dptewCzqi2QW7FRNbUsOGKhAmct?= =?us-ascii?Q?xpo/9ocAb1WFVXt9qtnZEDb4yKNJpDu6hBp5Kv7tchot8XZgWBTlxusKCbkZ?= =?us-ascii?Q?sN62HyA=3D=3D?= X-Microsoft-Antispam-Message-Info: 9HiyYEeSn9CObzOdpRzrFcH8x4V/VYRGIKf2b8RfGbb1Htt8jVN/4jmqQni7W+V/Q0if+IQFxWnRpiy8iPDKma6p12dxsGRxOigU8CLzcORWINEK32oQM0aVidgutvHWY+YMgvvXgTnUwqtjsddza1hWRpPFTUXiYbDVhZv02l09ts8Axmj/elnzKzQHSoxF X-Microsoft-Exchange-Diagnostics: 1; DB6PR0401MB2422; 6:KeBRy3Fp/VP2xP2dPNsw6skAoFk7eoIi0YCaV7akKXXFKJ9ETRLqeB/YbKtm+sflqyugpYfOmsI1uQEM/RCgu8UrevKtbSFqgyqqQZD5p5g7DpFvKPKCT3jN7jCOXIZJKXLPMuPylYmMB42UeHQSzoOiGJJGXFFui4YoI50llbclG2Z0p4Tq+t7bTvsSld8poYCTK2nbp8rMHb/i4C6uwM8JBN0po9gqiwAFCV3X6vMosZN08+JMKbyA06vRa3lrcZ28c3CI9PGIbZCim7zGC9qA8r8mHi9vBMLKplkrfknSVMMIMtfaUhhDSpdUOUABeGQuc7LKtYW0J1GDPZ13j/nZsgR7+PXjWxZme9Rt9B+/bE+ZWo9Zw68Hmscj21CwObqQSTfQ1IB8EnqTspd8fO4xgLVU06WOTJNyaqEqL4wFw6pJQLEsX/rhsuYnYBR2p3i1VJ3xj2n3oyDZ4rVNqA==; 5:Iy//Mg98y+2ZmZcyE2ZBf0Ar0ea/g0lRbXJEq4q1bvaf+dPaaSyyMN6OByeGIykxrfpfTrlIEFtoi0J/z91x2ITA6xdX/4mTr3j2Un2LyC6DWoVb3+YRFVQ95z7GvmhL58XEcXgp/0h+ZvCg6ceuzaqcRwoBiGHOTPRV7DQnO8M=; 24:j35AiuNNsKjgY1j2r1dHZqbAqefWHdxC5n4mYFntmv4DmrgNcuqL3rK/yP2foeVbmslJnas8e64cQhlr6tEO1M+VtmZWJgq82qgazWajruU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB6PR0401MB2422; 7:uoFa13W9AN7I+JcFvMtCYl9/+7NGa5Ddw5QWH3DYo9tMPRPoU3+suFy71AVoZdHOubXvEEu9SxuUWlBQ2rwHSWN6Or9VeUgZ66Ik1YM5yNvB79kwqEZlWohfdcvmkgJQ4rkeOj61pfyLDszG8P1nFou8p0paXbCzY04ln80WLJvOH8y2KNLYVifYifTpAzlCfUHgFivRtpTYs6iRa9lhpSHqZc1hFq8HCPw76WHFtwyBWSoOou2MZMH9zuV7hyTs X-MS-Office365-Filtering-Correlation-Id: 9a2221d5-a5cb-440e-c906-08d5ac299490 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Apr 2018 10:28:09.1289 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9a2221d5-a5cb-440e-c906-08d5ac299490 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0401MB2422 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/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi index 137ef4d..6010505 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi @@ -184,6 +184,7 @@ #address-cells = <2>; #size-cells = <2>; ranges; + dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>; clockgen: clocking@1300000 { compatible = "fsl,ls2080a-clockgen"; @@ -357,6 +358,8 @@ reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */ <0x00000000 0x08340000 0 0x40000>; /* MC control reg */ msi-parent = <&its>; + iommu-map = <0 &smmu 0 0>; /* This is fixed-up by u-boot */ + dma-coherent; #address-cells = <3>; #size-cells = <1>; @@ -460,6 +463,8 @@ compatible = "arm,mmu-500"; reg = <0 0x5000000 0 0x800000>; #global-interrupts = <12>; + #iommu-cells = <1>; + stream-match-mask = <0x7C00>; interrupts = <0 13 4>, /* global secure fault */ <0 14 4>, /* combined secure interrupt */ <0 15 4>, /* global non-secure fault */ @@ -502,7 +507,6 @@ <0 204 4>, <0 205 4>, <0 206 4>, <0 207 4>, <0 208 4>, <0 209 4>; - mmu-masters = <&fsl_mc 0x300 0>; }; dspi: dspi@2100000 {
fsl-mc bus support the new iommu-map property. Comply to this binding for fsl_mc bus. Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com> --- arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)