Re: [PATCH v2 15/22] RDMA/usnic: Use iommu_paging_domain_alloc()

2024-06-04 Thread Jason Gunthorpe
On Tue, Jun 04, 2024 at 09:51:27AM +0800, Lu Baolu wrote: > usnic_uiom_alloc_pd() allocates a paging domain for a given device. > In this case, iommu_domain_alloc(dev->bus) is equivalent to  > iommu_paging_domain_alloc(dev). Replace it as iommu_domain_alloc() > has been deprecated. > > Signed-off-

[PATCH v2 15/22] RDMA/usnic: Use iommu_paging_domain_alloc()

2024-06-03 Thread Lu Baolu
usnic_uiom_alloc_pd() allocates a paging domain for a given device. In this case, iommu_domain_alloc(dev->bus) is equivalent to  iommu_paging_domain_alloc(dev). Replace it as iommu_domain_alloc() has been deprecated. Signed-off-by: Lu Baolu --- drivers/infiniband/hw/usnic/usnic_uiom.c | 6 +++---