From patchwork Wed Apr 11 18:01:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Gershgorin X-Patchwork-Id: 151847 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B335AB7070 for ; Thu, 12 Apr 2012 04:10:42 +1000 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SI1yU-0008TV-Kw; Wed, 11 Apr 2012 18:08:58 +0000 Received: from mail.meprolight.com ([194.90.149.17] helo=meprolight.com) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SI1yR-0008RH-34 for linux-arm-kernel@lists.infradead.org; Wed, 11 Apr 2012 18:08:56 +0000 Received: from Internal Mail-Server by Mail-SeCure (envelope-from alexg@meprolight.com) with RC4-MD5 encrypted SMTP; 11 Apr 2012 20:02:15 +0000 Received: from localhost.localdomain (192.168.111.79) by MEP-EXCH.meprolight.com (192.168.111.10) with Microsoft SMTP Server id 8.1.436.0; Wed, 11 Apr 2012 21:08:14 +0300 From: Alex Gershgorin To: Sascha Hauer Subject: [PATCH] ARM: i.mx35 increase dma consistent region size Date: Wed, 11 Apr 2012 21:01:14 +0300 Message-ID: <1334167274-29524-1-git-send-email-alexg@meprolight.com> X-Mailer: git-send-email 1.7.0.4 MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Alex Gershgorin , g.liakhovetski@gmx.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org The default size of the consistent DMA region is 2MB without this patch, attempt to allocate more than 2MB is causing allocation failure Signed-off-by: Alex Gershgorin --- arch/arm/mach-imx/mm-imx3.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-imx/mm-imx3.c b/arch/arm/mach-imx/mm-imx3.c index 7412738..a2c0c7d 100644 --- a/arch/arm/mach-imx/mm-imx3.c +++ b/arch/arm/mach-imx/mm-imx3.c @@ -201,6 +201,7 @@ static struct map_desc mx35_io_desc[] __initdata = { void __init mx35_map_io(void) { iotable_init(mx35_io_desc, ARRAY_SIZE(mx35_io_desc)); + init_consistent_dma_size(SZ_8M); } void __init imx35_init_early(void)