RFC Add vGPU support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 RFC Latest3 patches 74 repliesIn review
- v2 RFC3 patches 16 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | vGPU Core driverdrivers/ drivers/ drivers/ +6 more | +1205 | 15 replies | |
| 2/3 | VFIO driver for vGPU devicedrivers/ drivers/ | +672 | 11 replies | |
| 3/3 | VFIO Type1 IOMMU change: to support with iommu and without iommudrivers/ include/ include/ | +403 | 45 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [RFC PATCH v3 0/3] Add vGPU support
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.
Thanks,
Kirti
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