On Wed, Apr 26, 2023 at 09:41:38AM +0000, Tian, Kevin wrote: > > From: Jason Gunthorpe <jgg@xxxxxxxxxx> > > Sent: Thursday, April 20, 2023 12:12 AM > > > > +static int iommu_init_driver(struct device *dev, const struct iommu_ops > > *ops) > > would iommu_init_device() better fit the purpose? Yeah.. that does seem better Broadly this mostly sets up dev->iommu and gets the driver connected to the device Jason