Skip to contentSkip to conversation

Expose DMA_MEMORY_EXCLUSIVE through shared-dma-pool

RFC PATCH In review Neil Armstrong 2 participants 2 messages Nov 10, 2015 – Nov 13, 2015

lore
Share & tools
lore
#0 lore raw

v3 cover 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(-)
Signature · 5 lines
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Acked-by on the v3 series
#1 lore raw

Hello,

Quoted 6 lines · Neil Armstrong

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

Quoted 8 lines

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(-)

Best regards

Signature · 2 lines
Marek Szyprowski, PhD
Samsung R&D Institute Poland