From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 Date: Thu, 12 Jul 2018 08:00:26 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1064084980==" 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 03C606EE80 for ; Thu, 12 Jul 2018 08:00:26 +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 --===============1064084980== Content-Type: multipart/alternative; boundary="15313824252.4bDb7.31061" Content-Transfer-Encoding: 7bit --15313824252.4bDb7.31061 Date: Thu, 12 Jul 2018 08:00:25 +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=3D105760 --- Comment #34 from Thomas Martitz --- Created attachment 140585 --> https://bugs.freedesktop.org/attachment.cgi?id=3D140585&action=3Dedit dmesg with 0001-drm-amdgpu-pp-smu7-cache-smu-firmware-toc.patch This patch makes resume work, attached is the dmesg output of boot + 3 suspend-resume cycles. Please note the powerplay error messages, followed ultimately by a GPU reset. Looking at the patch it seems similar to my workarond, in that the toc is copied in one memcpy_toio (my patch uses plain memcpy, is there a difference here, for memory mapped buffers?) instead of changing the toc in-place. And= I too see lots of powerplay errors if i apply my workaround. Huge thanks for taking time to look into this! --=20 You are receiving this mail because: You are the assignee for the bug.= --15313824252.4bDb7.31061 Date: Thu, 12 Jul 2018 08:00:25 +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 # 34 on bug 10576= 0 from Thomas Martitz
Created attachment 140585 [details]
dmesg with 0001-drm-amdgpu-pp-smu7-cache-smu-firmware-toc.patch

This patch makes resume work, attached is the dmesg output of boot + 3
suspend-resume cycles. Please note the powerplay error messages, followed
ultimately by a GPU reset.

Looking at the patch it seems similar to my workarond, in that the toc is
copied in one memcpy_toio (my patch uses plain memcpy, is there a difference
here, for memory mapped buffers?) instead of changing the toc in-place. And=
 I
too see lots of powerplay errors if i apply my workaround.

Huge thanks for taking time to look into this!


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