Re: [PATCH v3 03/24] dma-buf: Add the SGT DMA mapping type

From: Jason Gunthorpe

Date: Fri Dec 04 2026 - 08:00:20 EST


On Thu, Dec 03, 2026 at 05:33:54PM +1100, Alistair Popple wrote:
> > I can see this working for the common cross-device ones, but I'm not
> > really sure what to do about transport specific things like ualink or
> > protected VRAM. Since who would write/control the swiss piece of the
> > library in those cases?
>
> That might come back to what Christian was suggesting earlier - separate those
> cases out and for them dma-buf for ualink/nvlink/XGMI is really just a way to
> hand some opaque data back to the importer.

They probably have to provide their own swiss library for their own
protocols.

A library for phys_addr_t, a library for ualink, etc.

They have different opaque types and there is clarity when they are
being used.

Jason