Skip to content

spapr_pci, vfio: NVIDIA V100 + POWER9 passthrough

Alexey Kardashevskiy qemu-devel 4 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 5 repliesApplied
  2. v36 patches 14 repliesSuperseded
  3. v24 patches 19 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches15 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3spapr_iommu: Do not replay mappings from just created DMA windowhw/ppc/spapr_iommu.c hw/ppc/spapr_rtas_ddw.c include/hw/ppc/spapr.h+42 -01 reply
2/3vfio: Make vfio_get_region_info_cap publichw/vfio/common.c include/hw/vfio/vfio-common.h+3 -11 reply
3/3spapr: Support NVIDIA V100 GPU with NVLink2hw/ppc/Makefile.objs hw/ppc/spapr.c hw/ppc/spapr_pci.c +7 more+674 -53 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAlex Williamson
1/3
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [Qemu-devel] [PATCH qemu v4 0/3] spapr_pci, vfio: NVIDIA V100 + POWER9 passthrough

This is for passing through NVIDIA V100 GPUs on POWER9 systems.

This implements a subdriver for NVIDIA V100 GPU with coherent memory and NPU/ATS support available in the POWER9 CPU.

Here is the kernel driver:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/vfio/pci?h=v5.0-rc6&id=7f92891778dff62303c070ac81de7b7d80de331a

This is based on David's ppc-for-4.0 sha1
28aa643760dd Suraj Jitindar Singh "target/ppc/spapr: Clear partition table entry when allocating hash table".

Please comment. Thanks.

Alexey Kardashevskiy (3):
spapr_iommu: Do not replay mappings from just created DMA window
vfio: Make vfio_get_region_info_cap public
spapr: Support NVIDIA V100 GPU with NVLink2

 hw/ppc/Makefile.objs          |   2 +-
 hw/vfio/pci.h                 |   2 +
 include/hw/pci-host/spapr.h   |  45 ++++
 include/hw/ppc/spapr.h        |   4 +-
 include/hw/vfio/vfio-common.h |   2 +
 hw/ppc/spapr.c                |  29 ++-
 hw/ppc/spapr_iommu.c          |  31 +++
 hw/ppc/spapr_pci.c            |  19 ++
 hw/ppc/spapr_pci_nvlink2.c    | 441 ++++++++++++++++++++++++++++++++++
 hw/ppc/spapr_rtas_ddw.c       |  10 +
 hw/vfio/common.c              |   2 +-
 hw/vfio/pci-quirks.c          | 120 +++++++++
 hw/vfio/pci.c                 |  14 ++
 hw/vfio/trace-events          |   4 +
 14 files changed, 719 insertions(+), 6 deletions(-)
 create mode 100644 hw/ppc/spapr_pci_nvlink2.c
Signature · 1 line
2.17.1