Subject: Re: [PATCH v2 6/9] iommu/arm-smmu-v3: Directly encode simple commands

From: Jason Gunthorpe <[email-masked]>
Date: Mon, 18 May 2026 10:23:06 -0300

On Sun, May 17, 2026 at 08:15:25PM -0700, Nicolin Chen wrote:
> > +static inline struct arm_smmu_cmd arm_smmu_make_cmd_cfgi_all(void)
> > +{
> > +	struct arm_smmu_cmd cmd = arm_smmu_make_cmd_op(CMDQ_OP_CFGI_ALL);
> > +
> > +	cmd.data[1] |= FIELD_PREP(CMDQ_CFGI_1_RANGE, 31);
> 
> Optional, might retain the note:
> 	/* Cover the entire SID range */

The spec doesn't have a note like this is just defined cfgi_all as
having this encoding.

Jason