Re: [PATCH v9 06/11] dma-buf: provide phys_vec to scatter-gather mapping routine
From: Leon Romanovsky
Date: Thu Nov 20 2025 - 05:03:17 EST
On Thu, Nov 20, 2025 at 10:33:36AM +0100, Christian König wrote:
> On 11/20/25 10:28, Leon Romanovsky wrote:
> > From: Leon Romanovsky <leonro@xxxxxxxxxx>
> >
> > Add dma_buf_phys_vec_to_sgt() and dma_buf_free_sgt() helpers to convert
> > an array of MMIO physical address ranges into scatter-gather tables with
> > proper DMA mapping.
<...>
> > Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>
> > Reviewed-by: Nicolin Chen <nicolinc@xxxxxxxxxx>
> > Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
> > Tested-by: Alex Mastro <amastro@xxxxxx>
> > Tested-by: Nicolin Chen <nicolinc@xxxxxxxxxx>
> > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx>
>
> Could be that this will backfire at some point, but I think we will never know without trying.
>
> Acked-by: Christian König <christian.koenig@xxxxxxx>
Thanks a lot.