]> git.baikalelectronics.ru Git - kernel.git/commit
PM: sleep: Add pm_debug_messages kernel command line option
authorChen Yu <yu.c.chen@intel.com>
Thu, 2 Apr 2020 07:56:52 +0000 (15:56 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 2 Apr 2020 13:29:56 +0000 (15:29 +0200)
commit3cbbdb3769a6d59e0396a5fe2dabffcaec82f3f9
tree78ed92834bbd1aea7e3d272af8d3cb44c50bf237
parent9f8d0b84b7c2e4fa4eb60ec6aab3195eef294848
PM: sleep: Add pm_debug_messages kernel command line option

Debug messages from the system suspend/hibernation infrastructure
are 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, for example.

Add a kernel command line option to set pm_debug_messages during
boot up.

Signed-off-by: Chen Yu <yu.c.chen@intel.com>
[ rjw: Subject & changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/admin-guide/kernel-parameters.txt
kernel/power/main.c