Re: [PATCH 2/5] iommu/vt-d: Move deferred device attachment into helper function

2020-02-18 Thread Christoph Hellwig
> +static void do_deferred_attach(struct device *dev) > { > + struct iommu_domain *domain; > > + dev->archdata.iommu = NULL; > + domain = iommu_get_domain_for_dev(dev); > + if (domain) > + intel_iommu_attach_device(domain, dev); > +} > + > +static struct dmar_domain

Re: [PATCH 2/5] iommu/vt-d: Move deferred device attachment into helper function

2020-02-17 Thread Jerry Snitselaar
On Mon Feb 17 20, Joerg Roedel wrote: From: Joerg Roedel Move the code that does the deferred device attachment into a separate helper function. Signed-off-by: Joerg Roedel Reviewed-by: Jerry Snitselaar ___ iommu mailing list