[PATCH v2 03/10] iommu/arm-smmu-v3: Add arm_smmu_strtab_l1/2_idx()

Jason Gunthorpe jgg at nvidia.com
Wed Jun 12 04:49:36 PDT 2024


On Tue, Jun 11, 2024 at 05:37:26PM -0700, Daniel Mentz wrote:
> On Mon, Jun 10, 2024 at 5:31 PM Jason Gunthorpe <jgg at nvidia.com> wrote:
> > +static inline unsigned int arm_smmu_strtab_l1_idx(unsigned int sid)
> 
> Existing code appears to be exclusively using the data type u32 to
> store StreamIDs.

Not entirely exclusively, but often enough, I fixed it.

Thanks,
Jason



More information about the linux-arm-kernel mailing list