From: Alex Gershgorin <alexg@meprolight.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: <g.liakhovetski@gmx.de>, <linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>,
Alex Gershgorin <alexg@meprolight.com>
Subject: [PATCH] ARM: i.mx35 increase dma consistent region size
Date: Wed, 11 Apr 2012 21:01:14 +0300 [thread overview]
Message-ID: <1334167274-29524-1-git-send-email-alexg@meprolight.com> (raw)
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 <alexg@meprolight.com>
---
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)
--
1.7.0.4
next reply other threads:[~2012-04-11 18:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-11 18:01 Alex Gershgorin [this message]
2012-04-13 14:40 ` [PATCH] ARM: i.mx35 increase dma consistent region size Sascha Hauer
2012-04-13 15:11 ` Guennadi Liakhovetski
2012-04-15 14:15 ` Alex Gershgorin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1334167274-29524-1-git-send-email-alexg@meprolight.com \
--to=alexg@meprolight.com \
--cc=g.liakhovetski@gmx.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=s.hauer@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).