diff options
author | Nicolin Chen <[email protected]> | 2024-01-10 20:10:10 -0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2024-01-11 13:01:25 -0400 |
commit | 77785117f9c73fd71a440a5ac86dd80752967adc (patch) | |
tree | 7ced73b442a6bf4bde9dc770b3b4c3e5999c75c5 /scripts/gdb/linux/utils.py | |
parent | 8c6eabae3807e048b9f17733af5e20500fbf858c (diff) |
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/[email protected]
Reviewed-by: Kevin Tian <[email protected]>
Signed-off-by: Nicolin Chen <[email protected]>
Co-developed-by: Yi Liu <[email protected]>
Signed-off-by: Yi Liu <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions