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.