Re: add a new dma_alloc_noncontiguous API v2

From: Tomasz Figa
Date: Mon Feb 08 2021 - 06:55:05 EST


Hi Christoph,

On Mon, Feb 8, 2021 at 3:49 AM Christoph Hellwig <hch@xxxxxx> wrote:
>
> Any comments?
>

Sorry for the delay. The whole series looks very good to me. Thanks a lot.

Reviewed-by: Tomasz Figa <tfiga@xxxxxxxxxxxx>

Best regards,
Tomasz

> On Tue, Feb 02, 2021 at 10:51:03AM +0100, Christoph Hellwig wrote:
> > Hi all,
> >
> > this series adds the new noncontiguous DMA allocation API requested by
> > various media driver maintainers.
> >
> > 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---