qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kirti Wankhede <kwankhede@nvidia.com>
To: alex.williamson@redhat.com, pbonzini@redhat.com,
	kraxel@redhat.com, cjia@nvidia.com
Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org, kevin.tian@intel.com,
	shuai.ruan@intel.com, jike.song@intel.com, zhiyuan.lv@intel.com,
	bjsdjshi@linux.vnet.ibm.com,
	Kirti Wankhede <kwankhede@nvidia.com>
Subject: [Qemu-devel] [RFC PATCH v4 0/3] Add Mediated device support[was: Add vGPU support]
Date: Wed, 25 May 2016 01:28:14 +0530	[thread overview]
Message-ID: <1464119897-10844-1-git-send-email-kwankhede@nvidia.com> (raw)

This series adds Mediated device support to v4.6 Linux host kernel. Purpose
of this series is to provide a common interface for mediated device
management that can be used by different devices. This series introduces
Mdev core module that create and manage mediated devices, VFIO based driver
for mediated PCI devices that are created by Mdev core module and update
VFIO type1 IOMMU module to support mediated devices.

What's new in v4?
- Renamed 'vgpu' module to 'mdev' module that represent generic term
  'Mediated device'.
- Moved mdev directory to drivers/vfio directory as this is the extension
  of VFIO APIs for mediated devices.
- Updated mdev driver to be flexible to register multiple types of drivers
  to mdev_bus_type bus.
- Updated mdev core driver with mdev_put_device() and mdev_get_device() for
  mediated devices.


What's left to do?
VFIO driver for vGPU device doesn't support devices with MSI-X enabled.

Please review.

Kirti Wankhede (3):
  Mediated device Core driver
  VFIO driver for mediated PCI device
  VFIO Type1 IOMMU: Add support for mediated devices

 drivers/vfio/Kconfig                |   1 +
 drivers/vfio/Makefile               |   1 +
 drivers/vfio/mdev/Kconfig           |  18 +
 drivers/vfio/mdev/Makefile          |   6 +
 drivers/vfio/mdev/mdev-core.c       | 462 +++++++++++++++++++++++++
 drivers/vfio/mdev/mdev-driver.c     | 139 ++++++++
 drivers/vfio/mdev/mdev-sysfs.c      | 312 +++++++++++++++++
 drivers/vfio/mdev/mdev_private.h    |  33 ++
 drivers/vfio/mdev/vfio_mpci.c       | 648 ++++++++++++++++++++++++++++++++++++
 drivers/vfio/pci/vfio_pci_private.h |   6 -
 drivers/vfio/pci/vfio_pci_rdwr.c    |   1 +
 drivers/vfio/vfio_iommu_type1.c     | 433 ++++++++++++++++++++++--
 include/linux/mdev.h                | 224 +++++++++++++
 include/linux/vfio.h                |  13 +
 14 files changed, 2259 insertions(+), 38 deletions(-)
 create mode 100644 drivers/vfio/mdev/Kconfig
 create mode 100644 drivers/vfio/mdev/Makefile
 create mode 100644 drivers/vfio/mdev/mdev-core.c
 create mode 100644 drivers/vfio/mdev/mdev-driver.c
 create mode 100644 drivers/vfio/mdev/mdev-sysfs.c
 create mode 100644 drivers/vfio/mdev/mdev_private.h
 create mode 100644 drivers/vfio/mdev/vfio_mpci.c
 create mode 100644 include/linux/mdev.h

-- 
2.7.0

             reply	other threads:[~2016-05-24 19:57 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-24 19:58 Kirti Wankhede [this message]
2016-05-24 19:58 ` [Qemu-devel] [RFC PATCH v4 1/3] Mediated device Core driver Kirti Wankhede
2016-05-25  7:55   ` Tian, Kevin
2016-05-25 14:47     ` Kirti Wankhede
2016-05-27  9:00       ` Tian, Kevin
2016-05-25 22:39   ` Alex Williamson
2016-05-26  9:03     ` Kirti Wankhede
2016-05-26 14:06       ` Alex Williamson
2016-06-03  8:57   ` Dong Jia
2016-06-03  9:40     ` Tian, Kevin
2016-06-06  2:24       ` Dong Jia
2016-06-06  5:27     ` Kirti Wankhede
2016-06-06  6:01       ` Dong Jia
2016-06-06  6:27         ` Neo Jia
2016-06-06  8:29           ` Dong Jia
2016-06-06 17:44             ` Neo Jia
2016-06-06 19:31               ` Alex Williamson
2016-06-07  3:03                 ` Tian, Kevin
2016-06-07 22:42                   ` Alex Williamson
2016-06-08  1:18                     ` Tian, Kevin
2016-06-08  1:39                       ` Alex Williamson
2016-06-08  3:18                         ` Dong Jia
2016-06-08  3:48                           ` Neo Jia
2016-06-08  6:13                             ` Dong Jia
2016-06-08  6:22                               ` Neo Jia
2016-06-08  4:29                           ` Alex Williamson
2016-06-15  6:37                             ` Dong Jia
2016-05-24 19:58 ` [Qemu-devel] [RFC PATCH v4 2/3] VFIO driver for mediated PCI device Kirti Wankhede
2016-05-25  8:15   ` Tian, Kevin
2016-05-25 13:04     ` Kirti Wankhede
2016-05-27 10:03       ` Tian, Kevin
2016-05-27 15:13         ` Alex Williamson
2016-05-24 19:58 ` [Qemu-devel] [RFC PATCH v4 3/3] VFIO Type1 IOMMU: Add support for mediated devices Kirti Wankhede
2016-06-01  8:40   ` Dong Jia
2016-06-02  7:56     ` Neo Jia
2016-06-03  8:32       ` Dong Jia
2016-06-03  8:37         ` Tian, Kevin
2016-05-25  7:13 ` [Qemu-devel] [RFC PATCH v4 0/3] Add Mediated device support[was: Add vGPU support] Tian, Kevin
2016-05-25 13:43   ` Alex Williamson
2016-05-27 11:02     ` Tian, Kevin
2016-05-27 14:54       ` Alex Williamson
2016-05-27 22:43         ` Tian, Kevin
2016-05-28 14:56           ` Alex Williamson
2016-05-31  2:29             ` Jike Song
2016-05-31 14:29               ` Alex Williamson
2016-06-02  2:11                 ` Jike Song

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=1464119897-10844-1-git-send-email-kwankhede@nvidia.com \
    --to=kwankhede@nvidia.com \
    --cc=alex.williamson@redhat.com \
    --cc=bjsdjshi@linux.vnet.ibm.com \
    --cc=cjia@nvidia.com \
    --cc=jike.song@intel.com \
    --cc=kevin.tian@intel.com \
    --cc=kraxel@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=shuai.ruan@intel.com \
    --cc=zhiyuan.lv@intel.com \
    /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).