All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marc Carino <marc.ceeeee@gmail.com>
To: linux-mm@kvack.org
Cc: Marc Carino <marc.ceeeee@gmail.com>,
	Marek Szyprowski <m.szyprowski@samsung.com>,
	linaro-mm-sig@lists.linaro.org
Subject: [PATCH] cma: increase CMA_ALIGNMENT upper limit to 12
Date: Tue,  6 May 2014 16:23:56 -0700	[thread overview]
Message-ID: <1399418636-31114-2-git-send-email-marc.ceeeee@gmail.com> (raw)
In-Reply-To: <1399418636-31114-1-git-send-email-marc.ceeeee@gmail.com>

Some systems require a larger maximum PAGE_SIZE order for CMA
allocations. To accommodate such systems, increase the upper-bound of
the CMA_ALIGNMENT range to 12 (which ends up being 16MB on systems
with 4K pages).

Signed-off-by: Marc Carino <marc.ceeeee@gmail.com>
---
 drivers/base/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig
index 8fa8dea..0fb820c 100644
--- a/drivers/base/Kconfig
+++ b/drivers/base/Kconfig
@@ -253,7 +253,7 @@ endchoice
 
 config CMA_ALIGNMENT
 	int "Maximum PAGE_SIZE order of alignment for contiguous buffers"
-	range 4 9
+	range 4 12
 	default 8
 	help
 	  DMA mapping framework by default aligns all buffers to the smallest
-- 
1.9.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

      reply	other threads:[~2014-05-06 23:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-06 23:23 [PATCH] cma: increase CMA_ALIGNMENT upper limit to 12 Marc Carino
2014-05-06 23:23 ` Marc Carino [this message]

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=1399418636-31114-2-git-send-email-marc.ceeeee@gmail.com \
    --to=marc.ceeeee@gmail.com \
    --cc=linaro-mm-sig@lists.linaro.org \
    --cc=linux-mm@kvack.org \
    --cc=m.szyprowski@samsung.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.