Thread (1 message) 1 message, 1 author, 2013-06-19

[PATCH 3/9] ARM: dma-mapping: convert DMA direction into IOMMU protection attributes

From: m.szyprowski@samsung.com (Marek Szyprowski)
Date: 2013-06-19 08:57:48
Also in: linux-devicetree, linux-iommu

Hello,

On 6/19/2013 10:52 AM, Will Deacon wrote:
On Wed, Jun 19, 2013 at 09:37:03AM +0100, Marek Szyprowski wrote:
quoted
Hello,
Hi Marek,
quoted
On 6/10/2013 8:34 PM, Will Deacon wrote:
quoted
IOMMU mappings take a prot parameter, identifying the protection bits
to enforce on the newly created mapping (READ or WRITE). The ARM
dma-mapping framework currently just passes 0 as the prot argument,
resulting in faulting mappings.

This patch infers the protection attributes based on the direction of
the DMA transfer.

Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Will Deacon <redacted>
Thanks for fixing this issue. Could I take this patch to my dma-mapping tree
with other dma-mapping changes I've collected recently or do you want my ack
and push it via other tree?
Please, feel free to take it via the dma-mapping tree! That's probably the
best route for it and there's nothing that really depends on it anyway.
Ok, thank I will put it on my tree. Thanks for your patches!

Best regards
-- 
Marek Szyprowski
Samsung R&D Institute Poland
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help