X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Documentation%2FDMA-attributes.txt;h=e59480db9ee0acb6be2793a9e48ea4e55d1bf5e3;hb=6842d98de7bb726dfddc719cb9ae022b26a0f2b8;hp=f50309081ac78e0900c3ef5e5646abf998079657;hpb=cdcd3ac4e945d1fcaef9907839569c2d70b2f3fa;p=firefly-linux-kernel-4.4.55.git diff --git a/Documentation/DMA-attributes.txt b/Documentation/DMA-attributes.txt index f50309081ac7..e59480db9ee0 100644 --- a/Documentation/DMA-attributes.txt +++ b/Documentation/DMA-attributes.txt @@ -91,3 +91,12 @@ transferred to 'device' domain. This attribute can be also used for dma_unmap_{single,page,sg} functions family to force buffer to stay in device domain after releasing a mapping for it. Use this attribute with care! + +DMA_ATTR_FORCE_CONTIGUOUS +------------------------- + +By default DMA-mapping subsystem is allowed to assemble the buffer +allocated by dma_alloc_attrs() function from individual pages if it can +be mapped as contiguous chunk into device dma address space. By +specifing this attribute the allocated buffer is forced to be contiguous +also in physical memory.