From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110571] GPU Passthrough of Vega 56 GPU hangs on KVM start. Date: Wed, 01 May 2019 07:45:43 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0643993332==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4A08D892A7 for ; Wed, 1 May 2019 07:45:44 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0643993332== Content-Type: multipart/alternative; boundary="15566967441.b8edFA.3200" Content-Transfer-Encoding: 7bit --15566967441.b8edFA.3200 Date: Wed, 1 May 2019 07:45:44 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D110571 Bug ID: 110571 Summary: GPU Passthrough of Vega 56 GPU hangs on KVM start. Product: DRI Version: DRI git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: James.Dutton@gmail.com When trying to use IOMMU and passthrough a Vega GPU to the guest VM. KVM f= ails to start, and SERR errors are shown with lspci on the GPU device. Hardware is a Threadripper 1950X, Gigabyte X399 Pro motherboard. Vega 56. The same problem also happens with an old Radeon CAICOS GPU. So, my theory is that this is a AMD Threadripper and X399 motherboard probl= em. Maybe related to the IOMMU programming on the X399 chipset not happening correctly. Can anyone help give me some pointers as to where to look to help diagnose = the problem. For example, how do I view iommu settings/mappings? How do I find out what all the config params for the X399 Bridge GPP do? What does GPP mean? --=20 You are receiving this mail because: You are the assignee for the bug.= --15566967441.b8edFA.3200 Date: Wed, 1 May 2019 07:45:44 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 110571
Summary GPU Passthrough of Vega 56 GPU hangs on KVM start.
Product DRI
Version DRI git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter James.Dutton@gmail.com

When trying to use IOMMU and passthrough a Vega GPU to the gue=
st VM.  KVM fails
to start, and SERR errors are shown with lspci on the GPU device.

Hardware is a Threadripper 1950X, Gigabyte X399 Pro motherboard.
Vega 56.

The same problem also happens with an old Radeon CAICOS GPU.

So, my theory is that this is a AMD Threadripper and X399 motherboard probl=
em.
Maybe related to the IOMMU programming on the X399 chipset not happening
correctly.

Can anyone help give me some pointers as to where to look to help diagnose =
the
problem.
For example, how do I view iommu settings/mappings?
How do I find out what all the config params for the X399 Bridge GPP do?
What does GPP mean?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15566967441.b8edFA.3200-- --===============0643993332== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0643993332==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110571] GPU Passthrough of Vega 56 GPU hangs on KVM start. Date: Tue, 19 Nov 2019 09:19:51 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1148662460==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E90A46F3A6 for ; Tue, 19 Nov 2019 09:19:50 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1148662460== Content-Type: multipart/alternative; boundary="15741551901.cFdAc2fD4.4403" Content-Transfer-Encoding: 7bit --15741551901.cFdAc2fD4.4403 Date: Tue, 19 Nov 2019 09:19:50 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D110571 Martin Peres changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED --- Comment #1 from Martin Peres --- -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this = link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/758. --=20 You are receiving this mail because: You are the assignee for the bug.= --15741551901.cFdAc2fD4.4403 Date: Tue, 19 Nov 2019 09:19:50 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated <= span class=3D"fn">Martin Peres changed bug 11057= 1
What Removed Added
Resolution --- MOVED
Status NEW RESOLVED

Commen= t # 1 on bug 11057= 1 from Martin Peres
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this =
link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/758.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15741551901.cFdAc2fD4.4403-- --===============1148662460== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1148662460==--