Re: [PATCH 4/7] v4l: videobuf2: add IOMMU based DMA memory allocator

2011-04-19 Thread Arnd Bergmann
On Tuesday 19 April 2011, Russell King - ARM Linux wrote: > On Tue, Apr 19, 2011 at 11:02:34AM +0200, Marek Szyprowski wrote: > > On Monday, April 18, 2011 4:16 PM Arnd Bergmann wrote: > > > My feeling is that this is not the right abstraction. Why can't you > > > just implement the regular dma-map

Re: [PATCH 4/7] v4l: videobuf2: add IOMMU based DMA memory allocator

2011-04-19 Thread Russell King - ARM Linux
On Tue, Apr 19, 2011 at 11:02:34AM +0200, Marek Szyprowski wrote: > On Monday, April 18, 2011 4:16 PM Arnd Bergmann wrote: > > My feeling is that this is not the right abstraction. Why can't you > > just implement the regular dma-mapping.h interfaces for your IOMMU > > so that the videobuf code can

RE: [PATCH 4/7] v4l: videobuf2: add IOMMU based DMA memory allocator

2011-04-19 Thread Marek Szyprowski
Hello, On Monday, April 18, 2011 4:16 PM Arnd Bergmann wrote: > On Monday 18 April 2011, Marek Szyprowski wrote: > > From: Andrzej Pietrasiewicz > > > > This patch adds new videobuf2 memory allocator dedicated to devices that > > supports IOMMU DMA mappings. A device with IOMMU module and a driv

Re: [PATCH 4/7] v4l: videobuf2: add IOMMU based DMA memory allocator

2011-04-18 Thread Arnd Bergmann
On Monday 18 April 2011, Marek Szyprowski wrote: > From: Andrzej Pietrasiewicz > > This patch adds new videobuf2 memory allocator dedicated to devices that > supports IOMMU DMA mappings. A device with IOMMU module and a driver > with include/iommu.h compatible interface is required. This allocato

[PATCH 4/7] v4l: videobuf2: add IOMMU based DMA memory allocator

2011-04-18 Thread Marek Szyprowski
From: Andrzej Pietrasiewicz This patch adds new videobuf2 memory allocator dedicated to devices that supports IOMMU DMA mappings. A device with IOMMU module and a driver with include/iommu.h compatible interface is required. This allocator aquires memory with standard alloc_page() call and doesn'

[PATCH 4/7] v4l: videobuf2: add IOMMU based DMA memory allocator

2011-04-05 Thread Marek Szyprowski
From: Andrzej Pietrasiewicz This patch adds new videobuf2 memory allocator dedicated to devices that supports IOMMU DMA mappings. A device with IOMMU module and a driver with include/iommu.h compatible interface is required. This allocator aquires memory with standard alloc_page() call and doesn'