Messages in this thread | | | Date | Tue, 5 Jul 2022 18:43:03 +0100 | From | Jean-Philippe Brucker <> | Subject | Re: [PATCH v10 08/12] iommu/sva: Refactoring iommu_sva_bind/unbind_device() |
| |
On Tue, Jul 05, 2022 at 01:07:06PM +0800, Lu Baolu wrote: > 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 > set/block_pasid_dev ops 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 <baolu.lu@linux.intel.com> > Tested-by: Zhangfei Gao <zhangfei.gao@linaro.org> > Tested-by: Tony Zhu <tony.zhu@intel.com>
Reviewed-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
| |