From: bugzilla-daemon@freedesktop.org Subject: [Bug 110886] After S3 resume, kernel: [drm] psp command failed and response status is (-65529) at 27th time of S3. 28th time of S3 freeze the system. Date: Sat, 28 Sep 2019 18:04:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1278773797==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id EEE4B6E169 for ; Sat, 28 Sep 2019 18:04:23 +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 --===============1278773797== Content-Type: multipart/alternative; boundary="15696938632.072179.20854" Content-Transfer-Encoding: 7bit --15696938632.072179.20854 Date: Sat, 28 Sep 2019 18:04:23 +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=3D110886 --- Comment #22 from Kai-Heng Feng --- (In reply to Andrey Grodzovsky from comment #21) > In fact please rebase latest drm-next from here - > https://cgit.freedesktop.org/~agd5f/linux/log/?h=3Damd-staging-drm-next, = there > are 2 changes by Alex in communication with PSP with might help=20 >=20 > drm/amdgpu/psp: invalidate the hdp read cache before reading the psp > response=20=20=20 > drm/amdgpu/psp: flush HDP write fifo after submitting cmds to the psp=20= =20 >=20 > See if the PSP errors go away with that. The slightly different error message still popped out after 27th S3, and 28= th S3 attempt froze the system: Sep 28 05:38:44 u-HP-ProBook-645-G4 kernel: [drm:psp_hw_start.cold [amdgpu]] *ERROR* PSP load asd failed! Sep 28 05:38:44 u-HP-ProBook-645-G4 kernel: [drm:psp_resume [amdgpu]] *ERRO= R* PSP resume failed Sep 28 05:38:44 u-HP-ProBook-645-G4 kernel: [drm:amdgpu_device_fw_loading [amdgpu]] *ERROR* resume of IP block failed -22 Sep 28 05:38:44 u-HP-ProBook-645-G4 kernel: [drm:amdgpu_device_resume [amdg= pu]] *ERROR* amdgpu_device_ip_resume failed (-22). Sep 28 05:38:44 u-HP-ProBook-645-G4 kernel: PM: dpm_run_callback(): pci_pm_resume+0x0/0xa0 returns -22 Sep 28 05:38:44 u-HP-ProBook-645-G4 kernel: PM: Device 0000:04:00.0 failed = to resume async: error -22 $ journalctl -b -1 -k | grep "suspend entry (deep)" | wc -l 28 --=20 You are receiving this mail because: You are the assignee for the bug.= --15696938632.072179.20854 Date: Sat, 28 Sep 2019 18:04:23 +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 # 22 on bug 11088= 6 from Kai-Heng Feng
(In reply to Andrey Grodzovsky from comment #21)
> In fact please rebase latest drm-next from here -
> https://cgit.freedesktop.org/~agd5f/linux/log/?h=3Damd-stagin=
g-drm-next, there
> are 2 changes by Alex in communication with PSP with might help=20
>=20
> drm/amdgpu/psp: invalidate the hdp read cache before reading the psp
> response=20=20=20
> drm/amdgpu/psp: flush HDP write fifo after submitting cmds to the psp=
=20=20
>=20
> See if the PSP errors go away with that.

The slightly different error message still popped out after 27th S3, and 28=
th
S3 attempt froze the system:
Sep 28 05:38:44 u-HP-ProBook-645-G4 kernel: [drm:psp_hw_start.cold [amdgpu]]
*ERROR* PSP load asd failed!
Sep 28 05:38:44 u-HP-ProBook-645-G4 kernel: [drm:psp_resume [amdgpu]] *ERRO=
R*
PSP resume failed
Sep 28 05:38:44 u-HP-ProBook-645-G4 kernel: [drm:amdgpu_device_fw_loading
[amdgpu]] *ERROR* resume of IP block <psp> failed -22
Sep 28 05:38:44 u-HP-ProBook-645-G4 kernel: [drm:amdgpu_device_resume [amdg=
pu]]
*ERROR* amdgpu_device_ip_resume failed (-22).
Sep 28 05:38:44 u-HP-ProBook-645-G4 kernel: PM: dpm_run_callback():
pci_pm_resume+0x0/0xa0 returns -22
Sep 28 05:38:44 u-HP-ProBook-645-G4 kernel: PM: Device 0000:04:00.0 failed =
to
resume async: error -22

$ journalctl -b -1 -k | grep "suspend entry (deep)" | wc -l
28


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