cma: increase CMA_ALIGNMENT upper limit to 12
authorMarc Carino <marc.ceeeee@gmail.com>
Wed, 4 Jun 2014 23:10:01 +0000 (16:10 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:54:08 +0000 (16:54 -0700)
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>
drivers/base/Kconfig

index 4b7b4522b64f8c36fda40c1809abc3e0a596a268..23b8726962aff4d65227463fe9b5242f11abc931 100644 (file)
@@ -258,7 +258,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
This page took 0.028267 seconds and 5 git commands to generate.