<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - 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."
href="https://bugs.freedesktop.org/show_bug.cgi?id=110886#c19">Comment # 19</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - 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."
href="https://bugs.freedesktop.org/show_bug.cgi?id=110886">bug 110886</a>
from <span class="vcard"><a class="email" href="mailto:andrey.grodzovsky@amd.com" title="Andrey Grodzovsky <andrey.grodzovsky@amd.com>"> <span class="fn">Andrey Grodzovsky</span></a>
</span></b>
<pre>(In reply to Kai-Heng Feng from <a href="show_bug.cgi?id=110886#c9">comment #9</a>)
<span class="quote">> (In reply to Andrey Grodzovsky from <a href="show_bug.cgi?id=110886#c8">comment #8</a>)
> > (In reply to Kai-Heng Feng from <a href="show_bug.cgi?id=110886#c6">comment #6</a>)
> > > Created <span class=""><a href="attachment.cgi?id=145044" name="attach_145044" title="failed log when iommu is disabled.">attachment 145044</a> <a href="attachment.cgi?id=145044&action=edit" title="failed log when iommu is disabled.">[details]</a></span>
> > > failed log when iommu is disabled.
> >
> > What was the failur ewith IOMMU disabled ?
> Blanked screen. Graphics no longer works.
>
> >Is it the same as with IOMMU enabled ?
> Yes.
>
> > 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
> "[drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR*
> [CRTC:57:crtc-0] flip_done timed out"
> for a while.
>
> Now it always shows PSP fail.
>
> >
> > Can you please provide your FW versions by
> > 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</span >
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 <a href="show_bug.cgi?id=110886#c12">comment #12</a>)
<span class="quote">> > 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:
>
> while (*((unsigned int *)psp->fence_buf) != index) {
> if (--timeout == 0)
> break;
> msleep(1);
> }
>
> 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.</span >
Does it happen also when no acceleration in system - i mean if you do S3 cycles
from console mode ?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>