Re: [PATCH] PM / sleep: Add pm_debug_messages boot command control

From: Chen Yu
Date: Sat Mar 28 2020 - 06:41:09 EST


Hi Randy,
On Fri, Mar 27, 2020 at 08:39:44AM -0700, Randy Dunlap wrote:
> On 3/27/20 4:11 AM, Chen Yu wrote:
> > Debug messages from the system suspend/hibernation infrastructure
> > is disabled by default, and can only be enabled after the system
> > has boot up via /sys/power/pm_debug_messages. This makes the hibernation
> > resume hard to track as it involves system boot up across hibernation.
> > There's no chance for software_resume() to track the resume process,
> > eg.
> >
> > Turning on the pm_debug_messages during boot up by appending
> > 'pm_debug_message'.
>
> Please add that command line option to
> Documentation/admin-guide/kernel-parameters.txt.
> Thanks.
>
Thanks for pointing it out, I'll add it in the v2 patch.
Thanks,
Chenyu
> ~Randy
> Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>