• Chen Yu's avatar
    PM: sleep: Add pm_debug_messages kernel command line option · db96a759
    Chen Yu authored
    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: default avatarChen Yu <yu.c.chen@intel.com>
    [ rjw: Subject & changelog ]
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    db96a759
main.c 22.5 KB