From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107518] polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable Date: Tue, 07 Aug 2018 19:15:10 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0935037756==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id BBA9B6E041 for ; Tue, 7 Aug 2018 19:15:10 +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 --===============0935037756== Content-Type: multipart/alternative; boundary="15336693100.eB32c19.472" Content-Transfer-Encoding: 7bit --15336693100.eB32c19.472 Date: Tue, 7 Aug 2018 19:15:10 +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=3D107518 Bug ID: 107518 Summary: polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable Product: DRI Version: unspecified Hardware: PowerPC OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: shawnanastasio@yahoo.com Created attachment 141002 --> https://bugs.freedesktop.org/attachment.cgi?id=3D141002&action=3Dedit dmesg for 4.17.11-200 When booting kernel 4.17 or 4.18-rc8+ (git) on a POWER9 system with an ASUS= Rx 580 GPU, the following messages are printed to the kernel log: [ 10.398837] amdgpu: [powerplay] There must be 1 or more PCIE levels defi= ned in PPTable. [ 10.398839] amdgpu: [powerplay] Failed to populate SCLK during PopulateNewDPMClocksStates Function! [ 10.398840] amdgpu: [powerplay] Failed to populate and upload SCLK MCLK = DPM levels! Note that the system is booted with the kernel argument `amdgpu.dc=3D0` to = work around this issue: https://bugs.freedesktop.org/show_bug.cgi?id=3D107049 GPU performance seems to be significantly hindered as a result of these err= ors. Booting with `amdgpu.dpm=3D0` silences the errors but does not improve performance. --=20 You are receiving this mail because: You are the assignee for the bug.= --15336693100.eB32c19.472 Date: Tue, 7 Aug 2018 19:15:10 +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 107518
Summary polaris powerplay init fails: There must be 1 or more PCIE le= vels defined in PPTable
Product DRI
Version unspecified
Hardware PowerPC
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter shawnanastasio@yahoo.com

Created attachment 141002<=
/a> [details]
dmesg for 4.17.11-200

When booting kernel 4.17 or 4.18-rc8+ (git) on a POWER9 system with an ASUS=
 Rx
580 GPU, the following messages are printed to the kernel log:

[   10.398837] amdgpu: [powerplay] There must be 1 or more PCIE levels defi=
ned
in PPTable.
[   10.398839] amdgpu: [powerplay] Failed to populate SCLK during
PopulateNewDPMClocksStates Function!
[   10.398840] amdgpu: [powerplay] Failed to populate and upload SCLK MCLK =
DPM
levels!


Note that the system is booted with the kernel argument `amdgpu.dc=3D0` to =
work
around this issue: https://bugs.freedesktop.org/show_bug.=
cgi?id=3D107049

GPU performance seems to be significantly hindered as a result of these err=
ors.

Booting with `amdgpu.dpm=3D0` silences the errors but does not improve
performance.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15336693100.eB32c19.472-- --===============0935037756== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0935037756==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107518] polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable Date: Tue, 07 Aug 2018 19:55:14 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1478627155==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E93996E453 for ; Tue, 7 Aug 2018 19:55:13 +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 --===============1478627155== Content-Type: multipart/alternative; boundary="15336717130.D94C.21208" Content-Transfer-Encoding: 7bit --15336717130.D94C.21208 Date: Tue, 7 Aug 2018 19:55:13 +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=3D107518 --- Comment #1 from Shawn Anastasio --- Created attachment 141003 --> https://bugs.freedesktop.org/attachment.cgi?id=3D141003&action=3Dedit dmesg for 4.18.0-rc8+ --=20 You are receiving this mail because: You are the assignee for the bug.= --15336717130.D94C.21208 Date: Tue, 7 Aug 2018 19:55:13 +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


You are receiving this mail because:
  • You are the assignee for the bug.
= --15336717130.D94C.21208-- --===============1478627155== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1478627155==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107518] polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable Date: Tue, 07 Aug 2018 20:34:50 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1962021031==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 1A7D76E456 for ; Tue, 7 Aug 2018 20:34: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 --===============1962021031== Content-Type: multipart/alternative; boundary="15336740900.2d2f4.11874" Content-Transfer-Encoding: 7bit --15336740900.2d2f4.11874 Date: Tue, 7 Aug 2018 20:34:49 +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=3D107518 --- Comment #2 from Shawn Anastasio --- Upon further testing, the issue seems to go away when the firmware is remov= ed from petitboot, preventing it from initializing the card before the host OS. This indicates that it may have something to do with the GPU being initiali= zed twice. --=20 You are receiving this mail because: You are the assignee for the bug.= --15336740900.2d2f4.11874 Date: Tue, 7 Aug 2018 20:34: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

Commen= t # 2 on bug 10751= 8 from Shawn Anastasio
Upon further testing, the issue seems to go away when the firm=
ware is removed
from petitboot, preventing it from initializing the card before the host OS.
This indicates that it may have something to do with the GPU being initiali=
zed
twice.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15336740900.2d2f4.11874-- --===============1962021031== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1962021031==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107518] polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable Date: Tue, 07 Aug 2018 21:24:34 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0081842745==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 8F82B6E13C for ; Tue, 7 Aug 2018 21:24:34 +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 --===============0081842745== Content-Type: multipart/alternative; boundary="15336770741.dbdAD5.9968" Content-Transfer-Encoding: 7bit --15336770741.dbdAD5.9968 Date: Tue, 7 Aug 2018 21:24:34 +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=3D107518 --- Comment #3 from Alex Deucher --- (In reply to Shawn Anastasio from comment #2) > Upon further testing, the issue seems to go away when the firmware is > removed from petitboot, preventing it from initializing the card before t= he > host OS. This indicates that it may have something to do with the GPU bei= ng > initialized twice. The hw requires a special reset before it can be initialized again. This is handled in driver for things like hibernate (S4) support. --=20 You are receiving this mail because: You are the assignee for the bug.= --15336770741.dbdAD5.9968 Date: Tue, 7 Aug 2018 21:24:34 +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

Commen= t # 3 on bug 10751= 8 from Alex Deucher
(In reply to Shawn Anastasio from comment #2)
> Upon further testing, the issue seems to go away=
 when the firmware is
> removed from petitboot, preventing it from initializing the card befor=
e the
> host OS. This indicates that it may have something to do with the GPU =
being
> initialized twice.

The hw requires a special reset before it can be initialized again.  This is
handled in driver for things like hibernate (S4) support.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15336770741.dbdAD5.9968-- --===============0081842745== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0081842745==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107518] polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable Date: Wed, 08 Aug 2018 03:47:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1499334616==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 6D5816E03C for ; Wed, 8 Aug 2018 03:47:24 +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 --===============1499334616== Content-Type: multipart/alternative; boundary="15337000440.DcdfF1.25372" Content-Transfer-Encoding: 7bit --15337000440.DcdfF1.25372 Date: Wed, 8 Aug 2018 03:47:24 +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=3D107518 --- Comment #4 from Shawn Anastasio --- (In reply to Alex Deucher from comment #3) > (In reply to Shawn Anastasio from comment #2) > > Upon further testing, the issue seems to go away when the firmware is > > removed from petitboot, preventing it from initializing the card before= the > > host OS. This indicates that it may have something to do with the GPU b= eing > > initialized twice. >=20 > The hw requires a special reset before it can be initialized again. This= is > handled in driver for things like hibernate (S4) support. Does the driver do the reset on a kexec reboot? If so, it seems insufficien= t to mitigate this issue. --=20 You are receiving this mail because: You are the assignee for the bug.= --15337000440.DcdfF1.25372 Date: Wed, 8 Aug 2018 03:47:24 +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

Commen= t # 4 on bug 10751= 8 from Shawn Anastasio
(In reply to Alex Deucher from comment #3)
> (In reply to Shawn Anastasio from comment #2)
> > Upon further testing, the issue seems to go away when the firmwar=
e is
> > removed from petitboot, preventing it from initializing the card =
before the
> > host OS. This indicates that it may have something to do with the=
 GPU being
> > initialized twice.
>=20
> The hw requires a special reset before it can be initialized again.  T=
his is
> handled in driver for things like hibernate (S4) support.

Does the driver do the reset on a kexec reboot? If so, it seems insufficien=
t to
mitigate this issue.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15337000440.DcdfF1.25372-- --===============1499334616== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1499334616==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107518] polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable Date: Wed, 08 Aug 2018 15:04:12 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1481135855==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BFF796E597 for ; Wed, 8 Aug 2018 15:04:11 +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 --===============1481135855== Content-Type: multipart/alternative; boundary="15337406510.D6DF0.22759" Content-Transfer-Encoding: 7bit --15337406510.D6DF0.22759 Date: Wed, 8 Aug 2018 15:04:11 +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=3D107518 --- Comment #5 from Alex Deucher --- (In reply to Shawn Anastasio from comment #4) > Does the driver do the reset on a kexec reboot? If so, it seems insuffici= ent > to mitigate this issue. Probably not. I'm not that familiar with kexec unfortunately. --=20 You are receiving this mail because: You are the assignee for the bug.= --15337406510.D6DF0.22759 Date: Wed, 8 Aug 2018 15:04:11 +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

Commen= t # 5 on bug 10751= 8 from Alex Deucher
(In reply to Shawn Anastasio from comment #4)
> Does the driver do the reset on a kexec reboot? =
If so, it seems insufficient
> to mitigate this issue.

Probably not.  I'm not that familiar with kexec unfortunately.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15337406510.D6DF0.22759-- --===============1481135855== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1481135855==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107518] polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable Date: Fri, 10 Aug 2018 06:06:06 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1238382114==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 161056E07F for ; Fri, 10 Aug 2018 06:06:06 +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 --===============1238382114== Content-Type: multipart/alternative; boundary="15338811650.dCdBCFB1.15916" Content-Transfer-Encoding: 7bit --15338811650.dCdBCFB1.15916 Date: Fri, 10 Aug 2018 06:06:05 +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=3D107518 --- Comment #6 from Shawn Anastasio --- Could you point me towards the applicable routines that perform the reset on hibernate? They may provide some more insight into the situation. --=20 You are receiving this mail because: You are the assignee for the bug.= --15338811650.dCdBCFB1.15916 Date: Fri, 10 Aug 2018 06:06:05 +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

Commen= t # 6 on bug 10751= 8 from Shawn Anastasio
Could you point me towards the applicable routines that perfor=
m the reset on
hibernate? They may provide some more insight into the situation.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15338811650.dCdBCFB1.15916-- --===============1238382114== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1238382114==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107518] polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable Date: Fri, 10 Aug 2018 14:46:08 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0478425264==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id EE58A6E937 for ; Fri, 10 Aug 2018 14:46:08 +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 --===============0478425264== Content-Type: multipart/alternative; boundary="15339123681.7A9AE.25787" Content-Transfer-Encoding: 7bit --15339123681.7A9AE.25787 Date: Fri, 10 Aug 2018 14:46:08 +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=3D107518 --- Comment #7 from Alex Deucher --- amdgpu_pmops_freeze() calls amdgpu_device_suspend() which calls=20 amdgpu_asic_reset() at the end. amdgpu_asic_reset() is a macro which calls= an asic specific callback to reset the GPU. vi_asic_reset() in vi.c is the callback for polaris and other VI family parts. --=20 You are receiving this mail because: You are the assignee for the bug.= --15339123681.7A9AE.25787 Date: Fri, 10 Aug 2018 14:46:08 +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

Commen= t # 7 on bug 10751= 8 from Alex Deucher
amdgpu_pmops_freeze() calls amdgpu_device_suspend() which call=
s=20
amdgpu_asic_reset() at the end.  amdgpu_asic_reset() is a macro which calls=
 an
asic specific callback to reset the GPU.  vi_asic_reset() in vi.c is the
callback for polaris and other VI family parts.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15339123681.7A9AE.25787-- --===============0478425264== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0478425264==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107518] polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable Date: Sat, 25 Aug 2018 19:19:48 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0691629537==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 621866E0DA for ; Sat, 25 Aug 2018 19:19:48 +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 --===============0691629537== Content-Type: multipart/alternative; boundary="15352247881.af10b2F.10064" Content-Transfer-Encoding: 7bit --15352247881.af10b2F.10064 Date: Sat, 25 Aug 2018 19:19:48 +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=3D107518 --- Comment #8 from Timothy Pearson --- Would it make sense to call amdgpu_asic_reset() as part of module load to ensure that the GPU is in a known good state? --=20 You are receiving this mail because: You are the assignee for the bug.= --15352247881.af10b2F.10064 Date: Sat, 25 Aug 2018 19:19:48 +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

Commen= t # 8 on bug 10751= 8 from Timothy Pearson
Would it make sense to call amdgpu_asic_reset() as part of mod=
ule load to
ensure that the GPU is in a known good state?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15352247881.af10b2F.10064-- --===============0691629537== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0691629537==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107518] polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable Date: Sun, 26 Aug 2018 00:08:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1327936078==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 53AE06E039 for ; Sun, 26 Aug 2018 00:08:24 +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 --===============1327936078== Content-Type: multipart/alternative; boundary="15352421040.EF6F7.6741" Content-Transfer-Encoding: 7bit --15352421040.EF6F7.6741 Date: Sun, 26 Aug 2018 00:08:24 +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=3D107518 --- Comment #9 from Timothy Pearson --- (In reply to Timothy Pearson from comment #8) > Would it make sense to call amdgpu_asic_reset() as part of module load to > ensure that the GPU is in a known good state? This didn't fix the problem, but I did note that rmmod / modprobing the amd= gpu module from the host is a valid workaround. Something must happen on rmmod-based teardown aside from amdgpu_asic_reset(). --=20 You are receiving this mail because: You are the assignee for the bug.= --15352421040.EF6F7.6741 Date: Sun, 26 Aug 2018 00:08:24 +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

Commen= t # 9 on bug 10751= 8 from Timothy Pearson
(In reply to Timothy Pearson from comment #8)
> Would it make sense to call amdgpu_asic_reset() =
as part of module load to
> ensure that the GPU is in a known good state?

This didn't fix the problem, but I did note that rmmod / modprobing the amd=
gpu
module from the host is a valid workaround.  Something must happen on
rmmod-based teardown aside from amdgpu_asic_reset().


You are receiving this mail because:
  • You are the assignee for the bug.
= --15352421040.EF6F7.6741-- --===============1327936078== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1327936078==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107518] polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable Date: Mon, 27 Aug 2018 13:56:43 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2131015277==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 122B36E075 for ; Mon, 27 Aug 2018 13:56:43 +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 --===============2131015277== Content-Type: multipart/alternative; boundary="15353782030.6F4a0.6626" Content-Transfer-Encoding: 7bit --15353782030.6F4a0.6626 Date: Mon, 27 Aug 2018 13:56:43 +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=3D107518 --- Comment #10 from Alex Deucher --- Does this patch help? https://cgit.freedesktop.org/~agd5f/linux/commit/?h=3Damd-staging-drm-next&= id=3D8242308cc3c4419832126ab78ca409ce7110ab33 --=20 You are receiving this mail because: You are the assignee for the bug.= --15353782030.6F4a0.6626 Date: Mon, 27 Aug 2018 13:56:43 +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


You are receiving this mail because:
  • You are the assignee for the bug.
= --15353782030.6F4a0.6626-- --===============2131015277== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============2131015277==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107518] polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable Date: Wed, 29 Aug 2018 09:09:00 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0971312821==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4590D6E4E8 for ; Wed, 29 Aug 2018 09:09:00 +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 --===============0971312821== Content-Type: multipart/alternative; boundary="15355337400.06Be9Fa.3854" Content-Transfer-Encoding: 7bit --15355337400.06Be9Fa.3854 Date: Wed, 29 Aug 2018 09:09:00 +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=3D107518 --- Comment #11 from Luigi Laurini --- Same bug present in amd64 architecture under kvm guest with RX 480 passed through. The first time i boot the guest the performance are ok, but if i reboot the guest without rebooting the host, the messages appears. Tried the patch=20 https://cgit.freedesktop.org/~agd5f/linux/commit/?h=3Damd-staging-drm-next&= id=3D8242308cc3c4419832126ab78ca409ce7110ab33 The message are gone but the performance problem is still present. the problem affects the memory/gpu clocking: First boot of the guest: cat /sys/kernel/debug/dri/0/amdgpu_pm_info=20 Clock Gating Flags Mask: 0x37bcf Graphics Medium Grain Clock Gating: On Graphics Medium Grain memory Light Sleep: On Graphics Coarse Grain Clock Gating: On Graphics Coarse Grain memory Light Sleep: On Graphics Coarse Grain Tree Shader Clock Gating: Off Graphics Coarse Grain Tree Shader Light Sleep: Off Graphics Command Processor Light Sleep: On Graphics Run List Controller Light Sleep: On Graphics 3D Coarse Grain Clock Gating: Off Graphics 3D Coarse Grain memory Light Sleep: Off Memory Controller Light Sleep: On Memory Controller Medium Grain Clock Gating: On System Direct Memory Access Light Sleep: Off System Direct Memory Access Medium Grain Clock Gating: On Bus Interface Medium Grain Clock Gating: Off Bus Interface Light Sleep: On Unified Video Decoder Medium Grain Clock Gating: On Video Compression Engine Medium Grain Clock Gating: On Host Data Path Light Sleep: Off Host Data Path Medium Grain Clock Gating: On Digital Right Management Medium Grain Clock Gating: Off Digital Right Management Light Sleep: Off Rom Medium Grain Clock Gating: On Data Fabric Medium Grain Clock Gating: Off GFX Clocks and Power: 1750 MHz (MCLK) 330 MHz (SCLK) 300 MHz (PSTATE_SCLK) 300 MHz (PSTATE_MCLK) 1000 mV (VDDGFX) 19.127 W (average GPU) GPU Temperature: 56 C GPU Load: 0 % UVD: Disabled VCE: Disabled if i reboot the guest: cat /sys/kernel/debug/dri/0/amdgpu_pm_info Clock Gating Flags Mask: 0x37bcf Graphics Medium Grain Clock Gating: On Graphics Medium Grain memory Light Sleep: On Graphics Coarse Grain Clock Gating: On Graphics Coarse Grain memory Light Sleep: On Graphics Coarse Grain Tree Shader Clock Gating: Off Graphics Coarse Grain Tree Shader Light Sleep: Off Graphics Command Processor Light Sleep: On Graphics Run List Controller Light Sleep: On Graphics 3D Coarse Grain Clock Gating: Off Graphics 3D Coarse Grain memory Light Sleep: Off Memory Controller Light Sleep: On Memory Controller Medium Grain Clock Gating: On System Direct Memory Access Light Sleep: Off System Direct Memory Access Medium Grain Clock Gating: On Bus Interface Medium Grain Clock Gating: Off Bus Interface Light Sleep: On Unified Video Decoder Medium Grain Clock Gating: On Video Compression Engine Medium Grain Clock Gating: On Host Data Path Light Sleep: Off Host Data Path Medium Grain Clock Gating: On Digital Right Management Medium Grain Clock Gating: Off Digital Right Management Light Sleep: Off Rom Medium Grain Clock Gating: On Data Fabric Medium Grain Clock Gating: Off GFX Clocks and Power: 300 MHz (MCLK) 300 MHz (SCLK) 300 MHz (PSTATE_SCLK) 300 MHz (PSTATE_MCLK) 800 mV (VDDGFX) 7.162 W (average GPU) GPU Temperature: 42 C GPU Load: 0 % UVD: Disabled VCE: Disabled --=20 You are receiving this mail because: You are the assignee for the bug.= --15355337400.06Be9Fa.3854 Date: Wed, 29 Aug 2018 09:09:00 +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 # 11 on bug 10751= 8 from Luigi Laurini
Same bug present in amd64 architecture under kvm guest with RX=
 480 passed
through.
The first time i boot the guest the performance are ok, but if i reboot the
guest without rebooting the host, the messages appears.


Tried the patch=20

https://cgit.=
freedesktop.org/~agd5f/linux/commit/?h=3Damd-staging-drm-next&id=3D8242=
308cc3c4419832126ab78ca409ce7110ab33

The message are gone but the performance problem is still present.

the problem affects the memory/gpu clocking:

First boot of the guest:

cat /sys/kernel/debug/dri/0/amdgpu_pm_info=20
Clock Gating Flags Mask: 0x37bcf
        Graphics Medium Grain Clock Gating: On
        Graphics Medium Grain memory Light Sleep: On
        Graphics Coarse Grain Clock Gating: On
        Graphics Coarse Grain memory Light Sleep: On
        Graphics Coarse Grain Tree Shader Clock Gating: Off
        Graphics Coarse Grain Tree Shader Light Sleep: Off
        Graphics Command Processor Light Sleep: On
        Graphics Run List Controller Light Sleep: On
        Graphics 3D Coarse Grain Clock Gating: Off
        Graphics 3D Coarse Grain memory Light Sleep: Off
        Memory Controller Light Sleep: On
        Memory Controller Medium Grain Clock Gating: On
        System Direct Memory Access Light Sleep: Off
        System Direct Memory Access Medium Grain Clock Gating: On
        Bus Interface Medium Grain Clock Gating: Off
        Bus Interface Light Sleep: On
        Unified Video Decoder Medium Grain Clock Gating: On
        Video Compression Engine Medium Grain Clock Gating: On
        Host Data Path Light Sleep: Off
        Host Data Path Medium Grain Clock Gating: On
        Digital Right Management Medium Grain Clock Gating: Off
        Digital Right Management Light Sleep: Off
        Rom Medium Grain Clock Gating: On
        Data Fabric Medium Grain Clock Gating: Off

GFX Clocks and Power:
        1750 MHz (MCLK)
        330 MHz (SCLK)
        300 MHz (PSTATE_SCLK)
        300 MHz (PSTATE_MCLK)
        1000 mV (VDDGFX)
        19.127 W (average GPU)

GPU Temperature: 56 C
GPU Load: 0 %

UVD: Disabled

VCE: Disabled

if i reboot the guest:

