lkml.org 
[lkml]   [2022]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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>

    \
     
     \ /
      Last update: 2022-07-05 19:44    [W:4.099 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site