[PATCH v9 06/24] iommu/dma: Factor out a iommu_dma_map_swiotlb helper

Luis Chamberlain mcgrof at kernel.org
Fri Apr 25 18:14:31 PDT 2025


On Wed, Apr 23, 2025 at 11:12:57AM +0300, Leon Romanovsky wrote:
> From: Christoph Hellwig <hch at lst.de>
> 
> 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 at lst.de>
> Tested-by: Jens Axboe <axboe at kernel.dk>
> Signed-off-by: Leon Romanovsky <leonro at nvidia.com>

Reviewed-by: Luis Chamberlain <mcgrof at kernel.org>

  Luis



More information about the Linux-nvme mailing list