[PATCH v2 2/8] iommu/arm-smmu-v3: Move pgsize out of arm_smmu_inv

Nicolin Chen nicolinc at nvidia.com
Tue Jul 7 10:21:40 PDT 2026


On Tue, Jul 07, 2026 at 01:15:06PM -0300, Jason Gunthorpe wrote:
> On Mon, Jul 06, 2026 at 08:57:22PM -0700, Nicolin Chen wrote:
> > > @@ -734,7 +734,6 @@ struct arm_smmu_inv {
> > >  	u8 nsize_opcode;
> > >  	u32 id; /* ASID or VMID or SID */
> > >  	union {
> > > -		size_t pgsize; /* ARM_SMMU_FEAT_RANGE_INV */
> > >  		u32 ssid; /* INV_TYPE_ATS */
> > >  	};
> > 
> > So, union has only "ssid" now. Should we unwrap it?
> 
> I thought we might need it with some of the other series?

I was wondering about that too, but couldn't find in those series
of mine (smmuv3_kdump, smmuv3_atc_timeout, smmuv3_share_domain).

Nicolin



More information about the linux-arm-kernel mailing list