[PATCH v2 4/9] iommu/arm-smmu-v3: Convert arm_smmu_cmdq_batch cmds to struct arm_smmu_cmd

Nicolin Chen nicolinc at nvidia.com
Fri May 15 16:29:57 PDT 2026


On Wed, May 13, 2026 at 08:57:43PM -0300, Jason Gunthorpe wrote:
> Convert the batch's type to also get the remaining helper functions to
> use the new type and complete replacing naked u64s with the new struct.
> 
> The low-level queue_write()/queue_read()/queue_remove_raw() functions
> remain u64-based since they are shared by event and PRI queues which
> have different entry sizes.
> 
> Reviewed-by: Mostafa Saleh <smostafa at google.com>
> Reviewed-by: Pranjal Shrivastava <praan at google.com>
> Tested-by: Pranjal Shrivastava <praan at google.com>
> Tested-by: Mostafa Saleh <smostafa at google.com>
> Signed-off-by: Jason Gunthorpe <jgg at nvidia.com>

Reviewed-by: Nicolin Chen <nicolinc at nvidia.com>



More information about the linux-arm-kernel mailing list