Thread (21 messages) 21 messages, 6 authors, 2015-06-29

Re: [RFC/PATCH v3] powerpc/iommu: Support "hybrid" iommu/direct DMA ops for coherent_mask < dma_mask

From: Brian King <hidden>
Date: 2015-05-15 22:19:57
Also in: linux-scsi

On 05/14/2015 05:03 PM, Benjamin Herrenschmidt wrote:
This patch adds the ability to the DMA direct ops to fallback to the IOMMU
ops for coherent alloc/free if the coherent mask of the device isn't
suitable for accessing the direct DMA space and the device also happens
to have an active IOMMU table.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
Thanks. This one works fine for me with mpt2sas.

Tested-by: Brian King <redacted>

-Brian

-- 
Brian King
Power Linux I/O
IBM Linux Technology Center
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help