Re: [PATCH v11 3/9] iommu/arm-smmu-v3: Pass in cmdq pointer to arm_smmu_cmdq_build_sync_cmd

From: Jason Gunthorpe
Date: Wed Aug 14 2024 - 13:27:04 EST


On Tue, Aug 06, 2024 at 07:11:48PM -0700, Nicolin Chen wrote:
> The CMDQV extension on NVIDIA Tegra241 SoC only supports CS_NONE in the
> CS field of CMD_SYNC, v.s. standard SMMU CMDQ. Pass in the cmdq pointer
> directly, so the function can identify a different cmdq implementation.
>
> Signed-off-by: Nicolin Chen <nicolinc@xxxxxxxxxx>
> ---
> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 13 ++++++++-----
> 1 file changed, 8 insertions(+), 5 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason