From patchwork Mon Sep 14 06:45:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alison Wang X-Patchwork-Id: 7173451 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0A0B3BEEC1 for ; Mon, 14 Sep 2015 06:53:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2B464205F9 for ; Mon, 14 Sep 2015 06:53:43 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3993020691 for ; Mon, 14 Sep 2015 06:53:42 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZbNcN-0003zU-Gf; Mon, 14 Sep 2015 06:51:59 +0000 Received: from mail-by2on0126.outbound.protection.outlook.com ([207.46.100.126] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZbNc5-0003mK-8G for linux-arm-kernel@lists.infradead.org; Mon, 14 Sep 2015 06:51:41 +0000 Received: from DM2PR03CA0037.namprd03.prod.outlook.com (10.141.96.36) by BN3PR0301MB1283.namprd03.prod.outlook.com (10.161.210.147) with Microsoft SMTP Server (TLS) id 15.1.268.17; Mon, 14 Sep 2015 06:51:19 +0000 Received: from BN1BFFO11FD056.protection.gbl (2a01:111:f400:7c10::1:120) by DM2PR03CA0037.outlook.office365.com (2a01:111:e400:2428::36) with Microsoft SMTP Server (TLS) id 15.1.268.17 via Frontend Transport; Mon, 14 Sep 2015 06:51:19 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; freescale.mail.onmicrosoft.com; dmarc=none action=none header.from=freescale.com; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD056.mail.protection.outlook.com (10.58.145.11) with Microsoft SMTP Server (TLS) id 15.1.262.18 via Frontend Transport; Mon, 14 Sep 2015 06:51:18 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t8E6pFKF029985; Sun, 13 Sep 2015 23:51:16 -0700 From: Alison Wang To: , , , Subject: [PATCH] ARM: ls1021a: Add dma-coherent property for eTSEC nodes Date: Mon, 14 Sep 2015 14:45:28 +0800 Message-ID: <1442213128-39279-1-git-send-email-b18965@freescale.com> X-Mailer: git-send-email 2.1.0.27.g96db324 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD056; 1:286Yn0vnetIu/6M90B2TtncCqF8jgwdpdXxvqdDSBJlWeZLivdPwVtQXlFomyXbbhsn3ghcKHaUEmuQ0akcIRYH/ir/Tw++RhCBSYBN28bM/rdwx6CR/piBFOfcrYF3SUL5NcjGzoJnCixwJNbXJ+yvO13T2Jg68Ja8cIYaVf4ZzZMZdoXX/5JNrrCKwl6AnrZNL2Xe1PWIzP81hOo7H8TUrxlnh+EbjKk5MhjtYSLsZR6mUwnCtBLq+UMXGIF7BiMICmpibK5Y8upqWfx/T5YjbWgFCrps3/mO5TntGP7bvK6TjCjE2jfneuf8t6SMOWcfeXJmjPtCif0AQgiSN0Vh5WV3DTztzZx/V2IuO2KWqcjssHQQeFuHyRCmEUzvUoSv+idD8zAbTesiEH1oVIQ== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(19580405001)(19580395003)(69596002)(48376002)(229853001)(5003940100001)(106466001)(85426001)(50466002)(87936001)(46102003)(50986999)(2201001)(5001860100001)(105606002)(47776003)(50226001)(77156002)(68736005)(5001920100001)(4001450100002)(11100500001)(33646002)(64706001)(189998001)(5001960100002)(104016003)(6806004)(62966003)(107886002)(77096005)(36756003)(5001830100001)(92566002)(5001770100001)(97736004)(81156007)(5007970100001)(4001540100001)(42262002)(2101003)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0301MB1283; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1283; 2:SKBV2dlAVsVP7IIGGNUP37ssrQXhZCqUghc4Cd1hjzPaNS2iu1RVvV9vjw1R4FGutV7BNlkUQ9mS1cAuSQJVq6Nm2SWwO+VfU3DzUI5BBlEllYna2ypUyHDfimCQXZhJcDss2x7fjWtmj7r1wYmuZx0794d/GKNnYl/r8/wgjvQ=; 3:2prmBKA7Rw/eUH8xqzRSrMWpXi5ifAL53UL6GbAD8tLuKNjgjSL7XQ1D8RSNl66v4Hm6seeAwNpwiwVm3gPjrG1iPepcDbQZ6xHWQzQRJQI5phndfUvLyUquGn9HWW5VFRGevViLmllVYQxs1+zPzEsF83vrM19uT6mPu29GXIlRLpEYTipdam4rjQn6k14ZgwD2CwAxobTe8IRpC1+PIBBNtOVuWkNbn2g1W5hwhFg=; 25:NYYDdLRi6jIfLOjNTnOtbAfisPt41j38FmX3sXVj+SVOSmomte/4ti7pID2lV6YYCPr1KMRj+gnCLyyZZwMfPDvn2inWRjfF/OOC7uEv327SWMdQsAOTRGYnhS0KFb5cuvmBvCDJ6sYX6tkwB02alAqWwz5WmChjnkkJZcrm4DnCJ2tJt7v9/WQjCZXQkrK4UU7v9XMf8WnjOFm7ssIUsMteT/MwYgZN0T+kbQ0UMFrvQgbJph5MJtly37IABxaFYClPGSBhwqXKxlENs0a8Ng== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB1283; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1283; 20:xMD8LsiQEsBCuLC053L6353Qik6bnmcJOnNVdfjX2oE4TPFPdatS5tZbjH6nm2aLeugrZYwYymcQpiBvD/TKH3etaaJNo47oyMX6oN0YCgUdp3UaQJzrQFbdHb4HSFvNbIwEkim0SMYQ8xVwewvCykZ0OFzqVWRdegdrrDyhd+6a4CzewTbs/is7Ugo/BcaWnWAuwWZtL3FWoteLwL48ukXMrFj2zNpmLJDOHB9CDDTllkfyELg47rdgQ13gytcyHXwzjcJkUfMc2PX1sIHBp/ilCD4nxTlFcNkG7SF2nwaA3mPThHQQ2hLTysyyHG9ePFaXtc9P0faZwAnLjlPrtU0J533oerGpUah2lEQj6EE=; 4:tVaCIoJ4T5C2Xc2Rq+fh9kTItSjGD7AiZ5xYx1Zvoso+4sVIcTqmcIOe9gVpaO3FTGAQr/AOH4rc/Bqrwyyy9gmiVozhyLJwB2La+R6pTeCPXuH8UmVe0Gn8/9C0EvDnOkAVuprKUrqlxDEnfXO3dH9QuRjo1Sq/A49y3RFWlU/miL1v+NnfMb1EvohpJyhkhuWWVFs4/K4bswBiBnlu6OT3iZ/6fDYZd2Oee/cfqKUUZeudZE95VRAQ6USemAlMVhBAXAnY34RALiQO77zeCanCNTr1f3fjXEuv5wZOl0MWy/FKJ3dERh/FNEEGw4Yn X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(8121501046)(3002001); SRVR:BN3PR0301MB1283; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0301MB1283; X-Forefront-PRVS: 0699FCD394 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0301MB1283; 23:f/UebrwUhTMi67hRtu+uW/OP77otQFfaMBi5vo8?= =?us-ascii?Q?BYRLRfk5l6MWffGzasxvkJo4QBJBIhvCaSvv9hMExdtJR5FiCTOE9Coz2pgO?= =?us-ascii?Q?IelTnQRadp2hPI+pI5KDCsgehyuqRlQ4vbXfVBlT1TcG9JOmnQ2+mGAQb6vm?= =?us-ascii?Q?iSQeOPh3cytAcvZ9GhzNgUIoq3o5YcjWaY5sWodtQvu3DmDVn8mHP5ioUlz3?= =?us-ascii?Q?fdL0yzrpsj8+KCc0tb1n4IVq9r7rSTmdNnz8bH0vcTf5beJCBUl+fd/SW0XF?= =?us-ascii?Q?5FlZcsKAGviT9M1tkNIh6Es6vmcq73z5z2lMEpj8gFR3oAHJ66J5Jfhn7kNy?= =?us-ascii?Q?8j+3scuCCgX67nWCZvas9T1vwNDAGx0RbfeU6CPvRPBIfbIqyZlbtU73ewKv?= =?us-ascii?Q?a+qPHzHBFDrf1P8tHBUfzXsWqQ+IdOcR1iACFTfMDdnyNpCFqHxhxYFsDePj?= =?us-ascii?Q?Plf467WfCOYIIHUubCSNTyobDcjeCw/3T1dhVRjMTnXyNNw2S2heGhw6Br7v?= =?us-ascii?Q?9671B6pgSUpy6BAN29M+0yHwqosJt8pYuud2e+7XHDyMq9D0FIHw5w5GB1km?= =?us-ascii?Q?SLGm/Ot0zolLDDw8fGn/OcUs58MpyZChndrtjAqsCkZoSCgu+0eFJRwiusqi?= =?us-ascii?Q?bz0hXHvVKxwWYuq7sDx/GA/f1J0FMovzeUOkQM35RSIk+AXr4dll+rH4SnIX?= =?us-ascii?Q?h80JkpDTjnyKjAMwD288CGhuzRwfo2F8/c9WPVwtLUys1Ow2oGvGPk9qRzqo?= =?us-ascii?Q?yrpXF23AEJXRyeeoJgKFy4FifWTAQt4mYBH83TX9XL+xHQYW0/1VmVA13px9?= =?us-ascii?Q?4cJsbkM55/4GXh64PRFS0RIgygRjX/rwEH6WA9HZRNmf4cQqZs4YtWPA88K9?= =?us-ascii?Q?7r2x4DFs6bNMzIXbVtv1d3YSnmNXDDfWu+r/db6KaihLtDahmFzUh9T9cEz7?= =?us-ascii?Q?Nh5nJqr/oZSD2lNVh6YH3e3QsvIqjeuRT9lvDh5gRo3ZPEezZJ9LsHGyKX/p?= =?us-ascii?Q?hVr205n0r8Vngi+y5H5DkbaOhGf/5ppTHRoLMivkbJlstFpz0IlNtOzjDbVa?= =?us-ascii?Q?luFxYCUAL1SRw5dWbopRdjN07vPbAty0RUEPWC3t7qHdlBPZqMOEn3Z5NHp7?= =?us-ascii?Q?zSj50N892ThkFZghUuWXpIrTaLgGcYpqfFhxFohiJzkPK6PYvwKmdyfc33Mg?= =?us-ascii?Q?A14AYhCD97jUK0/Q3mEkl1e7+Ds3XmvR3UQXgIeJOak7FSVdKcbN44Yzj9/+?= =?us-ascii?Q?6t6vlQzuC9KBivlLy8OtExkti5e6vu98Xj1G3+BrNNvHOfU7p0foU4uZoZOF?= =?us-ascii?Q?nGcAKL15a9cavZytl8Yn2hbyb1n29YUO6CAEZWJIeHtM2?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1283; 5:5Sy8muAWjzrf2QtwHcRHvtU8oKrQbWinlawUwmOB7WzlOrgJS8awH7qSswJXtoIs1kRIWfE4OoHS4+83mVkmglZAMZPDfOy4bS4RFBQn7vwZ5AvgfdEwHZD9iqpHerVbJr64WxcHvSCbKCI7OGu7Lw==; 24:d+gRHJKUDNbSHxoSHHHaHvFcWEzRxryBRtQpl8lMytsytWkqnUxgiD0/c+iHfzS6dpZNAplyfEy/eYIk3Tym18U4Ggnh61wqrWWxrpMPKkg=; 20:lk1m6f4rbFnvkWSIFoMmhtUkqU2jHJThvYtwJMzu2jnKhGemYCOqkXI13XY1XIGJS4INytQ1jLLNOWQB4pB1Xg== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2015 06:51:18.8672 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0301MB1283 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150913_235141_372140_1755AD0F X-CRM114-Status: GOOD ( 13.42 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alison Wang Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds dma-coherent property for eTSEC nodes, so coherent DMA operations are supported. Signed-off-by: Alison Wang Signed-off-by: Shawn Guo --- arch/arm/boot/dts/ls1021a.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 973a496..e1a16ed 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -405,6 +405,7 @@ model = "eTSEC"; fsl,magic-packet; ranges; + dma-coherent; queue-group@2d10000 { #address-cells = <2>; @@ -433,6 +434,7 @@ interrupt-parent = <&gic>; model = "eTSEC"; ranges; + dma-coherent; queue-group@2d50000 { #address-cells = <2>; @@ -461,6 +463,7 @@ interrupt-parent = <&gic>; model = "eTSEC"; ranges; + dma-coherent; queue-group@2d90000 { #address-cells = <2>;