From: bugzilla-daemon@freedesktop.org Subject: [Bug 101946] Rebinding AMDGPU causes initialization errors [R9 290] Date: Tue, 01 Aug 2017 16:30:55 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0286315472==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 63A0D6ED8C for ; Tue, 1 Aug 2017 16:30:55 +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 --===============0286315472== Content-Type: multipart/alternative; boundary="15016050551.8366FBE.20397"; charset="UTF-8" --15016050551.8366FBE.20397 Date: Tue, 1 Aug 2017 16:30:55 +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=3D101946 --- Comment #25 from Luke A. Guest --- > Hi Luke, few questions. When booting the host, do you boot with amdgpu or= vfio-pci bound to the GPU? After you've started a VM, did you bind back to= amdgpu or did you stay on vfio-pci? I have 2 AMD GPU's, R9 390 (host) and R9 380 (guest). I boot with the 380 b= eing passed over to vfio-pci. On exit the VM sets the 380 back to vfio-pci. > Is it during vfio or amdgpu control that your system hangs on the second = boot? It was during a boot of the VM, the devices were attached to the vfio-pci driver. > If it's during amdgpu, have you tried my patch from comment 20? I haven't tried it, I don't think it would apply to my card as it's VI not = CIK. Although, if I were using the 390 (CIK) it likely would. The issues are sim= ilar though and I believe I've just proved that the so called hw reset bug, in m= ay case anyway, is sw not hw. --=20 You are receiving this mail because: You are the assignee for the bug.= --15016050551.8366FBE.20397 Date: Tue, 1 Aug 2017 16:30:55 +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

Comme= nt # 25 on bug 10194= 6 from Luke A. Guest
> Hi Luke, few questions. When bootin=
g the host, do you boot with amdgpu or vfio-pci bound to the GPU? After you=
've started a VM, did you bind back to amdgpu or did you stay on vfio-pci?<=
/span >

I have 2 AMD GPU's, R9 390 (host) and R9 380 (guest). I boot with the 380 b=
eing
passed over to vfio-pci. On exit the VM sets the 380 back to vfio-pci.

> Is it during vfio or amdgpu control that your sy=
stem hangs on the second boot?

It was during a boot of the VM, the devices were attached to the vfio-pci
driver.

> If it's during amdgpu, have you tried my patch f=
rom comment 20?

I haven't tried it, I don't think it would apply to my card as it's VI not =
CIK.
Although, if I were using the 390 (CIK) it likely would. The issues are sim=
ilar
though and I believe I've just proved that the so called hw reset bug, in m=
ay
case anyway, is sw not hw.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15016050551.8366FBE.20397-- --===============0286315472== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0286315472==--