]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iommu: Change iommu_iotlb_gather to use iommu_page_list
authorJason Gunthorpe <jgg@nvidia.com>
Tue, 8 Apr 2025 16:53:59 +0000 (13:53 -0300)
committerJoerg Roedel <jroedel@suse.de>
Thu, 17 Apr 2025 14:22:42 +0000 (16:22 +0200)
commit868240c34eb113e4121d4ad8ad7458d8caad87d3
treea3de8e6744b3adcd9b6d26f38b0ada2b87f9f142
parentc70637cdd8cf6942ca20d92a27eddb23d78066ca
iommu: Change iommu_iotlb_gather to use iommu_page_list

This converts the remaining places using list of pages to the new API.

The Intel free path was shared with its gather path, so it is converted at
the same time.

Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Tested-by: Nicolin Chen <nicolinc@nvidia.com>
Tested-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/11-v4-c8663abbb606+3f7-iommu_pages_jgg@nvidia.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/dma-iommu.c
drivers/iommu/intel/iommu.c
include/linux/iommu.h