Re: add a new dma_alloc_noncontiguous API v3

From: Ricardo Ribalda
Date: Thu Mar 11 2021 - 11:58:57 EST


Hi Christoph

I tried to run it in an arm device and it worked fine.


On Thu, Mar 11, 2021 at 5:52 PM Christoph Hellwig <hch@xxxxxx> wrote:
>
> Any comments? Especially on the uvcvideo conversion?
>
> On Mon, Mar 01, 2021 at 09:52:30AM +0100, Christoph Hellwig wrote:
> > Hi all,
> >
> > this series adds the new noncontiguous DMA allocation API requested by
> > various media driver maintainers.
> >
> > Changes since v2:
> > - rebased to Linux 5.12-rc1
> > - dropped one already merged patch
> > - pass an attrs argument to dma_alloc_noncontigous
> > - clarify the dma_vmap_noncontiguous documentation a bit
> > - fix double assignments in uvcvideo
> >
> > Changes since v1:
> > - document that flush_kernel_vmap_range and invalidate_kernel_vmap_range
> > must be called once an allocation is mapped into KVA
> > - add dma-debug support
> > - remove the separate dma_handle argument, and instead create fully formed
> > DMA mapped scatterlists
> > - use a directional allocation in uvcvideo
> > - call invalidate_kernel_vmap_range from uvcvideo
> > _______________________________________________
> > iommu mailing list
> > iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx
> > https://lists.linuxfoundation.org/mailman/listinfo/iommu
> ---end quoted text---



--
Ricardo Ribalda