Re: [PATCH v4 05/22] iommu: introduce iommu invalidate API function

From: Jacob Pan
Date: Mon May 07 2018 - 11:38:30 EST


On Sat, 5 May 2018 15:19:43 -0700
Jerry Snitselaar <jsnitsel@xxxxxxxxxx> wrote:

> >
> >+static inline int iommu_sva_invalidate(struct iommu_domain *domain,
> >+ struct device *dev, struct tlb_invalidate_info
> >*inv_info) +{
> >+ return -EINVAL;
> >+}
> >+
>
> Would -ENODEV make more sense here?
>
yes, make sense. thanks!
> [...]