From: Alex Williamson <alex.williamson@redhat.com>
To: chrisw@sous-sol.org, aik@ozlabs.ru, david@gibson.dropbear.id.au,
joerg.roedel@amd.com, agraf@suse.de, benve@cisco.com,
aafabbri@cisco.com, B08248@freescale.com, B07421@freescale.com,
avi@redhat.com, konrad.wilk@oracle.com, kvm@vger.kernel.org,
qemu-devel@nongnu.org, iommu@lists.linux-foundation.org,
linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [Qemu-devel] [PATCH v2 0/5] VFIO core framework
Date: Mon, 23 Jan 2012 10:20:05 -0700 [thread overview]
Message-ID: <20120123165620.26865.51875.stgit@bling.home> (raw)
This series includes the core framework for the VFIO driver.
VFIO is a userspace driver interface meant to replace both the
KVM device assignment code as well as interfaces like UIO. Please
see patch 1/5 for a complete description of VFIO, what it can do,
and how it's designed.
This series can also be found here:
git://github.com/awilliam/linux-vfio.git vfio-next
This plus the PCI VFIO bus driver for exposing PCI devices to
userspace can be found here:
git://github.com/awilliam/linux-vfio.git vfio-next-staging
or here for a linux-2.6.git based tree:
git://github.com/awilliam/linux-vfio.git vfio-linux-staging
A fully functional qemu driver for doing non-KVM based PCI
device assignment can be found here:
git://github.com/awilliam/qemu-vfio.git vfio-ng
I'd like to propose VFIO for inclusion in Linux 3.4, starting with
this core framework series. Once we have agreement on these, I'll
split up and post the VFIO PCI bus driver for inclusion as well.
I can also host the above vfio-next branch for inclusion in
linux-next. Please review and comment. Thanks,
Alex
v2: Interrupt setup ioctl rework based on comments by Konrad.
The interrupt ioctls are no longer exclusively targeted
at eventfds, allowing for more flexibility of other vfio
bus drivers making use of alternate mechanisms. Also
updated vfio_iommu_info to report common IOMMU geometry
fields that we know we're going to need for Freescale
PAMU. Additional ioctls and fields to be added via flags
as they're implemented in the IOMMU API.
---
Alex Williamson (5):
vfio: VFIO core Kconfig and Makefile
vfio: VFIO core IOMMU mapping support
vfio: VFIO core group interface
vfio: VFIO core header
vfio: Introduce documentation for VFIO driver
Documentation/ioctl/ioctl-number.txt | 1
Documentation/vfio.txt | 359 ++++++++++
MAINTAINERS | 8
drivers/Kconfig | 2
drivers/Makefile | 1
drivers/vfio/Kconfig | 8
drivers/vfio/Makefile | 3
drivers/vfio/vfio_iommu.c | 611 +++++++++++++++++
drivers/vfio/vfio_main.c | 1248 ++++++++++++++++++++++++++++++++++
drivers/vfio/vfio_private.h | 36 +
include/linux/vfio.h | 395 +++++++++++
11 files changed, 2672 insertions(+), 0 deletions(-)
create mode 100644 Documentation/vfio.txt
create mode 100644 drivers/vfio/Kconfig
create mode 100644 drivers/vfio/Makefile
create mode 100644 drivers/vfio/vfio_iommu.c
create mode 100644 drivers/vfio/vfio_main.c
create mode 100644 drivers/vfio/vfio_private.h
create mode 100644 include/linux/vfio.h
next reply other threads:[~2012-01-23 17:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-23 17:20 Alex Williamson [this message]
2012-01-23 17:20 ` [Qemu-devel] [PATCH v2 1/5] vfio: Introduce documentation for VFIO driver Alex Williamson
2012-01-23 17:20 ` [Qemu-devel] [PATCH v2 2/5] vfio: VFIO core header Alex Williamson
2012-01-23 17:21 ` [Qemu-devel] [PATCH v2 3/5] vfio: VFIO core group interface Alex Williamson
2012-01-23 17:21 ` [Qemu-devel] [PATCH v2 4/5] vfio: VFIO core IOMMU mapping support Alex Williamson
2012-01-23 17:21 ` [Qemu-devel] [PATCH v2 5/5] vfio: VFIO core Kconfig and Makefile Alex Williamson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120123165620.26865.51875.stgit@bling.home \
--to=alex.williamson@redhat.com \
--cc=B07421@freescale.com \
--cc=B08248@freescale.com \
--cc=aafabbri@cisco.com \
--cc=agraf@suse.de \
--cc=aik@ozlabs.ru \
--cc=avi@redhat.com \
--cc=benve@cisco.com \
--cc=chrisw@sous-sol.org \
--cc=david@gibson.dropbear.id.au \
--cc=iommu@lists.linux-foundation.org \
--cc=joerg.roedel@amd.com \
--cc=konrad.wilk@oracle.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).