[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC PATCH v3 0/3] Add vGPU support

From: Kirti Wankhede
Subject: [Qemu-devel] [RFC PATCH v3 0/3] Add vGPU support
Date: Tue, 3 May 2016 00:10:38 +0530

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

What's new in v3?
VFIO type1 IOMMU module supports devices which are IOMMU capable. This version
of patched adds support for vGPU devices, which are not IOMMU capable, to use
existing VFIO IOMMU module. VFIO Type1 IOMMU patch provide new set of APIs for
guest page translation.

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

Please review.


Kirti Wankhede (3):
  vGPU Core driver
  VFIO driver for vGPU device
  VFIO Type1 IOMMU change: to support with iommu and without iommu

 drivers/Kconfig                 |    2 +
 drivers/Makefile                |    1 +
 drivers/vfio/vfio_iommu_type1.c |  427 +++++++++++++++++++++++--
 drivers/vgpu/Kconfig            |   21 ++
 drivers/vgpu/Makefile           |    5 +
 drivers/vgpu/vgpu-core.c        |  424 ++++++++++++++++++++++++
 drivers/vgpu/vgpu-driver.c      |  136 ++++++++
 drivers/vgpu/vgpu-sysfs.c       |  365 +++++++++++++++++++++
 drivers/vgpu/vgpu_private.h     |   36 ++
 drivers/vgpu/vgpu_vfio.c        |  671 +++++++++++++++++++++++++++++++++++++++
 include/linux/vfio.h            |    6 +
 include/linux/vgpu.h            |  216 +++++++++++++
 12 files changed, 2278 insertions(+), 32 deletions(-)
 create mode 100644 drivers/vgpu/Kconfig
 create mode 100644 drivers/vgpu/Makefile
 create mode 100644 drivers/vgpu/vgpu-core.c
 create mode 100644 drivers/vgpu/vgpu-driver.c
 create mode 100644 drivers/vgpu/vgpu-sysfs.c
 create mode 100644 drivers/vgpu/vgpu_private.h
 create mode 100644 drivers/vgpu/vgpu_vfio.c
 create mode 100644 include/linux/vgpu.h

reply via email to

[Prev in Thread] Current Thread [Next in Thread]