summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNicolin Chen <nicolinc@nvidia.com>2023-10-25 21:39:36 -0700
committerJason Gunthorpe <jgg@nvidia.com>2023-10-26 11:15:57 -0300
commite9d36c07bb787840e4813fb09a929a17d522a69f (patch)
tree684d6a1195ba29231cfc6ddfdd8d1afbf55949e9 /tools/perf/scripts/python
parentbd529dbb661d62bd9f03e44c9fc837d98a190499 (diff)
iommu: Add iommu_copy_struct_from_user helper
Wrap up the data type/pointer/len sanity and a copy_struct_from_user call for iommu drivers to copy driver specific data via struct iommu_user_data. And expect it to be used in the domain_alloc_user op for example. Link: https://lore.kernel.org/r/20231026043938.63898-9-yi.l.liu@intel.com Signed-off-by: Nicolin Chen <nicolinc@nvidia.com> Co-developed-by: Yi Liu <yi.l.liu@intel.com> Signed-off-by: Yi Liu <yi.l.liu@intel.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions