Re: [PATCH v2 2/2] arm64: Add support for DMA_ATTR_FORCE_CONTIGUOUS to IOMMU

2017-01-28 Thread Laurent Pinchart
Hi Geert, Thank you for the patch. On Friday 27 Jan 2017 16:34:19 Geert Uytterhoeven wrote: > Add support for allocation physically contiguous DMA buffers on arm64 > systems with an IOMMU, by dispatching DMA buffer allocations with the > DMA_ATTR_FORCE_CONTIGUOUS attribute to the appropriate IOMM

[PATCH v2 2/2] arm64: Add support for DMA_ATTR_FORCE_CONTIGUOUS to IOMMU

2017-01-27 Thread Geert Uytterhoeven
Add support for allocation physically contiguous DMA buffers on arm64 systems with an IOMMU, by dispatching DMA buffer allocations with the DMA_ATTR_FORCE_CONTIGUOUS attribute to the appropriate IOMMU DMA helpers. Note that as this uses the CMA allocator, setting this attribute has a runtime-depen