[PATCH -next] iommu: Remove unused declaration iommu_sva_unbind_gpasid()

Yue Haibing posted 1 patch 1 year, 6 months ago
include/linux/iommu.h | 2 --
1 file changed, 2 deletions(-)
[PATCH -next] iommu: Remove unused declaration iommu_sva_unbind_gpasid()
Posted by Yue Haibing 1 year, 6 months ago
Commit 0c9f17877891 ("iommu: Remove guest pasid related interfaces and definitions")
removed the implementation but leave declaration.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 include/linux/iommu.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index 4d47f2c33311..04cbdae0052e 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -795,8 +795,6 @@ extern int iommu_attach_device(struct iommu_domain *domain,
 			       struct device *dev);
 extern void iommu_detach_device(struct iommu_domain *domain,
 				struct device *dev);
-extern int iommu_sva_unbind_gpasid(struct iommu_domain *domain,
-				   struct device *dev, ioasid_t pasid);
 extern struct iommu_domain *iommu_get_domain_for_dev(struct device *dev);
 extern struct iommu_domain *iommu_get_dma_domain(struct device *dev);
 extern int iommu_map(struct iommu_domain *domain, unsigned long iova,
-- 
2.34.1
Re: [PATCH -next] iommu: Remove unused declaration iommu_sva_unbind_gpasid()
Posted by Joerg Roedel 1 year, 5 months ago
On Thu, Aug 08, 2024 at 10:06:19PM +0800, Yue Haibing wrote:
> Commit 0c9f17877891 ("iommu: Remove guest pasid related interfaces and definitions")
> removed the implementation but leave declaration.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  include/linux/iommu.h | 2 --
>  1 file changed, 2 deletions(-)

Applied, thanks.
Re: [PATCH -next] iommu: Remove unused declaration iommu_sva_unbind_gpasid()
Posted by Jason Gunthorpe 1 year, 6 months ago
On Thu, Aug 08, 2024 at 10:06:19PM +0800, Yue Haibing wrote:
> Commit 0c9f17877891 ("iommu: Remove guest pasid related interfaces and definitions")
> removed the implementation but leave declaration.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  include/linux/iommu.h | 2 --
>  1 file changed, 2 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>

Jason
Re: [PATCH -next] iommu: Remove unused declaration iommu_sva_unbind_gpasid()
Posted by Baolu Lu 1 year, 6 months ago
On 2024/8/8 22:06, Yue Haibing wrote:
> Commit 0c9f17877891 ("iommu: Remove guest pasid related interfaces and definitions")
> removed the implementation but leave declaration.
> 
> Signed-off-by: Yue Haibing<yuehaibing@huawei.com>

Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>

Thanks,
baolu