lkml.org 
[lkml]   [2022]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v7 03/10] iommu/sva: Add iommu_sva_domain support
Date
> From: Baolu Lu <baolu.lu@linux.intel.com>
> Sent: Monday, May 23, 2022 3:13 PM
> > @@ -254,6 +259,7 @@ struct iommu_ops {
> > int (*def_domain_type)(struct device *dev);
> >
> > const struct iommu_domain_ops *default_domain_ops;
> > + const struct iommu_domain_ops *sva_domain_ops;
>
> Per Joerg's comment in anther thread,
>
> https://lore.kernel.org/linux-iommu/YodVJ7ervpIdWfg+@8bytes.org/
>
> adding a sva_domain_ops here is not the right way to go.
>
> If no objection, I will make the sva domain go through the
> generic domain_alloc/free() callbacks in the next version.
>

suppose it's just back to what v1-v6 did which all registered the ops
in domain_alloc() callback?
\
 
 \ /
  Last update: 2022-05-24 11:44    [W:0.225 / U:0.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site