diff options
author | 2024-01-10 20:10:10 -0800 | |
---|---|---|
committer | 2024-01-11 13:01:25 -0400 | |
commit | 77785117f9c73fd71a440a5ac86dd80752967adc (patch) | |
tree | 7ced73b442a6bf4bde9dc770b3b4c3e5999c75c5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iommufd: Add IOMMU_HWPT_INVALIDATE (diff) | |
download | linux-rng-77785117f9c73fd71a440a5ac86dd80752967adc.tar.xz linux-rng-77785117f9c73fd71a440a5ac86dd80752967adc.zip |
iommu: Add iommu_copy_struct_from_user_array helper
Wrap up the data pointer/num sanity and __iommu_copy_struct_from_user()
call for iommu drivers to copy driver specific data at a specific location
in the struct iommu_user_data_array.
And expect it to be used in cache_invalidate_user ops for example.
Link: https://lore.kernel.org/r/20240111041015.47920-4-yi.l.liu@intel.com
Reviewed-by: Kevin Tian <kevin.tian@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>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions