Re: [PATCH 05/11] iommu: Add iommu_init/deinit_driver() paired functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux