public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] iommu: Remove unused declaration iommu_sva_unbind_gpasid()
@ 2024-08-08 14:06 Yue Haibing
  2024-08-09  6:37 ` Baolu Lu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Yue Haibing @ 2024-08-08 14:06 UTC (permalink / raw)
  To: joro, will, robin.murphy, jgg, baolu.lu; +Cc: iommu, linux-kernel, yuehaibing

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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH -next] iommu: Remove unused declaration iommu_sva_unbind_gpasid()
  2024-08-08 14:06 [PATCH -next] iommu: Remove unused declaration iommu_sva_unbind_gpasid() Yue Haibing
@ 2024-08-09  6:37 ` Baolu Lu
  2024-08-09 13:41 ` Jason Gunthorpe
  2024-08-13  8:54 ` Joerg Roedel
  2 siblings, 0 replies; 4+ messages in thread
From: Baolu Lu @ 2024-08-09  6:37 UTC (permalink / raw)
  To: Yue Haibing, joro, will, robin.murphy, jgg; +Cc: baolu.lu, iommu, linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH -next] iommu: Remove unused declaration iommu_sva_unbind_gpasid()
  2024-08-08 14:06 [PATCH -next] iommu: Remove unused declaration iommu_sva_unbind_gpasid() Yue Haibing
  2024-08-09  6:37 ` Baolu Lu
@ 2024-08-09 13:41 ` Jason Gunthorpe
  2024-08-13  8:54 ` Joerg Roedel
  2 siblings, 0 replies; 4+ messages in thread
From: Jason Gunthorpe @ 2024-08-09 13:41 UTC (permalink / raw)
  To: Yue Haibing; +Cc: joro, will, robin.murphy, baolu.lu, iommu, linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH -next] iommu: Remove unused declaration iommu_sva_unbind_gpasid()
  2024-08-08 14:06 [PATCH -next] iommu: Remove unused declaration iommu_sva_unbind_gpasid() Yue Haibing
  2024-08-09  6:37 ` Baolu Lu
  2024-08-09 13:41 ` Jason Gunthorpe
@ 2024-08-13  8:54 ` Joerg Roedel
  2 siblings, 0 replies; 4+ messages in thread
From: Joerg Roedel @ 2024-08-13  8:54 UTC (permalink / raw)
  To: Yue Haibing; +Cc: will, robin.murphy, jgg, baolu.lu, iommu, linux-kernel

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-08-13  8:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-08 14:06 [PATCH -next] iommu: Remove unused declaration iommu_sva_unbind_gpasid() Yue Haibing
2024-08-09  6:37 ` Baolu Lu
2024-08-09 13:41 ` Jason Gunthorpe
2024-08-13  8:54 ` Joerg Roedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox