[Bionic][PATCH 00/12] Enable NVLink2 devices on guests

Jose Ricardo Ziviani joserz at linux.ibm.com
Thu Mar 14 17:56:40 UTC 2019


https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1819989
Based on master-next (currently UBUNTU: Ubuntu-4.15.0-47.50)

This patchset enables QEMU/KVM guests to use passed through NVLink2 devices.

The host side runs a custom version of Ubuntu Bionic (kernel/QEMU) but it is very important for clients to use the image that they get from Canonical's website. To accomplish that we've worked on a small patchset to cover only the guest side - avoiding changes beyond that. All patches are upstream.

Thank you very much,

Jose R. Ziviani

Alexey Kardashevskiy (9):
  powerpc/powernv/npu: Do not try invalidating 32bit table when 64bit
    table is enabled
  powerpc/powernv/idoa: Remove unnecessary pcidev from pci_dn
  powerpc/powernv: Move npu struct from pnv_phb to pci_controller
  powerpc/powernv/npu: Move OPAL calls away from context manipulation
  powerpc/pseries/iommu: Use memory@ nodes in max RAM address
    calculation
  powerpc/pseries/npu: Enable platform support
  powerpc/pseries: Remove IOMMU API support for non-LPAR systems
  powerpc/powernv/npu: Check mmio_atsd array bounds when populating
  powerpc/powernv/npu: Fault user page into the hypervisor's pagetable

Haren Myneni (1):
  powerpc/powernv: Export opal_check_token symbol

Nicholas Piggin (1):
  powerpc/powernv: call OPAL_QUIESCE before OPAL_SIGNAL_SYSTEM_RESET

Vaibhav Jain (1):
  powerpc/powernv: Make possible for user to force a full ipl cec reboot

 arch/powerpc/include/asm/opal-api.h           |   8 +
 arch/powerpc/include/asm/opal.h               |   1 +
 arch/powerpc/include/asm/pci-bridge.h         |   3 +-
 arch/powerpc/include/asm/pci.h                |   3 +
 arch/powerpc/platforms/powernv/npu-dma.c      | 198 +++++++++++-------
 .../powerpc/platforms/powernv/opal-wrappers.S |   1 +
 arch/powerpc/platforms/powernv/opal.c         |   1 +
 arch/powerpc/platforms/powernv/pci-ioda.c     |  45 +++-
 arch/powerpc/platforms/powernv/pci.h          |  19 +-
 arch/powerpc/platforms/powernv/setup.c        |  36 +++-
 arch/powerpc/platforms/powernv/smp.c          |  17 +-
 arch/powerpc/platforms/pseries/iommu.c        |  42 +++-
 arch/powerpc/platforms/pseries/pci.c          |  23 ++
 13 files changed, 282 insertions(+), 115 deletions(-)

-- 
2.20.1




More information about the kernel-team mailing list