Re: [PATCH] iommu/dma: Add support for DMA_ATTR_FORCE_CONTIGUOUS

2017-01-15 Thread Laurent Pinchart
Hi Robin, On Friday 13 Jan 2017 12:17:24 Robin Murphy wrote: > On 13/01/17 11:59, Geert Uytterhoeven wrote: > > On Fri, Jan 13, 2017 at 12:32 PM, Robin Murphy wrote: > >> On 13/01/17 11:07, Geert Uytterhoeven wrote: > >>> Add support for DMA_ATTR_FORCE_CONTIGUOUS to the generic IOMMU DMA code. > >

Re: [PATCH] iommu/dma: Add support for DMA_ATTR_FORCE_CONTIGUOUS

2017-01-13 Thread Geert Uytterhoeven
Hi Robin, On Fri, Jan 13, 2017 at 1:17 PM, Robin Murphy wrote: > On 13/01/17 11:59, Geert Uytterhoeven wrote: >> On Fri, Jan 13, 2017 at 12:32 PM, Robin Murphy wrote: >>> On 13/01/17 11:07, Geert Uytterhoeven wrote: Add support for DMA_ATTR_FORCE_CONTIGUOUS to the generic IOMMU DMA code. >>

Re: [PATCH] iommu/dma: Add support for DMA_ATTR_FORCE_CONTIGUOUS

2017-01-13 Thread Robin Murphy
On 13/01/17 11:59, Geert Uytterhoeven wrote: > Hi Robin, > > On Fri, Jan 13, 2017 at 12:32 PM, Robin Murphy wrote: >> On 13/01/17 11:07, Geert Uytterhoeven wrote: >>> Add support for DMA_ATTR_FORCE_CONTIGUOUS to the generic IOMMU DMA code. >>> This allows to allocate physically contiguous DMA buf

Re: [PATCH] iommu/dma: Add support for DMA_ATTR_FORCE_CONTIGUOUS

2017-01-13 Thread Geert Uytterhoeven
Hi Robin, On Fri, Jan 13, 2017 at 12:32 PM, Robin Murphy wrote: > On 13/01/17 11:07, Geert Uytterhoeven wrote: >> Add support for DMA_ATTR_FORCE_CONTIGUOUS to the generic IOMMU DMA code. >> This allows to allocate physically contiguous DMA buffers on arm64 >> systems with an IOMMU. > > Can anyone

Re: [PATCH] iommu/dma: Add support for DMA_ATTR_FORCE_CONTIGUOUS

2017-01-13 Thread Robin Murphy
On 13/01/17 11:07, Geert Uytterhoeven wrote: > Add support for DMA_ATTR_FORCE_CONTIGUOUS to the generic IOMMU DMA code. > This allows to allocate physically contiguous DMA buffers on arm64 > systems with an IOMMU. Can anyone explain what this attribute is actually used for? I've never quite figure