[PATCH v3 2/5] PM: sleep: Suspend async parents after suspending children

Rafael J. Wysocki rafael at kernel.org
Tue Jun 3 11:39:01 UTC 2025


On Tue, Jun 3, 2025 at 1:37 PM Rafael J. Wysocki <rafael at kernel.org> wrote:
>
> On Tue, Jun 3, 2025 at 12:30 PM Rafael J. Wysocki <rafael at kernel.org> wrote:
> >
> > On Tue, Jun 3, 2025 at 12:29 PM Rafael J. Wysocki <rafael at kernel.org> wrote:
> > >
> > > On Tue, Jun 3, 2025 at 12:17 PM Chris Bainbridge
> > > <chris.bainbridge at gmail.com> wrote:
> > > >
> > > > On Tue, Jun 03, 2025 at 11:38:37AM +0200, Rafael J. Wysocki wrote:
> > > > >
> > > > > Chris, please check if the attached patch helps.  I'm going to post it
> > > > > as a fix anyway later today, but it would be good to verify that it is
> > > > > sufficient.
> > > >
> > > > This did not fix my test case, pstore crash log was:
> > >
> > > OK, so can you please enable PM debug messages:
> > >
> > > # echo 1 > /sys/power/pm_debug/messages
> >
> > This should be
> >
> > # echo 1 > /sys/power/pm_debug_messages
> >
> > sorry.
> >
> > > and enabled dynamic debug in drivers/base/power/main.c:
> > >
> > > # echo "file drivers/base/power/main.c +p" > /proc/dynamic_debug/control
> > >
> > > repeat the test and capture the log?
>
> Actually, no need to do this, there is an obvious bug:
> list_splice_init() should be used instead of list_splice() when the
> emptied list is going to be used again.  Ugh.
>
> Please check if the attached patch along with the previous one makes
> the issue go away entirely.

Really attached this time, sorry.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pm-sleep-fix-error-paths.patch
Type: text/x-patch
Size: 897 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20250603/31a397e8/attachment.bin>


More information about the amd-gfx mailing list