Re: [PATCH v4 1/7] iommu/arm-smmu-v3: Add release_domain to attach prior to release_dev()

Nicolin Chen
2025-09-23T17:37:56Z

On Tue, Sep 23, 2025 at 02:22:29PM -0300, Jason Gunthorpe wrote:
> On Fri, Sep 19, 2025 at 03:47:49PM -0700, Nicolin Chen wrote:
> > +/* Same as arm_smmu_blocked_ops but less set_dev_pasid */
> > +static const struct iommu_domain_ops arm_smmu_release_ops = {
> > + .attach_dev = arm_smmu_attach_dev_blocked,
> > +};
>
> don't worry about set_dev_pasid for the release domain, it is never
> called anyhow.
>
> The intention is to just use identity or blocked domains as is.

Ah, I see AMD separate release_domain from blocked_domain..

OK. Will just set it to blocked_domain. And will update the commit
message as well.

Thanks
Nicolin