Message ID | 1536587361-11047-8-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-2.web.codeaurora.org (Postfix) with ESMTP id D57E714BD for <patchwork-linux-pci@patchwork.kernel.org>; Mon, 10 Sep 2018 13:51:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C5F6228F68 for <patchwork-linux-pci@patchwork.kernel.org>; Mon, 10 Sep 2018 13:51:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B82B0290E1; Mon, 10 Sep 2018 13:51:07 +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=ham 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 3CF6C28F68 for <patchwork-linux-pci@patchwork.kernel.org>; Mon, 10 Sep 2018 13:51:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728635AbeIJSpL (ORCPT <rfc822;patchwork-linux-pci@patchwork.kernel.org>); Mon, 10 Sep 2018 14:45:11 -0400 Received: from mail-db5eur01on0061.outbound.protection.outlook.com ([104.47.2.61]:34336 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728174AbeIJSpI (ORCPT <rfc822;linux-pci@vger.kernel.org>); Mon, 10 Sep 2018 14:45:08 -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:X-MS-Exchange-SenderADCheck; bh=mSF6WsMiQFz9osmzQtZq5/GO4k6ZQuqdRQNL+BJQVlw=; b=sDcZtl70nflqmyFNRD2DJyT8HWxXTz+Vnm/tFBb2iNNAjvujMueoqCXD+L5ephwvi/0DPGnz2ERhyIw3qPZF6TU4wOOtefxRdDLNPaG074dJqQ+tx9gLiDX8vM5zUy2OKi5VtcYtjGaZ4i6Y2w5ncY1cC5/aff8LGBtF3JSDW5o= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=nipun.gupta@nxp.com; Received: from b27504-OptiPlex-790.ap.freescale.net (14.143.30.134) by DB7PR04MB4476.eurprd04.prod.outlook.com (2603:10a6:5:35::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.17; Mon, 10 Sep 2018 13:50:39 +0000 From: Nipun Gupta <nipun.gupta@nxp.com> To: joro@8bytes.org, robin.murphy@arm.com, will.deacon@arm.com, robh+dt@kernel.org, robh@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, gregkh@linuxfoundation.org, laurentiu.tudor@nxp.com, bhelgaas@google.com, hch@lst.de Cc: m.szyprowski@samsung.com, shawnguo@kernel.org, frowand.list@gmail.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, leoyang.li@nxp.com, Nipun Gupta <nipun.gupta@nxp.com> Subject: [PATCH 7/7 v7] arm64: dts: ls208xa: comply with the iommu map binding for fsl_mc Date: Mon, 10 Sep 2018 19:19:21 +0530 Message-Id: <1536587361-11047-8-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1536587361-11047-1-git-send-email-nipun.gupta@nxp.com> References: <1536587361-11047-1-git-send-email-nipun.gupta@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.143.30.134] X-ClientProxiedBy: PN1PR0101CA0049.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:d::11) To DB7PR04MB4476.eurprd04.prod.outlook.com (2603:10a6:5:35::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0114417e-8365-41e2-d5c1-08d61724676e X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:DB7PR04MB4476; X-Microsoft-Exchange-Diagnostics: 1;DB7PR04MB4476;3:pH9A2RWzRGbRyjU3ErcRKKcgjHfoZBn5qVnCN9bFtd0eSNN5qcqF5GOpfp1UnR6RPMMNf9fXFuH5lSYj2eMqZD63uGDEXXgWyPFA/yv0X4cdMTqXMquRgELhqlpZ3Qpt1Eg6+SK/cv+IzfP+Ok0G6bnVSwvYRazrpexb4VDyA7mZxgkiwODqu+6/XauVvc4jBsQHE+jy4AmYmZLhNcQ/B1oE/9NzXP/cjz6Kgf3Al2itWjncAG0ZlHHrN0CPnldR;25:hArr+09ayBXV2JVxbRkZlos2IqN7+E+il26NbwJBuemPecGDAFM/WpnM5gdYg6GF1bvhJpvQ4LFC+VrL12ehAWDl2FE8QAgHhIttY9eadhdA75sc4pywWu4PmJi1vARXbJdaag8jD0oK8HWIEr66cXXu65qSu1kkY/Gpy5O4/kaJDrQ0tnIsqeLEW/85anCELsIGmgNGV38/RY66V5UM0SKfTUYv2pGQw7Q5HWusgtbfMTSzaLr2U1oZZGQn3t8NgHWvhj8PDWHk1VwIGhp8U0IBHRT3rzJihs9qECQkMLG5czyoYADfb4bADXFLb+RLPfMhVEZ00wRShV8H/EDiJA==;31:gUh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kGT60R/WOYpzO4cCXjbUbZBPIo+nsm6fTNQGsLxk4cOojJtnCmgaWRX7OOR/LGsG/y7Kg6Exkpg3IV3WA+AoxW8/WCH+xN5FEkK5k= X-Microsoft-Antispam-PRVS: <DB7PR04MB44763A18B2A1BFD381AEE246E6050@DB7PR04MB4476.eurprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(275809806118684); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(823301075)(93006095)(93001095)(3231311)(944501410)(52105095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(201708071742011)(7699050);SRVR:DB7PR04MB4476;BCL:0;PCL:0;RULEID:;SRVR:DB7PR04MB4476; X-Forefront-PRVS: 07915F544A X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(366004)(396003)(136003)(39860400002)(346002)(376002)(199004)(189003)(14444005)(48376002)(81166006)(8936002)(81156014)(105586002)(106356001)(44832011)(53936002)(47776003)(50466002)(7416002)(316002)(956004)(16586007)(6512007)(2616005)(575784001)(476003)(26005)(186003)(66066001)(486006)(11346002)(25786009)(6506007)(386003)(50226002)(446003)(2906002)(16526019)(86362001)(55236004)(6116002)(3846002)(97736004)(4326008)(68736007)(7736002)(5009440100003)(305945005)(6486002)(8676002)(478600001)(52116002)(51416003)(5660300001)(76176011)(39060400002)(6666003)(36756003)(110426005)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR04MB4476;H:b27504-OptiPlex-790.ap.freescale.net;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: 1;DB7PR04MB4476;23:l2bQ7CJzjIVHYL69EaTUL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x+eW2iBuOTQ1cOtPeKrdkxqX0OVMU4La38bBf3dhrNcgasvCgsIHcSEsxpC6EIid+k25KwegDYPsK7a2SvLoxE4c9eqMD+mahrTETA==;5:xfFd2vR+prpdbAUbUXSEb+qLKr9xxAUTaRWloeORr+Q542Y5IdeR8PByIxc1+5NoEJ7SNff2Y8Q5rliX6I55xTbZUB0Oj2e8wORu9sui4KGSicHYdKng0RDH2HOuJ405p47aDlFDxApQkO9vat+XF0c+1X+1IaXXU1LFeze0lGI=;7:fV6piyY5wIk5Ewp00jruef/DHBrNxjO4F3/RlFmn7Z/LDoE56gh3InHZAFNYp2y4fYMLfZANBSCJYTO/6B9p6vZlBocvtoT8nJVhvy22wIr6MG7mpPlbYK9UyT9G0nnwLRLOBB18BKnBvsQmbNTmahyn6D3+EEGr6T/bCLRWLajrHsV2XKBkW6MUULMYxirnQmi+V0OhE3C1NWWn3zM0p+15xSYzYhHQPK443XOT+/5I5HbmnX/5UO9PWXobeAjv SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2018 13:50:39.9252 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0114417e-8365-41e2-d5c1-08d61724676e X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4476 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 |
Series |
Support for fsl-mc bus and its devices in SMMU
|
expand
|
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi index 137ef4d..3d5e049 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,9 @@ compatible = "arm,mmu-500"; reg = <0 0x5000000 0 0x800000>; #global-interrupts = <12>; + #iommu-cells = <1>; + stream-match-mask = <0x7C00>; + dma-coherent; interrupts = <0 13 4>, /* global secure fault */ <0 14 4>, /* combined secure interrupt */ <0 15 4>, /* global non-secure fault */ @@ -502,7 +508,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 {