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

Baolu Lu baolu.lu at linux.intel.com
Sat Apr 26 23:31:54 PDT 2025


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 at nvidia.com>
> Signed-off-by: Nicolin Chen<nicolinc at 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 at linux.intel.com>

Thanks,
baolu



More information about the linux-arm-kernel mailing list