aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-10-09 18:29:41 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-10-09 22:26:02 -0400
commitf0d6d1f6ff6f8525cfa396ec1969b8f402391445 (patch)
tree281f528aa811d13960ae1d8cd117be432639abc6
parent86cf78d73de8c6bfa89804b91ee0ace71a459961 (diff)
CMA: document cma=0
It isn't obvious that CMA can be disabled on the kernel's command line, so document it. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Akinobu Mita <akinobu.mita@gmail.com> Cc: Chuck Ebbert <cebbert.lkml@gmail.com> Cc: Marek Szyprowski <m.szyprowski@samsung.com> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--Documentation/kernel-parameters.txt3
-rw-r--r--drivers/base/Kconfig3
2 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index a126a31dde02..809e880bc787 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -656,7 +656,8 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
656 Sets the size of kernel global memory area for 656 Sets the size of kernel global memory area for
657 contiguous memory allocations and optionally the 657 contiguous memory allocations and optionally the
658 placement constraint by the physical address range of 658 placement constraint by the physical address range of
659 memory allocations. For more information, see 659 memory allocations. A value of 0 disables CMA
660 altogether. For more information, see
660 include/linux/dma-contiguous.h 661 include/linux/dma-contiguous.h
661 662
662 cmo_free_hint= [PPC] Format: { yes | no } 663 cmo_free_hint= [PPC] Format: { yes | no }
diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig
index 134f763d90fd..61a33f4ba608 100644
--- a/drivers/base/Kconfig
+++ b/drivers/base/Kconfig
@@ -252,6 +252,9 @@ config DMA_CMA
252 to allocate big physically-contiguous blocks of memory for use with 252 to allocate big physically-contiguous blocks of memory for use with
253 hardware components that do not support I/O map nor scatter-gather. 253 hardware components that do not support I/O map nor scatter-gather.
254 254
255 You can disable CMA by specifying "cma=0" on the kernel's command
256 line.
257
255 For more information see <include/linux/dma-contiguous.h>. 258 For more information see <include/linux/dma-contiguous.h>.
256 If unsure, say "n". 259 If unsure, say "n".
257 260