[PATCH] iommu/arm-smmu-v3: Allow stream table to have nodes with the same ID

Jason Gunthorpe jgg at nvidia.com
Fri Apr 11 06:42:04 PDT 2025


On Fri, Apr 11, 2025 at 01:35:34PM +0000, Pranjal Shrivastava wrote:
> Isn't the device grouped *after* the ops->probe_device call? I see that
> the dev->iommu_group is assigned the ops->probe_device call in
> iommu_init_device.. so I guess this would still fail?

Yes you are right, we'd have to also change to setup the stream table
inside the device_group call back to validate stream table groups are
the same.

At that point it is probably trivial to just return the group already
in the stream table.

Jason



More information about the linux-arm-kernel mailing list