RFC How to pass IOMMU map attr via DMA API?
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest0 of 3 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/3] How to pass IOMMU map attr via DMA API?
Quoted 5 lines · Marek Szyprowski
Using DMA attributes for this seems to be a bad idea. The dma direction parameter is much more appropriate. Will Deacon recently posted a patch which does it right, see:
Agreed, that is one usecase the dma-direction parameter was made for. In particular:
DMA_FROM_DEVICE -> Write only mapping DMA_TO_DEVICE -> Read only mapping DMA_BIDIRECTIONAL -> Read/Write mapping
So no need to use the dma attributes for that.
Joerg