diff options
author | Vladimir Murzin <vladimir.murzin@arm.com> | 2017-06-26 11:18:58 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-06-28 15:55:03 +0200 |
commit | 93228b44c33a572cb36cec2dbed42e9bdbc88d79 (patch) | |
tree | 769e00d52f124ad784d45f39dbbdf4bbdcc1347e /Documentation/devicetree/bindings/reserved-memory | |
parent | drivers: dma-coherent: Account dma_pfn_offset when used with device tree (diff) | |
download | linux-93228b44c33a572cb36cec2dbed42e9bdbc88d79.tar.xz linux-93228b44c33a572cb36cec2dbed42e9bdbc88d79.zip |
drivers: dma-coherent: Introduce default DMA pool
This patch introduces default coherent DMA pool similar to default CMA
area concept. To keep other users safe code kept under CONFIG_ARM.
Cc: Michal Nazarewicz <mina86@mina86.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Suggested-by: Robin Murphy <robin.murphy@arm.com>
Tested-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Tested-by: Andras Szemzo <sza@esh.hu>
Tested-by: Alexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'Documentation/devicetree/bindings/reserved-memory')
-rw-r--r-- | Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt b/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt index 3da0ebdba8d9..16291f2a4688 100644 --- a/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt +++ b/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt @@ -68,6 +68,9 @@ Linux implementation note: - If a "linux,cma-default" property is present, then Linux will use the region for the default pool of the contiguous memory allocator. +- If a "linux,dma-default" property is present, then Linux will use the + region for the default pool of the consistent DMA allocator. + Device node references to reserved memory ----------------------------------------- Regions in the /reserved-memory node may be referenced by other device |