[PATCH v7 01/14] iommu/arm-smmu-v3: Convert to domain_alloc_sva()

Jason Gunthorpe jgg at nvidia.com
Thu May 9 11:40:22 PDT 2024


On Thu, May 09, 2024 at 11:21:59AM -0700, Nicolin Chen wrote:
> On Wed, May 08, 2024 at 03:57:09PM -0300, Jason Gunthorpe wrote:
> 
> > @@ -848,5 +849,8 @@ static inline void arm_smmu_sva_remove_dev_pasid(struct iommu_domain *domain,
> >  						 ioasid_t id)
> >  {
> >  }
> > +
> > +#define arm_smmu_sva_domain_alloc NULL
> > +
> 
> Just a few lines above, there is still an inline define:
> static inline struct iommu_domain *arm_smmu_sva_domain_alloc(void)
> {
> 	return NULL;
> }
> 
> Should we delete this too?

Yes, thanks, this is a rebasing mistake :|

Jason



More information about the linux-arm-kernel mailing list