> From: Liu, Yi L <[email protected]> > Sent: Thursday, December 21, 2023 11:40 PM > > From: Nicolin Chen <[email protected]> > > 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 > iommu_respond_struct_to_user_array() > to copy response to a specific location in the struct iommu_user_data_array. > > And expect it to be used in cache_invalidate_user ops for example. > > Signed-off-by: Nicolin Chen <[email protected]> > Co-developed-by: Yi Liu <[email protected]> > Signed-off-by: Yi Liu <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
