Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5b3f249c authored by Chen Yu's avatar Chen Yu Committed by Rafael J. Wysocki
Browse files

PM / sleep: Increase default DPM watchdog timeout to 120

Recently we have a new report that, the harddisk can not
resume on time due to firmware issues, and got a kernel
panic because of DPM watchdog timeout. So adjust the
default timeout from 60 to 120 to survive on this platform,
and make DPM_WATCHDOG depending on EXPERT.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=117971


Suggested-by: default avatarPavel Machek <pavel@ucw.cz>
Suggested-by: default avatarRafael J. Wysocki <rafael@kernel.org>
Reported-by: default avatarHiguita <higuita@gmx.net>
Signed-off-by: default avatarChen Yu <yu.c.chen@intel.com>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 9395452b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -186,7 +186,7 @@ config PM_SLEEP_DEBUG

config DPM_WATCHDOG
	bool "Device suspend/resume watchdog"
	depends on PM_DEBUG && PSTORE
	depends on PM_DEBUG && PSTORE && EXPERT
	---help---
	  Sets up a watchdog timer to capture drivers that are
	  locked up attempting to suspend/resume a device.
@@ -197,7 +197,7 @@ config DPM_WATCHDOG
config DPM_WATCHDOG_TIMEOUT
	int "Watchdog timeout in seconds"
	range 1 120
	default 60
	default 120
	depends on DPM_WATCHDOG

config PM_TRACE