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@nvidia.com
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@intel.com Reviewed-by: Nicolin Chen nicolinc@nvidia.com Reviewed-by: Jason Gunthorpe jgg@nvidia.com Tested-by: Alex Mastro amastro@fb.com Tested-by: Nicolin Chen nicolinc@nvidia.com Signed-off-by: Leon Romanovsky leonro@nvidia.com
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@amd.com
Thanks a lot.