linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chen Yu <yu.c.chen@intel.com>
To: Randy Dunlap <rdunlap@infradead.org>
Cc: linux-pm@vger.kernel.org, Pavel Machek <pavel@ucw.cz>,
	linux-kernel@vger.kernel.org,
	"Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Len Brown <lenb@kernel.org>,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Subject: Re: [PATCH] PM / sleep: Add pm_debug_messages boot command control
Date: Sat, 28 Mar 2020 18:39:50 +0800	[thread overview]
Message-ID: <20200328103949.GA16999@chenyu-office.sh.intel.com> (raw)
In-Reply-To: <a9843786-e7da-2c3c-30e2-c4887e9af4c6@infradead.org>

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@infradead.org>

      reply	other threads:[~2020-03-28 10:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-27 11:11 [PATCH] PM / sleep: Add pm_debug_messages boot command control Chen Yu
2020-03-27 15:39 ` Randy Dunlap
2020-03-28 10:39   ` Chen Yu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200328103949.GA16999@chenyu-office.sh.intel.com \
    --to=yu.c.chen@intel.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=lenb@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=rdunlap@infradead.org \
    --cc=rjw@rjwysocki.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).