RE: [PATCH RFC 00/26] Add DMA-buf mapping types and convert vfio/iommufd to use them

Kasireddy, Vivek
2026-03-03T07:07:28Z

Hi Jason,

> Subject: Re: [PATCH RFC 00/26] Add DMA-buf mapping types and
> convert vfio/iommufd to use them
>
> On Tue, Feb 17, 2026 at 08:11:31PM -0400, Jason Gunthorpe wrote:
> > Jason Gunthorpe (26):
> > dma-buf: Introduce DMA-buf mapping types
> > dma-buf: Add the SGT DMA mapping type
> > dma-buf: Add dma_buf_mapping_attach()
> > dma-buf: Route SGT related actions through attach->map_type
> > dma-buf: Allow single exporter drivers to avoid the match_mapping
> > function
>
> I've rebased my github branch:
>
> https://github.com/jgunthorpe/linux/commits/dmabuf_map_type
>
> On to drm-misc-next comit 41dae5ac5e15 ("drm/nouveau: Test for
> imported
> buffers with drm_gem_is_imported()") and reworked some of the
> pending
> bits on the VFIO side to accommodate Leon's series.
>
> Christian/Thomas/Vivek, how are you feeling about this approach? I'd
> like to focus on the above patches, should I post a non-RFC series?
The approach looks good to me. One particular idea that you have added,
that is new is finish_match(), which I think is very useful. Hopefully, this series
is on Christian and Thomas' TODO list and they can do an in-depth review
soon.

Thanks,
Vivek
>
> Thanks,
> Jason