diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2022-11-29 21:29:25 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-11-29 21:34:15 +0100 |
commit | 89395ccedbc153fecbc29342fbb94a6dfadf24cd (patch) | |
tree | 0e22b091269e9272e05c947ec9caeef33e9f04bf /scripts/checkpatch.pl | |
parent | iommu: Add IOMMU_CAP_ENFORCE_CACHE_COHERENCY (diff) | |
download | linux-89395ccedbc153fecbc29342fbb94a6dfadf24cd.tar.xz linux-89395ccedbc153fecbc29342fbb94a6dfadf24cd.zip |
iommu: Add device-centric DMA ownership interfaces
These complement the group interfaces used by VFIO and are for use by
iommufd. The main difference is that multiple devices in the same group
can all share the ownership by passing the same ownership pointer.
Move the common code into shared functions.
Link: https://lore.kernel.org/r/2-v6-a196d26f289e+11787-iommufd_jgg@nvidia.com
Tested-by: Nicolin Chen <nicolinc@nvidia.com>
Tested-by: Yi Liu <yi.l.liu@intel.com>
Tested-by: Lixiao Yang <lixiao.yang@intel.com>
Tested-by: Matthew Rosato <mjrosato@linux.ibm.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions