linux-yocto/kernel/power
Rafael J. Wysocki fca08cfadd PM: sleep: Print PM debug messages during hibernation
[ Upstream commit 1b17d4525b ]

Commit cdb8c100d8 ("include/linux/suspend.h: Only show pm_pr_dbg
messages at suspend/resume") caused PM debug messages to only be
printed during system-wide suspend and resume in progress, but it
forgot about hibernation.

Address this by adding a check for hibernation in progress to
pm_debug_messages_should_print().

Fixes: cdb8c100d8 ("include/linux/suspend.h: Only show pm_pr_dbg messages at suspend/resume")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://patch.msgid.link/4998903.GXAFRqVoOG@rjwysocki.net
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-19 15:28:05 +02:00
..
autosleep.c
console.c
energy_model.c
hibernate.c PM: sleep: Print PM debug messages during hibernation 2025-06-19 15:28:05 +02:00
Kconfig
main.c PM: sleep: Print PM debug messages during hibernation 2025-06-19 15:28:05 +02:00
Makefile
power.h PM: sleep: Print PM debug messages during hibernation 2025-06-19 15:28:05 +02:00
poweroff.c
process.c
qos.c
snapshot.c
suspend_test.c
suspend.c
swap.c
user.c
wakelock.c PM: wakeup: Delete space in the end of string shown by pm_show_wakelocks() 2025-06-19 15:28:05 +02:00