Re: [PATCH v12 13/17] iommu/sva: Refactoring iommu_sva_bind/unbind_device()

From: Baolu Lu
Date: Tue Aug 30 2022 - 03:47:06 EST


On 2022/8/30 15:45, Baolu Lu wrote:
On 2022/8/30 15:30, Yuan Can wrote:

在 2022/8/26 20:11, Lu Baolu 写道:
The existing iommu SVA interfaces are implemented by calling the SVA
specific iommu ops provided by the IOMMU drivers. There's no need for
any SVA specific ops in iommu_ops vector anymore as we can achieve
this through the generic attach/detach_dev_pasid domain ops.

This refactors the IOMMU SVA interfaces implementation by using the
iommu_detach/detach_device_pasid interfaces and align them with the

Did you mean using the iommu_attach/detach_device_pasid interfaces here?

The device driver oriented SVA interfaces keep consistent as before.
Here we only refactor the IOMMU internal implementation.

Oh! A typo in the commit message, right? Thanks and I will fix it.

Best regards,
baolu