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

Nicolin Chen nicolinc at nvidia.com
Thu May 9 11:21:59 PDT 2024


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?

Nicolin



More information about the linux-arm-kernel mailing list