The patch attached here contains the necessary to build QEMU with support to nvlink2 passthrough:
0001-qdev-Use-string-for-QOM-string-properties.patch 0002-ppc-spapr-Receive-and-store-device-tree-blob-from-SL.patch 0003-DBG-store-fdt.patch 0004-vfio-spapr-Fix-indirect-levels-calculation.patch 0005-headers-update.patch 0006-pci-Move-NVIDIA-vendor-id-to-the-rest-of-ids.patch 0007-RFC-vfio-nvidia-v100-Disable-VBIOS-update.patch 0008-spapr-iommu-Always-advertise-the-maximum-possible-DM.patch 0009-FIXME-vfio-Do-not-replay-IOMMU-mappings.patch 0010-vfio-Make-vfio_get_region_info_cap-public.patch 0011-vfio-spapr-Try-allocating-less-levels-if-failed-with.patch 0012-spapr-Add-NVLink2-memory-to-PHB-placement.patch 0013-spapr-Create-ibm-gpu-and-ibm-npu-cross-links-in-the-.patch 0014-spapr-vfio-Map-GPU-RAM-and-advertise-to-the-guest.patch 0015-debug-Disables-KVM-TCE-acceleration-and-direct-ATSD-.patch
https://github.com/aik/qemu/tree/nv2
The patch attached here contains the necessary to build QEMU with support to nvlink2 passthrough:
0001-qdev- Use-string- for-QOM- string- properties. patch spapr-Receive- and-store- device- tree-blob- from-SL. patch store-fdt. patch spapr-Fix- indirect- levels- calculation. patch update. patch Move-NVIDIA- vendor- id-to-the- rest-of- ids.patch vfio-nvidia- v100-Disable- VBIOS-update. patch iommu-Always- advertise- the-maximum- possible- DM.patch vfio-Do- not-replay- IOMMU-mappings. patch Make-vfio_ get_region_ info_cap- public. patch spapr-Try- allocating- less-levels- if-failed- with.patch Add-NVLink2- memory- to-PHB- placement. patch Create- ibm-gpu- and-ibm- npu-cross- links-in- the-.patch vfio-Map- GPU-RAM- and-advertise- to-the- guest.patch Disables- KVM-TCE- acceleration- and-direct- ATSD-.patch
0002-ppc-
0003-DBG-
0004-vfio-
0005-headers-
0006-pci-
0007-RFC-
0008-spapr-
0009-FIXME-
0010-vfio-
0011-vfio-
0012-spapr-
0013-spapr-
0014-spapr-
0015-debug-
https:/ /github. com/aik/ qemu/tree/ nv2