From patchwork Tue Jul 1 10:07:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 4457831 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C5E4E9F358 for ; Tue, 1 Jul 2014 10:11:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 13E21203E1 for ; Tue, 1 Jul 2014 10:11:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B0B0320386 for ; Tue, 1 Jul 2014 10:11:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752138AbaGAKLn (ORCPT ); Tue, 1 Jul 2014 06:11:43 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:43821 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751417AbaGAKLm (ORCPT ); Tue, 1 Jul 2014 06:11:42 -0400 Received: by mail-pa0-f45.google.com with SMTP id rd3so10343254pab.4 for ; Tue, 01 Jul 2014 03:11:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=7N77ZPNxPBqIDxcWRhneaYRm9+EqBWYNSAO4XW2iHec=; b=bM6wJKfrmK4tXhvvBvNL/CF/O8X9TAE6g+rLqtK76OcKuTQLlF+4RUQ7xJcKvMSyig kDrTdd/YLVcSAFo7bYI/IIt8MvLv9mAyfvJm00oqPNZv7lsyZj0N16NBnKofTjjIOSC/ BH579H4+XO6utfw9ZvDLsVCwOZSn0SjNrN0KsQjepD/niedprBC2uPocIpm2pOe26Gj2 AoL+H6NpYdvRqf9xLQD4a49J/34aGV15sDnM2wmiGoDbxD07RInzrQP1v80DI4DHkFjR LeO7bSemvALwpzdQxCeijZ4kALWxY/KwtB5+u97J6GPPxMI0SpTMhgixSnJj+2ZhaVjX 2gKQ== X-Received: by 10.68.106.101 with SMTP id gt5mr39419994pbb.134.1404209502458; Tue, 01 Jul 2014 03:11:42 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id qf10sm31917783pbc.23.2014.07.01.03.11.39 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 01 Jul 2014 03:11:41 -0700 (PDT) From: Tushar Behera To: stable@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: gregkh@linuxfoundation.org, khilman@linaro.org, Seungwon Jeon , Kukjin Kim Subject: [PATCH] ARM: dts: disable MDMA1 node for exynos5420 Date: Tue, 1 Jul 2014 15:37:49 +0530 Message-Id: <1404209269-652-1-git-send-email-tushar.b@samsung.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham 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 From: Seungwon Jeon commit e6015c1f8a9032c2aecb78d23edf49582563bd47 upstream. 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 Signed-off-by: Kukjin Kim Signed-off-by: Tushar Behera --- Tested on top of v3.14.10. Fixes issue reported at [1]. [1] http://armcloud.us/kernel-ci/stable/v3.14.10/arm-exynos_defconfig/boot-exynos5420-arndale-octa.html arch/arm/boot/dts/exynos5420.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 8db792b..15eb8d4 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -323,6 +323,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"; }; };