[Kernel-packages] [Bug 1819989] Re: Add basic support to NVLink2 passthrough

2019-04-12 Thread Jose Ricardo Ziviani
Hello, I tested the kernel with the changes and it works nice! Thank you root@ubuntu:~# numactl -H available: 3 nodes (0,251-252) node 0 cpus: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53

[Kernel-packages] [Bug 1819989] Re: Add basic support to NVLink2 passthrough

2019-04-01 Thread Jose Ricardo Ziviani
** Attachment added: "small script to detach devices from the same IOMMU group" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1819989/+attachment/5251785/+files/detach.sh -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in

[Kernel-packages] [Bug 1819989] Re: Add basic support to NVLink2 passthrough

2019-04-01 Thread Jose Ricardo Ziviani
SRU: [Impact] * An important feature was developed for PowerPC upstream and backported to a custom version of Ubuntu Bionic 18.04.1. The feature is known as nvlink2[1] passthrough, it allows physical GPUs to be accessed from any QEMU/KVM virtual machine. The problem happens when clients want to

[Kernel-packages] [Bug 1819989] Re: Add basic support to NVLink2 passthrough

2019-03-20 Thread Jose Ricardo Ziviani
** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1819989 Title: Add basic support to NVLink2 passthrough Status in

[Kernel-packages] [Bug 1819989] Re: Add basic support to NVLink2 passthrough

2019-03-14 Thread Jose Ricardo Ziviani
The patchset is in the mailing list for review: https://lists.ubuntu.com/archives/kernel-team/2019-March/099243.html -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1819989 Title: Add

[Kernel-packages] [Bug 1819989] [NEW] Add basic support to NVLink2 passthrough

2019-03-13 Thread Jose Ricardo Ziviani
Public bug reported: This bug exists to track the basic support to NVLink2 passthrough on Ubuntu 18.04 - for the guest side only. There's a relative small patchset that I'm going to send to Canonical Kernel Team using this buglink. On the host side we'll be running a custom version of Ubuntu

[Kernel-packages] [Bug 1800649] Re: Add support for NVIDIA GPU passthrough

2019-01-25 Thread Jose Ricardo Ziviani
Juerg, sorry, my bad. I tested my own build. I was sure I had 'apt-get' that IBM-cloud, which didn't happen. Anyway, I was not aware of that salesforce process. I saw this bug marked as "won't fix" without any further explanation, how could I know that? Anyway, how do I access the salesforce to

[Kernel-packages] [Bug 1800649] Re: Add support for NVIDIA GPU passthrough

2019-01-23 Thread Jose Ricardo Ziviani
Hello Juerg, Thanks for the packages provided. I made a initial setup and it looks good. However, a bug was identified and a new patch should be applied on top of my previous patchset. Would you mind to include it? The patch is:

[Kernel-packages] [Bug 1800649] Re: Add support for NVIDIA GPU passthrough

2018-12-13 Thread Jose Ricardo Ziviani
Hi Christian, You're right, we're going to use our customized QEMU. Thank you!! Jose -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1800649 Title: Add support for NVIDIA GPU

[Kernel-packages] [Bug 1800649] Re: Add support for NVIDIA GPU passthrough

2018-12-07 Thread Jose Ricardo Ziviani
Hello Christian! That's a good point. :-) As far as I know the project should be based on top of v2.11.2 (at least, this is what we've been testing). I'll try to confirm it here. Thank you -- You received this bug notification because you are a member of Kernel Packages, which is subscribed

[Kernel-packages] [Bug 1800649] Re: Add support for NVIDIA GPU passthrough

2018-12-06 Thread Jose Ricardo Ziviani
@Christian, hello! I completed the backport to QEMU v2.11.2, but more patches were required in order to make it work. The patchset is attached here but it can be found also at https://github.com/jrziviani/qemu-devel/tree/nv2_scratch_181204_bionic. Patches from 1 to 34 are already upstream, from

[Kernel-packages] [Bug 1800649] Re: Add support for NVIDIA GPU passthrough

2018-12-06 Thread Jose Ricardo Ziviani
@Juerg Hello, I have a new patchset. It has all the necessary fixes to stabilize nvlink2 passthrough, which required more patches backported. I'm attaching the tar.gz here. You can also find it at https://github.com/jrziviani/linux-devel/tree/nv2_scratch_181203_bionic It's built on top of

[Kernel-packages] [Bug 1800649] Re: Add support to NVIDIA GPU passthrough

2018-11-06 Thread Jose Ricardo Ziviani
The file passthrough-patches.tar.gz contains the following patches: 0001-kvm-no-need-to-check-return-value-of-debugfs_create-.patch 0002-powerpc-powernv-idoa-Remove-unnecessary-pcidev-from-.patch 0003-powerpc-Use-sizeof-foo-rather-than-sizeof-struct-foo.patch

[Kernel-packages] [Bug 1800649] Re: Add support to NVIDIA GPU passthrough

2018-11-06 Thread Jose Ricardo Ziviani
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

[Kernel-packages] [Bug 1800649] Re: Add support to NVIDIA GPU passthrough

2018-11-06 Thread Jose Ricardo Ziviani
** Patch added: "0001-kvm-no-need-to-check-return-value-of-debugfs_create-.patch" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1800649/+attachment/5209841/+files/0001-kvm-no-need-to-check-return-value-of-debugfs_create-.patch -- You received this bug notification because you are a

[Kernel-packages] [Bug 1686019] Re: Ubuntu 16.04.3: Qemu fails on P9

2017-09-04 Thread Jose Ricardo Ziviani
** Tags removed: verification-needed-zesty ** Tags added: verification-done-zesty -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1686019 Title: Ubuntu 16.04.3: Qemu fails on P9 Status