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==--