From: bugzilla-daemon@freedesktop.org Subject: [Bug 102553] Venus PRO R9 M265X amdgpu: Kernel OOPS si_dpm_set_power_state unable to handle kernel NULL pointer dereference Date: Sun, 01 Apr 2018 17:24:18 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0230185642==" 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 E23A06E03E for ; Sun, 1 Apr 2018 17:24:17 +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 --===============0230185642== Content-Type: multipart/alternative; boundary="15226034570.06Ac.25697" Content-Transfer-Encoding: 7bit --15226034570.06Ac.25697 Date: Sun, 1 Apr 2018 17:24:17 +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=3D102553 --- Comment #16 from mercuriete --- (In reply to Alex Deucher from comment #13) > Created attachment 138450 [details] [review] > possible fix >=20 > Thanks for looking into this. Good start! The attached patch should fix= it. Hi Alex, I tested your patch from comment 13 It indeed fix the null dereference but.... you ported a bug from radeonsi.... partial output from dmesg [ 40.620248] [drm:si_dpm_set_power_state] *ERROR* invalid pcie lane reque= st: 7 [ 45.921237] [drm:si_dpm_set_power_state] *ERROR* invalid pcie lane reque= st: 15 Apart from that this patch is: Tested-by: Abel Garcia Dorta --=20 You are receiving this mail because: You are the assignee for the bug.= --15226034570.06Ac.25697 Date: Sun, 1 Apr 2018 17:24:17 +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 # 16 on bug 10255= 3 from mercuriete
(In reply to Alex Deucher from comment #13)
> Created attachment 13=
8450 [details] [review] [review]
> possible fix
>=20
> Thanks for looking into this.  Good start!  The attached patch should =
fix it.

Hi Alex,
I tested your patch from comment 1=
3

It indeed fix the null dereference but....
you ported a bug from radeonsi....

partial output from dmesg

[   40.620248] [drm:si_dpm_set_power_state] *ERROR* invalid pcie lane reque=
st:
7
[   45.921237] [drm:si_dpm_set_power_state] *ERROR* invalid pcie lane reque=
st:
15


Apart from that this patch is:

Tested-by: Abel Garcia Dorta <mercuriete@yahoo.es>


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