diff options
author | Lu Baolu <[email protected]> | 2022-10-31 08:59:13 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2022-11-03 15:47:50 +0100 |
commit | be51b1d6bbff48c7d1943a8ff1e5a55777807f6e (patch) | |
tree | 8a20b5f6d97fa0289e4d78cf0e4ec7cbbaade831 /scripts/generate_rust_analyzer.py | |
parent | 386fa64fd52baadb849ed60c78b024fd1618278e (diff) |
iommu/sva: Refactoring iommu_sva_bind/unbind_device()
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_attach/detach_device_pasid interfaces and align them with the
concept of the SVA iommu domain. Put the new SVA code in the SVA
related file in order to make it self-contained.
Signed-off-by: Lu Baolu <[email protected]>
Reviewed-by: Jean-Philippe Brucker <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Tested-by: Zhangfei Gao <[email protected]>
Tested-by: Tony Zhu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions