aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Yu <yu.c.chen@intel.com>2016-08-19 00:37:23 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-09-12 20:15:58 -0400
commit5b3f249c94ce1f46bacd9814385b0ee2d1ae52f3 (patch)
tree65aed97e5443abc51075b88532ba7ab95dc0e52e
parent9395452b4aab7bc2475ef8935b4a4fb99d778d70 (diff)
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: Pavel Machek <pavel@ucw.cz> Suggested-by: Rafael J. Wysocki <rafael@kernel.org> Reported-by: Higuita <higuita@gmx.net> Signed-off-by: Chen Yu <yu.c.chen@intel.com> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--kernel/power/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index 68d3ebc12601..e8517b63eb37 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -186,7 +186,7 @@ config PM_SLEEP_DEBUG
186 186
187config DPM_WATCHDOG 187config DPM_WATCHDOG
188 bool "Device suspend/resume watchdog" 188 bool "Device suspend/resume watchdog"
189 depends on PM_DEBUG && PSTORE 189 depends on PM_DEBUG && PSTORE && EXPERT
190 ---help--- 190 ---help---
191 Sets up a watchdog timer to capture drivers that are 191 Sets up a watchdog timer to capture drivers that are
192 locked up attempting to suspend/resume a device. 192 locked up attempting to suspend/resume a device.
@@ -197,7 +197,7 @@ config DPM_WATCHDOG
197config DPM_WATCHDOG_TIMEOUT 197config DPM_WATCHDOG_TIMEOUT
198 int "Watchdog timeout in seconds" 198 int "Watchdog timeout in seconds"
199 range 1 120 199 range 1 120
200 default 60 200 default 120
201 depends on DPM_WATCHDOG 201 depends on DPM_WATCHDOG
202 202
203config PM_TRACE 203config PM_TRACE