qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alexey Kardashevskiy <aik@ozlabs.ru>
To: qemu-devel@nongnu.org
Cc: "Alexey Kardashevskiy" <aik@ozlabs.ru>,
	qemu-ppc@nongnu.org, "David Gibson" <david@gibson.dropbear.id.au>,
	"Alistair Popple" <alistair@popple.id.au>,
	"Reza Arbab" <arbab@linux.ibm.com>,
	"Sam Bobroff" <sbobroff@linux.ibm.com>,
	"Piotr Jaroszynski" <pjaroszynski@nvidia.com>,
	"Leonardo Augusto Guimarães Garcia" <lagarcia@br.ibm.com>,
	"Jose Ricardo Ziviani" <joserz@linux.ibm.com>,
	"Alex Williamson" <alex.williamson@redhat.com>,
	"Oliver O'Halloran" <oohall@gmail.com>
Subject: [Qemu-devel] [PATCH qemu RFC 0/7] spapr_pci, vfio: NVIDIA V100 + P9 passthrough
Date: Tue, 13 Nov 2018 19:30:57 +1100	[thread overview]
Message-ID: <20181113083104.2692-1-aik@ozlabs.ru> (raw)


This is for passing through NVIDIA V100 GPUs on POWER9 systems.
22/22 has the details of hardware setup.

This implements a subdriver for NVIDIA V100 GPU with coherent memory and
NPU/ATS support available in the POWER9 CPU. This also implements
required platform support for both powernv (host) and pseries (guest)
platforms.

This is pushed on github:
https://github.com/aik/linux/tree/nv2-stage4

QEMU bits are here (will post separately):
https://github.com/aik/qemu/tree/nv2-stage4

Skiboot bits are here (will post separately as well):
https://github.com/aik/skiboot/tree/nv2-stage4


Please comment. Thanks.



Alexey Kardashevskiy (7):
  vfio/spapr: Fix indirect levels calculation
  linux-header: Update for new capabilities
  pci: Move NVIDIA vendor id to the rest of ids
  vfio/nvidia-v100: Disable VBIOS update
  spapr-iommu: Always advertise the maximum possible DMA window size
  vfio: Make vfio_get_region_info_cap public
  spapr: Add NVLink2 pass through support

 hw/vfio/pci.h                                 |   3 +
 include/hw/pci-host/spapr.h                   |  28 ++
 include/hw/pci/pci_ids.h                      |   3 +
 include/hw/ppc/spapr.h                        |   3 +-
 include/hw/vfio/vfio-common.h                 |   2 +
 include/standard-headers/drm/drm_fourcc.h     |  48 ++++
 include/standard-headers/linux/ethtool.h      |  15 +-
 .../linux/input-event-codes.h                 |  18 ++
 include/standard-headers/linux/pci_regs.h     |   1 +
 linux-headers/asm-arm/unistd-common.h         |   1 +
 linux-headers/asm-arm64/unistd.h              |   1 +
 linux-headers/asm-generic/unistd.h            |   2 +
 linux-headers/linux/kvm.h                     |  10 +
 linux-headers/linux/vfio.h                    |  76 ++++++
 hw/ppc/spapr.c                                |  14 +-
 hw/ppc/spapr_pci.c                            | 256 +++++++++++++++++-
 hw/ppc/spapr_rtas_ddw.c                       |  19 +-
 hw/vfio/common.c                              |   2 +-
 hw/vfio/pci-quirks.c                          | 121 ++++++++-
 hw/vfio/pci.c                                 |  16 ++
 hw/vfio/spapr.c                               |   3 +-
 hw/vfio/trace-events                          |   6 +-
 22 files changed, 610 insertions(+), 38 deletions(-)

-- 
2.17.1

             reply	other threads:[~2018-11-13  8:42 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-13  8:30 Alexey Kardashevskiy [this message]
2018-11-13  8:30 ` [Qemu-devel] [PATCH qemu RFC 1/7] vfio/spapr: Fix indirect levels calculation Alexey Kardashevskiy
2018-11-19  1:45   ` David Gibson
2018-11-19  5:51     ` Alexey Kardashevskiy
2018-11-13  8:30 ` [Qemu-devel] [PATCH qemu RFC 2/7] linux-header: Update for new capabilities Alexey Kardashevskiy
2018-11-13  8:31 ` [Qemu-devel] [PATCH qemu RFC 3/7] pci: Move NVIDIA vendor id to the rest of ids Alexey Kardashevskiy
2018-11-19  1:46   ` David Gibson
2018-11-20 18:27   ` Alistair Francis
2018-12-14  3:36     ` Alexey Kardashevskiy
2019-01-16  4:20       ` Alexey Kardashevskiy
2019-02-14  2:26         ` Alexey Kardashevskiy
2019-02-14  3:21           ` Alex Williamson
2018-11-13  8:31 ` [Qemu-devel] [PATCH qemu RFC 4/7] vfio/nvidia-v100: Disable VBIOS update Alexey Kardashevskiy
2018-11-19  2:36   ` David Gibson
2018-11-13  8:31 ` [Qemu-devel] [PATCH qemu RFC 5/7] spapr-iommu: Always advertise the maximum possible DMA window size Alexey Kardashevskiy
2018-11-19  2:42   ` David Gibson
2018-11-19  5:08     ` Alexey Kardashevskiy
2018-11-19  5:31       ` David Gibson
2018-11-13  8:31 ` [Qemu-devel] [PATCH qemu RFC 6/7] vfio: Make vfio_get_region_info_cap public Alexey Kardashevskiy
2018-11-13  8:31 ` [Qemu-devel] [PATCH qemu RFC 7/7] spapr: Add NVLink2 pass through support Alexey Kardashevskiy
2018-11-19  3:01   ` David Gibson
2018-11-19  5:22     ` Alexey Kardashevskiy

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=20181113083104.2692-1-aik@ozlabs.ru \
    --to=aik@ozlabs.ru \
    --cc=alex.williamson@redhat.com \
    --cc=alistair@popple.id.au \
    --cc=arbab@linux.ibm.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=joserz@linux.ibm.com \
    --cc=lagarcia@br.ibm.com \
    --cc=oohall@gmail.com \
    --cc=pjaroszynski@nvidia.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=sbobroff@linux.ibm.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).