From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacob Pan Subject: Re: [PATCH v4 05/22] iommu: introduce iommu invalidate API function Date: Mon, 7 May 2018 08:41:07 -0700 Message-ID: <20180507084107.2d1a9421@jacob-builder> References: <1523915351-54415-1-git-send-email-jacob.jun.pan@linux.intel.com> <1523915351-54415-6-git-send-email-jacob.jun.pan@linux.intel.com> <20180505221943.iy724cn4ltmycv5i@cantor> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20180505221943.iy724cn4ltmycv5i@cantor> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Jerry Snitselaar Cc: "Liu, Yi L" , Raj Ashok , Greg Kroah-Hartman , Rafael Wysocki , iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, LKML , Liu-i9wRM+HIrmnmtl4Z8vJ8Kg761KYD1DLY@public.gmane.org, Jean Delvare , David Woodhouse List-Id: iommu@lists.linux-foundation.org On Sat, 5 May 2018 15:19:43 -0700 Jerry Snitselaar 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! > [...]