From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH V2] VFIO driver: Non-privileged user level PCI drivers Date: Thu, 10 Jun 2010 21:19:51 -0700 Message-ID: <20100611041951.GA23796@suse.de> References: <4c0eb470.1HMjondO00NIvFM6%pugs@cisco.com> <20100610172736.GA9737@phenom.dumpdata.com> <201006101858.38491.pugs@lyon-about.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Konrad Rzeszutek Wilk , randy.dunlap@oracle.com, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, chrisw@sous-sol.org, joro@8bytes.org, hjk@linutronix.de, mst@redhat.com, avi@redhat.com, aafabbri@cisco.com, scofeldm@cisco.com To: Tom Lyon Return-path: Content-Disposition: inline In-Reply-To: <201006101858.38491.pugs@lyon-about.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Thu, Jun 10, 2010 at 06:58:37PM -0700, Tom Lyon wrote: > On Thursday 10 June 2010 10:27:36 am Konrad Rzeszutek Wilk wrote: > > > +EXPORT_SYMBOL(uiommu_fdget); > > > > EXPORT_SYMBOL_GPL > > .. snip > > > +EXPORT_SYMBOL(uiommu_put); > > > > ditto. > > > > Is there a definitive explanation somewhere of when to use each? For a driver like this, that is very tied to the way that the kernel works, I would recommend the _GPL marking, like the UIO interface has. But that's just me. :) thanks, greg k-h