]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
cma: increase CMA_ALIGNMENT upper limit to 12
authorMarc Carino <marc.ceeeee@gmail.com>
Thu, 22 May 2014 00:43:16 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:16 +0000 (10:43 +1000)
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>
drivers/base/Kconfig

index 8fa8deab64492469ecdc75443aa4f67fdfb5b974..0fb820cf2143583162facb26b48e1d1c173073d6 100644 (file)
@@ -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