]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PM: sleep: Allow configuring the DPM watchdog to warn earlier than panic
authorDouglas Anderson <dianders@chromium.org>
Thu, 9 Jan 2025 20:59:58 +0000 (12:59 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 14 Jan 2025 20:23:57 +0000 (21:23 +0100)
commit56cabb937f8f6091c231bdbc17c0d0a10130fb5d
tree57180784bb7f1b70b16500e30bcb67ad6b4c15da
parent96484d21ae2775e142b23e99f90c02faef80d480
PM: sleep: Allow configuring the DPM watchdog to warn earlier than panic

Allow configuring the DPM watchdog to warn about slow suspend/resume
functions without causing a system panic(). This allows you to set the
DPM_WATCHDOG_WARNING_TIMEOUT to something like 5 or 10 seconds to get
warnings about slow suspend/resume functions that eventually succeed.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Link: https://patch.msgid.link/20250109125957.v2.1.I4554f931b8da97948f308ecc651b124338ee9603@changeid
[ rjw: Subject edit ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/main.c
kernel/power/Kconfig