cat /sys/kernel/debug/dri/0/amdgpu_pm_info
Clock Gating Flags Mask: 0x37bcf
        Graphics Medium Grain Clock Gating: On
        Graphics Medium Grain memory Light Sleep: On
        Graphics Coarse Grain Clock Gating: On
        Graphics Coarse Grain memory Light Sleep: On
        Graphics Coarse Grain Tree Shader Clock Gating: Off
        Graphics Coarse Grain Tree Shader Light Sleep: Off
        Graphics Command Processor Light Sleep: On
        Graphics Run List Controller Light Sleep: On
        Graphics 3D Coarse Grain Clock Gating: Off
        Graphics 3D Coarse Grain memory Light Sleep: Off
        Memory Controller Light Sleep: On
        Memory Controller Medium Grain Clock Gating: On
        System Direct Memory Access Light Sleep: Off
        System Direct Memory Access Medium Grain Clock Gating: On
        Bus Interface Medium Grain Clock Gating: Off
        Bus Interface Light Sleep: On
        Unified Video Decoder Medium Grain Clock Gating: On
        Video Compression Engine Medium Grain Clock Gating: On
        Host Data Path Light Sleep: Off
        Host Data Path Medium Grain Clock Gating: On
        Digital Right Management Medium Grain Clock Gating: Off
        Digital Right Management Light Sleep: Off
        Rom Medium Grain Clock Gating: On
        Data Fabric Medium Grain Clock Gating: Off

GFX Clocks and Power:
        300 MHz (MCLK)
        300 MHz (SCLK)
        300 MHz (PSTATE_SCLK)
        300 MHz (PSTATE_MCLK)
        800 mV (VDDGFX)
        7.162 W (average GPU)

GPU Temperature: 42 C
GPU Load: 0 %

UVD: Disabled

VCE: Disabled


You are receiving this mail because:
  • You are the assignee for the bug.
= --15355337400.06Be9Fa.3854-- --===============0971312821== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0971312821==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107518] polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable Date: Wed, 29 Aug 2018 13:33:55 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1787991076==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 38E616E555 for ; Wed, 29 Aug 2018 13:33: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 --===============1787991076== Content-Type: multipart/alternative; boundary="15355496350.e193987.19957" Content-Transfer-Encoding: 7bit --15355496350.e193987.19957 Date: Wed, 29 Aug 2018 13:33: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=3D107518 --- Comment #12 from Luigi Laurini --- I've to rectify my last affirmation about the patch.=20 I've patched the 4.18.5 kernel, compiled and rebooted the guest without rebooting the host. The guest vm was already in a bad state (300 MHz (MCLK)). Using a pathed ke= rnel in a guest vm in such state did not solve the situation. After this, i tried resetting the host. The first start of the host has led to normal behavior. Resetting the guest without resetting the host seems to maintain the correct behavior (1750 MHz (MCLK)). The patch seems to work only if the card is in a "good" state. if, for some reasons, the card tunrns in a bad state, the patch cannot solve the problem. I also notice that the message "powerplay ini fails" is gone, but now i get: [ 36.352542] amdgpu: [powerplay]=20 last message was failed ret is 0 [ 36.353460] amdgpu: [powerplay]=20 last message was failed ret is 0 [ 36.353468] amdgpu: [powerplay]=20 failed to send message 260 ret is 255=20 [ 36.353471] amdgpu: [powerplay]=20 failed to send message 145 ret is 255=20 [ 36.353475] amdgpu: [powerplay]=20 last message was failed ret is 255 --=20 You are receiving this mail because: You are the assignee for the bug.= --15355496350.e193987.19957 Date: Wed, 29 Aug 2018 13:33: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 # 12 on bug 10751= 8 from Luigi Laurini
I've to rectify my last affirmation about the patch.=20

I've patched the 4.18.5 kernel, compiled and rebooted the guest without
rebooting the host.
The guest vm was already in a bad state (300 MHz (MCLK)). Using a pathed ke=
rnel
in a guest vm in such state did not solve the situation.

After this, i tried resetting the host.
The first start of the host has led to normal behavior. Resetting the guest
without resetting the host seems to maintain the correct behavior (1750 MHz
(MCLK)).

The patch seems to work only if the card is in a "good" state. if=
, for some
reasons, the card tunrns in a bad state, the patch cannot solve the problem.


I also notice that the message "powerplay ini fails" is gone, but=
 now i get:

[   36.352542] amdgpu: [powerplay]=20
                last message was failed ret is 0
