diff options
author | Marc Carino <marc.ceeeee@gmail.com> | 2014-06-04 19:10:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 19:54:08 -0400 |
commit | fe54b1fd49b712cd94a1846e993a515fc9394dcb (patch) | |
tree | 89cfe6348625075bf288080eb9c072b745d46a6c | |
parent | 18ab4d4ced0817421e6db6940374cc39d28d65da (diff) |
cma: increase CMA_ALIGNMENT upper limit to 12
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>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/base/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig index 4b7b4522b64f..23b8726962af 100644 --- a/drivers/base/Kconfig +++ b/drivers/base/Kconfig | |||
@@ -258,7 +258,7 @@ endchoice | |||
258 | 258 | ||
259 | config CMA_ALIGNMENT | 259 | config CMA_ALIGNMENT |
260 | int "Maximum PAGE_SIZE order of alignment for contiguous buffers" | 260 | int "Maximum PAGE_SIZE order of alignment for contiguous buffers" |
261 | range 4 9 | 261 | range 4 12 |
262 | default 8 | 262 | default 8 |
263 | help | 263 | help |
264 | DMA mapping framework by default aligns all buffers to the smallest | 264 | DMA mapping framework by default aligns all buffers to the smallest |