[PATCH v2 03/10] iommu: Add a gfp parameter to iommu_map_sg()

Tian, Kevin kevin.tian at intel.com
Thu Jan 19 03:46:43 UTC 2023


> From: Jason Gunthorpe <jgg at nvidia.com>
> Sent: Thursday, January 19, 2023 2:01 AM
> 
> Follow the pattern for iommu_map() and remove iommu_map_sg_atomic().
> 
> This allows __iommu_dma_alloc_noncontiguous() to use a GFP_KERNEL
> allocation here, based on the provided gfp flags.
> 
> Signed-off-by: Jason Gunthorpe <jgg at nvidia.com>

Reviewed-by: Kevin Tian <kevin.tian at intel.com>


More information about the dri-devel mailing list