From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: Re: [PATCH V2] VFIO driver: Non-privileged user level PCI drivers Date: Tue, 8 Jun 2010 14:41:53 -0700 Message-ID: <20100608144153.28d2abff.randy.dunlap@oracle.com> References: <4c0eb470.1HMjondO00NIvFM6%pugs@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: 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, gregkh@suse.de, aafabbri@cisco.com, scofeldm@cisco.com To: "Tom Lyon" Return-path: In-Reply-To: <4c0eb470.1HMjondO00NIvFM6%pugs@cisco.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Tue, 08 Jun 2010 14:21:52 -0700 Tom Lyon wrote: one missing piece (again): Documentation/ioctl/ioctl-number.txt | 1 Documentation/vfio.txt | 177 +++++++ MAINTAINERS | 7 drivers/Kconfig | 2 drivers/Makefile | 1 drivers/vfio/Kconfig | 18 drivers/vfio/Makefile | 6 drivers/vfio/uiommu.c | 126 +++++ drivers/vfio/vfio_dma.c | 324 ++++++++++++ drivers/vfio/vfio_intrs.c | 191 +++++++ drivers/vfio/vfio_main.c | 624 +++++++++++++++++++++++++ drivers/vfio/vfio_pci_config.c | 554 ++++++++++++++++++++++ drivers/vfio/vfio_rdwr.c | 147 +++++ drivers/vfio/vfio_sysfs.c | 153 ++++++ include/linux/uiommu.h | 62 ++ include/linux/vfio.h | 200 ++++++++ 16 files changed, 2593 insertions(+) > diff -uprN linux-2.6.34/drivers/vfio/Kconfig vfio-linux-2.6.34/drivers/vfio/Kconfig > --- linux-2.6.34/drivers/vfio/Kconfig 1969-12-31 16:00:00.000000000 -0800 > +++ vfio-linux-2.6.34/drivers/vfio/Kconfig 2010-06-07 15:28:14.000000000 -0700 > @@ -0,0 +1,18 @@ > +menuconfig VFIO > + tristate "Non-Priv User Space PCI drivers" Non-privileged (again) > + depends on UIOMMU && PCI && IOMMU_API > + help > + Driver to allow advanced user space drivers for PCI, PCI-X, > + and PCIe devices. Requires IOMMU to allow non-privilged non-privileged (again) :( > + processes to directly control the PCI devices. > + > + If you don't know what to do here, say N. > + > +menuconfig UIOMMU > + tristate "User level manipulation of IOMMU" > + help > + Device driver to allow user level programs to > + manipulate IOMMU domains domains. > + > + If you don't know what to do here, say N. > + --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code ***