Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1465983 > unrolled thread

[PATCH][v2] PM / sleep: Increase default DPM watchdog timeout to 120

Started byChen Yu <yu.c.chen@intel.com>
First post2016-08-19 06:30 +0200
Last post2016-08-19 09:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH][v2] PM / sleep: Increase default DPM watchdog timeout to 120 Chen Yu <yu.c.chen@intel.com> - 2016-08-19 06:30 +0200
    Re: [PATCH][v2] PM / sleep: Increase default DPM watchdog timeout to  120 Pavel Machek <pavel@ucw.cz> - 2016-08-19 09:30 +0200

#1465983 — [PATCH][v2] PM / sleep: Increase default DPM watchdog timeout to 120

FromChen Yu <yu.c.chen@intel.com>
Date2016-08-19 06:30 +0200
Subject[PATCH][v2] PM / sleep: Increase default DPM watchdog timeout to 120
Message-ID<s7JBn-QG-5@gated-at.bofh.it>
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>
---
 kernel/power/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index 68d3ebc..e8517b6 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -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
-- 
2.7.4

[toc] | [next] | [standalone]


#1466149 — Re: [PATCH][v2] PM / sleep: Increase default DPM watchdog timeout to 120

FromPavel Machek <pavel@ucw.cz>
Date2016-08-19 09:30 +0200
SubjectRe: [PATCH][v2] PM / sleep: Increase default DPM watchdog timeout to 120
Message-ID<s7MpA-2B9-65@gated-at.bofh.it>
In reply to#1465983
On Fri 2016-08-19 12:37:23, Chen Yu wrote:
> 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

Acked-by: Pavel Machek <pavel@ucw.cz>

Thanks!
								Pavel
								
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web