From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: [PATCH 0/2] uio_msi: device driver Date: Thu, 1 Oct 2015 11:36:41 +0300 Message-ID: <20151001113337-mutt-send-email-mst@redhat.com> References: <1443652138-31782-1-git-send-email-stephen@networkplumber.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, hjk@hansjkoch.de, gregkh@linux-foundation.org, linux-kernel@vger.kernel.org To: Stephen Hemminger Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id C74338E5A for ; Thu, 1 Oct 2015 10:36:46 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1443652138-31782-1-git-send-email-stephen@networkplumber.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Sep 30, 2015 at 03:28:56PM -0700, Stephen Hemminger wrote: > This is a new UIO device driver to allow supporting MSI-X and MSI devices > in userspace. It has been used in environments like VMware and older versions > of QEMU/KVM where no IOMMU support is available. > > Stephen Hemminger (2): > > *** BLURB HERE *** I think this needs some more work to make sure userspace can drive devices without a risk of crashing the kernel even when there's no IOMMU. I sent some comments in response to the patch itself. Please copy me on future versions of this driver. Thanks! > Stephen Hemminger (2): > uio: add support for ioctls > uio: new driver to support PCI MSI-X > > drivers/uio/Kconfig | 9 ++ > drivers/uio/Makefile | 1 + > drivers/uio/uio.c | 15 ++ > drivers/uio/uio_msi.c | 378 +++++++++++++++++++++++++++++++++++++++++++ > include/linux/uio_driver.h | 3 + > include/uapi/linux/Kbuild | 1 + > include/uapi/linux/uio_msi.h | 22 +++ > 7 files changed, 429 insertions(+) > create mode 100644 drivers/uio/uio_msi.c > create mode 100644 include/uapi/linux/uio_msi.h > > -- > 2.1.4 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/