Lines Matching +full:dma +full:- +full:coherent
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/reserved-memory/shared-dma-pool.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: /reserved-memory DMA pool
10 - devicetree-spec@vger.kernel.org
13 - $ref: reserved-memory.yaml
18 - const: shared-dma-pool
21 pool of DMA buffers for a set of devices. It can be used by an
25 - const: restricted-dma-pool
28 of restricted DMA buffers for a set of devices. The memory
30 When using this, the no-map and reusable properties must not
33 restricted DMA is to mitigate the lack of DMA access control
34 on systems without an IOMMU, which could result in the DMA
38 protection against the DMA overwriting buffer contents at
42 that since coherent allocation needs remapping, one must set
43 up another device coherent pool by shared-dma-pool and use
44 dma_alloc_from_dev_coherent instead for atomic coherent
47 linux,cma-default:
53 linux,dma-default:
57 the default pool of the consistent DMA allocator.
63 const: restricted-dma-pool
66 no-map: false
72 - |
73 reserved-memory {
74 #address-cells = <1>;
75 #size-cells = <1>;
80 compatible = "shared-dma-pool";
84 linux,cma-default;
91 restricted_dma_reserved: restricted-dma-pool@50000000 {
92 compatible = "restricted-dma-pool";