RE: [PATCH v4 18/23] iommu/arm-smmu-v3-iommufd: Support implementation-defined hw_info

Tian, Kevin
2025-05-15T07:54:25Z

> From: Nicolin Chen <nicolinc@nvidia.com>
> Sent: Friday, May 9, 2025 11:03 AM
>
> Repurpose the @__reserved field in the struct
> iommu_hw_info_arm_smmuv3,
> to an HW implementation-defined field @impl.
>
> This will be used by Tegra241 CMDQV implementation on top of a standard
> ARM SMMUv3 IOMMU. The @impl will be only valid if @flags is set with an
> implementation-defined flag.
>
> Thus in the driver-level, add an hw_info impl op that will return such
> a flag and fill the impl field.
>
> Reviewed-by: Pranjal Shrivastava <praan@google.com>
> Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>

Reviewed-by: Kevin Tian <kevin.tian@intel.com>