Re: [PATCH v2 02/22] iommu: Pass in a driver-level user data structure to viommu_alloc op

Baolu Lu
2025-04-27T06:36:09Z

On 4/26/25 13:57, Nicolin Chen wrote:
> The new type of vIOMMU for tegra241-cmdqv needs to pass in a driver-level
> data structure from user space via iommufd, so add a user_data to the op.
>
> Reviewed-by: Jason Gunthorpe<jgg@nvidia.com>
> Signed-off-by: Nicolin Chen<nicolinc@nvidia.com>

It would be better to add some words explaining what kind of user data
can be passed when allocating a vIOMMU object and the reason why this
might be necessary.

Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>

Thanks,
baolu