2015-11-10 16:18:36

by Neil Armstrong

[permalink] [raw]
Subject: [RFC PATCH v3 0/2] Expose DMA_MEMORY_EXCLUSIVE through shared-dma-pool

The shared-dma-pool dt node only exposes exclusive memory, but in order to export
non-exclusive coherent memory, add the no-exclusive property and document it.

v3: use correct of_get_flat_dt_prop helper
v2: simplify patch by looking for DT attribute in callback

Neil Armstrong (2):
base: dma-coherent: Add DT property for non exclusive shared-dma-pool
devicetree: reserved-memory: document the optional no-exclusive parameter

.../devicetree/bindings/reserved-memory/reserved-memory.txt | 3 +++
drivers/base/dma-coherent.c | 6 +++++-
2 files changed, 8 insertions(+), 1 deletion(-)

--
1.9.1


2015-11-13 13:45:33

by Marek Szyprowski

[permalink] [raw]
Subject: Re: [RFC PATCH v3 0/2] Expose DMA_MEMORY_EXCLUSIVE through shared-dma-pool

Hello,

On 2015-11-10 17:18, Neil Armstrong wrote:
> The shared-dma-pool dt node only exposes exclusive memory, but in order to export
> non-exclusive coherent memory, add the no-exclusive property and document it.
>
> v3: use correct of_get_flat_dt_prop helper
> v2: simplify patch by looking for DT attribute in callback
>
> Neil Armstrong (2):
> base: dma-coherent: Add DT property for non exclusive shared-dma-pool
> devicetree: reserved-memory: document the optional no-exclusive parameter
>
> .../devicetree/bindings/reserved-memory/reserved-memory.txt | 3 +++
> drivers/base/dma-coherent.c | 6 +++++-
> 2 files changed, 8 insertions(+), 1 deletion(-)
>

Acked-by: Marek Szyprowski <[email protected]>

Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland