Skip to contentSkip to conversation

+ cma-increase-cma_alignment-upper-limit-to-12.patch added to -mm tree

PATCH [email protected] 1 participant 1 message May 12, 2014 Driver core

lore
Share & tools
lore
#0 lore raw

Subject: + cma-increase-cma_alignment-upper-limit-to-12.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Mon, 12 May 2014 16:27:47 -0700

The patch titled
Subject: cma: increase CMA_ALIGNMENT upper limit to 12
has been added to the -mm tree. Its filename is
cma-increase-cma_alignment-upper-limit-to-12.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/cma-increase-cma_alignment-upper-limit-to-12.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/cma-increase-cma_alignment-upper-limit-to-12.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Marc Carino <[email protected]>
Subject: 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).

---

 drivers/base/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/base/Kconfig renamed from drivers/base/Kconfig~cma-increase-cma_alignment-upper-limit-to-12 +1 -1
diff -puN drivers/base/Kconfig~cma-increase-cma_alignment-upper-limit-to-12 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

_

Patches currently in -mm which might be from [email protected] are

cma-increase-cma_alignment-upper-limit-to-12.patch