[   36.353460] amdgpu: [powerplay]=20
                last message was failed ret is 0
[   36.353468] amdgpu: [powerplay]=20
                failed to send message 260 ret is 255=20
[   36.353471] amdgpu: [powerplay]=20
                failed to send message 145 ret is 255=20
[   36.353475] amdgpu: [powerplay]=20
                last message was failed ret is 255


You are receiving this mail because:
  • You are the assignee for the bug.
= --15355496350.e193987.19957-- --===============1787991076== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1787991076==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107518] polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable Date: Sat, 27 Oct 2018 05:29:00 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1126762275==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3BEC96E597 for ; Sat, 27 Oct 2018 05:29:00 +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 --===============1126762275== Content-Type: multipart/alternative; boundary="15406181390.c270.12589" Content-Transfer-Encoding: 7bit --15406181390.c270.12589 Date: Sat, 27 Oct 2018 05:28:59 +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=3D107518 --- Comment #13 from Timothy Pearson --- The patch originally at https://cgit.freedesktop.org/~agd5f/linux/commit/?h=3Damd-staging-drm-next&= id=3D8242308cc3c4419832126ab78ca409ce7110ab33 is no longer available: > Bad commit reference: 8242308cc3c4419832126ab78ca409ce7110ab33 Is an equivalent now in mainline? I'd like to try it out on one of our POW= ER9 boxes. Thanks! --=20 You are receiving this mail because: You are the assignee for the bug.= --15406181390.c270.12589 Date: Sat, 27 Oct 2018 05:28:59 +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 # 13 on bug 10751= 8 from Timothy Pearson
The patch originally at
https://cgit.=
freedesktop.org/~agd5f/linux/commit/?h=3Damd-staging-drm-next&id=3D8242=
308cc3c4419832126ab78ca409ce7110ab33
is no longer available:

> Bad commit reference: 8242308cc3c4419832126ab78c=
a409ce7110ab33

Is an equivalent now in mainline?  I'd like to try it out on one of our POW=
ER9
boxes.

Thanks!


You are receiving this mail because:
  • You are the assignee for the bug.
= --15406181390.c270.12589-- --===============1126762275== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1126762275==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107518] polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable Date: Mon, 29 Oct 2018 19:04:41 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1239916318==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 19AE16E0B8 for ; Mon, 29 Oct 2018 19:04:41 +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 --===============1239916318== Content-Type: multipart/alternative; boundary="15408398810.9FeabaC.32425" Content-Transfer-Encoding: 7bit --15408398810.9FeabaC.32425 Date: Mon, 29 Oct 2018 19:04:41 +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=3D107518 --- Comment #14 from Alex Deucher --- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?= id=3D11a88c2e92feca1ed3fba19fa375f76d3c75f5d5 --=20 You are receiving this mail because: You are the assignee for the bug.= --15408398810.9FeabaC.32425 Date: Mon, 29 Oct 2018 19:04:41 +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


You are receiving this mail because:
  • You are the assignee for the bug.
= --15408398810.9FeabaC.32425-- --===============1239916318== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1239916318==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107518] polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable Date: Tue, 19 Nov 2019 08:46:40 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0877265099==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 698176EDD4 for ; Tue, 19 Nov 2019 08:46:40 +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 --===============0877265099== Content-Type: multipart/alternative; boundary="15741532003.7d98.24848" Content-Transfer-Encoding: 7bit --15741532003.7d98.24848 Date: Tue, 19 Nov 2019 08:46:40 +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=3D107518 Martin Peres changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED --- Comment #15 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/474. --=20 You are receiving this mail because: You are the assignee for the bug.= --15741532003.7d98.24848 Date: Tue, 19 Nov 2019 08:46:40 +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 10751= 8
What Removed Added
Resolution --- MOVED
Status NEW RESOLVED

Comme= nt # 15 on bug 10751= 8 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/474.


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