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: Thu, 26 Sep 2019 18:11:45 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1739869503==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1E8F66EDBA for ; Thu, 26 Sep 2019 18:11:45 +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 --===============1739869503== Content-Type: multipart/alternative; boundary="15695215051.B9971EB.10573" Content-Transfer-Encoding: 7bit --15695215051.B9971EB.10573 Date: Thu, 26 Sep 2019 18:11:45 +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 #19 from Andrey Grodzovsky --- (In reply to Kai-Heng Feng from comment #9) > (In reply to Andrey Grodzovsky from comment #8) > > (In reply to Kai-Heng Feng from comment #6) > > > Created attachment 145044 [details] > > > failed log when iommu is disabled. > >=20 > > What was the failur ewith IOMMU disabled ? > Blanked screen. Graphics no longer works. >=20 > >Is it the same as with IOMMU enabled ? > Yes. >=20 > > In the log I only see PSP errors on resume. Can you confirm that the on= ly > > failure/error you observed in the log in that use case ? > Yes. I haven't seen=20 > "[drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* > [CRTC:57:crtc-0] flip_done timed out" > for a while. >=20 > Now it always shows PSP fail. >=20 > >=20 > > Can you please provide your FW versions by=20 > > cat /sys/kernel/debug/dri/0/amdgpu_firmware_info > VCE feature version: 0, firmware version: 0x00000000 > UVD feature version: 0, firmware version: 0x00000000 > MC feature version: 0, firmware version: 0x00000000 > ME feature version: 40, firmware version: 0x00000099 > PFP feature version: 40, firmware version: 0x000000ae > CE feature version: 40, firmware version: 0x0000004d > RLC feature version: 1, firmware version: 0x00000213 > RLC SRLC feature version: 1, firmware version: 0x00000001 > RLC SRLG feature version: 1, firmware version: 0x00000001 > RLC SRLS feature version: 1, firmware version: 0x00000001 > MEC feature version: 40, firmware version: 0x0000018b > MEC2 feature version: 40, firmware version: 0x0000018b > SOS feature version: 0, firmware version: 0x00000000 > ASD feature version: 0, firmware version: 0x001ad4d4 > TA XGMI feature version: 0, firmware version: 0x00000000 > TA RAS feature version: 0, firmware version: 0x00000000 > SMC feature version: 0, firmware version: 0x00001e4f > SDMA0 feature version: 41, firmware version: 0x000000a9 > VCN feature version: 0, firmware version: 0x0110901c > DMCU feature version: 0, firmware version: 0x00000000 > VBIOS version: SWBRT32481.001 Can you please confirm the issue happens regardless of graphic enabled, load system in console mode and verify you still observe the problem.(In reply to Kai-Heng Feng from comment #12) > > Now it always shows PSP fail. > I've dug up more info about this issue. It always times out in > psp_cmd_submit_buf(). Particularly, this code section: >=20 > while (*((unsigned int *)psp->fence_buf) !=3D index) { > if (--timeout =3D=3D 0) > break; > msleep(1); > } >=20 > psp->fence_buf stuck at 406 and index stuck at 407 and it eventually times > out. > This _always_ happens at 27th time of S3, and freeze the whole system at > 28th S3 attempt. Does it happen also when no acceleration in system - i mean if you do S3 cy= cles from console mode ? --=20 You are receiving this mail because: You are the assignee for the bug.= --15695215051.B9971EB.10573 Date: Thu, 26 Sep 2019 18:11:45 +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 # 19 on bug 11088= 6 from Andrey Grodzovsky
(In reply to Kai-Heng Feng from comment #9)
> (In reply to Andrey Grodzovsky from comment #8)
> > (In reply to Kai-Heng Feng from comment #6)
> > > Created att=
achment 145044 [details]
> > > failed log when iommu is disabled.
> >=20
> > What was the failur ewith IOMMU disabled ?
> Blanked screen. Graphics no longer works.
>=20
> >Is it the same as with IOMMU enabled ?
> Yes.
>=20
> > In the log I only see PSP errors on resume. Can you confirm that =
the only
> > failure/error you observed in the log in that use case ?
> Yes. I haven't seen=20
> "[drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERR=
OR*
> [CRTC:57:crtc-0] flip_done timed out"
> for a while.
>=20
> Now it always shows PSP fail.
>=20
> >=20
> > Can you please provide your FW versions by=20
> > cat /sys/kernel/debug/dri/0/amdgpu_firmware_info
> VCE feature version: 0, firmware version: 0x00000000
> UVD feature version: 0, firmware version: 0x00000000
> MC feature version: 0, firmware version: 0x00000000
> ME feature version: 40, firmware version: 0x00000099
> PFP feature version: 40, firmware version: 0x000000ae
> CE feature version: 40, firmware version: 0x0000004d
> RLC feature version: 1, firmware version: 0x00000213
> RLC SRLC feature version: 1, firmware version: 0x00000001
> RLC SRLG feature version: 1, firmware version: 0x00000001
> RLC SRLS feature version: 1, firmware version: 0x00000001
> MEC feature version: 40, firmware version: 0x0000018b
> MEC2 feature version: 40, firmware version: 0x0000018b
> SOS feature version: 0, firmware version: 0x00000000
> ASD feature version: 0, firmware version: 0x001ad4d4
> TA XGMI feature version: 0, firmware version: 0x00000000
> TA RAS feature version: 0, firmware version: 0x00000000
> SMC feature version: 0, firmware version: 0x00001e4f
> SDMA0 feature version: 41, firmware version: 0x000000a9
> VCN feature version: 0, firmware version: 0x0110901c
> DMCU feature version: 0, firmware version: 0x00000000
> VBIOS version: SWBRT32481.001

Can you please confirm the issue happens regardless of graphic enabled, load
system in console mode and verify you still observe the problem.(In reply to
Kai-Heng Feng from comment #12)
> > Now it always shows PSP fail.
> I've dug up more info about this issue. It always times out in
> psp_cmd_submit_buf(). Particularly, this code section:
>=20
> 	while (*((unsigned int *)psp->fence_buf) !=3D index) {
> 		if (--timeout =3D=3D 0)
> 			break;
> 		msleep(1);
> 	}
>=20
> psp->fence_buf stuck at 406 and index stuck at 407 and it eventuall=
y times
> out.
> This _always_ happens at 27th time of S3, and freeze the whole system =
at
> 28th S3 attempt.

Does it happen also when no acceleration in system - i mean if you do S3 cy=
cles
from console mode ?


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