From patchwork Tue Apr 22 13:05:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Seungwon Jeon X-Patchwork-Id: 4031581 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 85306BFF02 for ; Tue, 22 Apr 2014 13:08:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 94D3D201FD for ; Tue, 22 Apr 2014 13:08:52 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1328D201B4 for ; Tue, 22 Apr 2014 13:08:47 +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 1WcaOW-0000hG-Ew; Tue, 22 Apr 2014 13:05:52 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WcaOT-0000YI-5t for linux-arm-kernel@lists.infradead.org; Tue, 22 Apr 2014 13:05:50 +0000 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N4F00MTIOD2W580@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 22 Apr 2014 22:05:26 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.47]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id CC.C3.09952.61966535; Tue, 22 Apr 2014 22:05:26 +0900 (KST) X-AuditID: cbfee690-b7fcd6d0000026e0-62-535669166808 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 6B.BF.27725.61966535; Tue, 22 Apr 2014 22:05:26 +0900 (KST) Received: from DOTGIHJUN01 ([12.36.185.168]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N4F000T0OD2LV60@mmp2.samsung.com>; Tue, 22 Apr 2014 22:05:26 +0900 (KST) From: Seungwon Jeon To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: In-reply-to: Subject: [PATCH v2] ARM: dts: disable MDMA1 node for Exynos5420 Date: Tue, 22 Apr 2014 22:05:26 +0900 Message-id: <000a01cf5e2b$87601760$96204620$%jun@samsung.com> MIME-version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac9FDn94XEQXR2D2Q4Sit5iSmMOQfgV/RtvwAMe5CzA= Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrEIsWRmVeSWpSXmKPExsVy+t8zfV2xzLBgg2fbdCy2/Glmt+hdcJXN YtPja6wWM87vY7Jo/7uXzYHVY828NYwed67tYfPYvKTeo2/LKkaPz5vkAlijuGxSUnMyy1KL 9O0SuDLWL9/EXPCAr+LawWVsDYw3uLsYOTkkBEwkTh9rY4awxSQu3FvP1sXIxSEksIxR4sfL 5+xdjBxgRTe7ZCDi0xklpt+9AlX0h1Fi/sm1YN1sAloSf9+8AbNFBLwlJp/5yw5iMwtUS3zs mccCMkhIgFtidXMQSJhTgEdi3Z9OsHJhAXuJxzNvM4HYLAKqEjdPTGcEsXkFbCXaF91hhrAF JX5Mvgc2hllAXWLKlFyI6fISm9e8ZYY4U13i0V9diAOsJNa/+8kMUSIise/FO0aIF2+xS0zc lQqxSUDi2+RDLBCtshKbDkBDQVLi4IobLBMYJWYh2TsLYe8sJHtnIVmw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UamBs +GD6/e6lmT/U2njkPYPy3I28RBSOan4PNDEwnLhi6tvCx3psMtqbpRfs5u3oZipL2D43oGFf zxz9p1ezraerKgqaGP0SFav5p1Lz2fXHqj/3fu/VPc7vfjYleUFiH8NZDoc6Ddf7e58/X3Nu lXs386KUeFuG9IxdxfNdJL59l8jKu2Gz/ZkSS3FGoqEWc1FxIgAm1XOqQwMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140422_060549_401792_3D340C86 X-CRM114-Status: GOOD ( 11.39 ) X-Spam-Score: -5.7 (-----) Cc: 'Javi Merino' , 'Kukjin Kim' , 'Tushar Behera' X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,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 change places MDMA1 in disabled node for Exynos5420. If MDMA1 region is configured with secure mode, it makes the boot failure with the following on smdk5420 board. ("Unhandled fault: imprecise external abort (0x1406) at 0x00000000") Thus, arndale-octa board don't need to do the same thing anymore. Signed-off-by: Seungwon Jeon Tested-by: Javi Merino --- Note: This patch comes from "[PATCH] ARM: dts: disable MDMA1 node for smdk5420 board" arch/arm/boot/dts/exynos5420-arndale-octa.dts | 12 ------------ arch/arm/boot/dts/exynos5420.dtsi | 7 +++++++ 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts index 80a3bf4..896a2a6 100644 --- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts +++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts @@ -364,16 +364,4 @@ gpio-key,wakeup; }; }; - - amba { - mdma1: mdma@11C10000 { - /* - * MDMA1 can support both secure and non-secure - * AXI transactions. When this is enabled in the kernel - * for boards that run in secure mode, we are getting - * imprecise external aborts causing the kernel to oops. - */ - status = "disabled"; - }; - }; }; diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index c3a9a66..97cbcdd 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -336,6 +336,13 @@ #dma-cells = <1>; #dma-channels = <8>; #dma-requests = <1>; + /* + * MDMA1 can support both secure and non-secure + * AXI transactions. When this is enabled in the kernel + * for boards that run in secure mode, we are getting + * imprecise external aborts causing the kernel to oops. + */ + status = "disabled"; }; };