Re: [PATCH v9 06/24] iommu/dma: Factor out a iommu_dma_map_swiotlb helper
From: Luis Chamberlain
Date: Fri Apr 25 2025 - 21:14:49 EST
On Wed, Apr 23, 2025 at 11:12:57AM +0300, Leon Romanovsky wrote:
> From: Christoph Hellwig <hch@xxxxxx>
>
> Split the iommu logic from iommu_dma_map_page into a separate helper.
> This not only keeps the code neatly separated, but will also allow for
> reuse in another caller.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> Tested-by: Jens Axboe <axboe@xxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx>
Reviewed-by: Luis Chamberlain <mcgrof@xxxxxxxxxx>
Luis