Re: [PATCH v12 07/17] iommu: Try to allocate blocking domain when probing device

From: Jason Gunthorpe
Date: Wed Aug 31 2022 - 10:10:22 EST


On Wed, Aug 31, 2022 at 09:49:44AM +0800, Baolu Lu wrote:
> > Maybe all of this is just the good reason to go to a simple
> > device->ops->remove_dev_pasid() callback and forget about blocking
> > domain here.
>
> Do you mean rolling back to what we did in v10?

Yeah, but it shouldn't be a domain_op, removing a pasid is a device op

Just

remove_dev_pasid(struct device *dev, ioasid_t pasid)

Jason