All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2][RFC] PM / sleep: Expose DPM watchdog timeout to sysfs
@ 2016-08-11 12:29 Chen Yu
  2016-08-11 12:29 ` [PATCH 1/2][RFC] PM / sleep: Make DPM watchdog depend on PM_SLEEP Chen Yu
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Chen Yu @ 2016-08-11 12:29 UTC (permalink / raw)
  To: Linux PM List
  Cc: Rafael J. Wysocki, Pavel Machek, Greg Kroah-Hartman, Len Brown,
	Takashi Iwai, Benoit Goby, Chen Yu

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. Since the default
timeout has once been modified from 12 to 60 seconds, we
might still encounter new case which requires a longer timeout,
so expose the value to sysfs and let the users decide which
value is appropriate, meanwhile this can also ease the debugging
process.

The first patch is to force DPM watchdog depending on CONFIG_PM_SLEEP,
thus the second patch which does the actual work, can use
CONFIG_DPM_WATCHDOG safely without checking CONFIG_PM_SLEEP.

Chen Yu (2):
  PM / sleep: Make DPM watchdog depend on PM_SLEEP
  PM / Sleep: Expose DPM watchdog timeout to sysfs

 drivers/base/power/main.c    |  4 +++-
 include/linux/sched/sysctl.h |  4 ++++
 kernel/power/Kconfig         |  2 +-
 kernel/sysctl.c              | 16 ++++++++++++++++
 4 files changed, 24 insertions(+), 2 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2016-08-19  1:49 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-11 12:29 [PATCH 0/2][RFC] PM / sleep: Expose DPM watchdog timeout to sysfs Chen Yu
2016-08-11 12:29 ` [PATCH 1/2][RFC] PM / sleep: Make DPM watchdog depend on PM_SLEEP Chen Yu
2016-08-12  0:40   ` Rafael J. Wysocki
2016-08-11 12:29 ` [PATCH 2/2][RFC] PM / sleep: Expose DPM watchdog timeout to sysfs Chen Yu
2016-08-11 18:54 ` [PATCH 0/2][RFC] " Pavel Machek
2016-08-12  0:39   ` Rafael J. Wysocki
2016-08-12  2:52   ` Chen Yu
2016-08-12  6:33     ` Pavel Machek
2016-08-12 10:49       ` Chen, Yu C
2016-08-12 11:25       ` Rafael J. Wysocki
2016-08-17  3:43         ` Chen Yu
2016-08-18 12:06           ` Pavel Machek
2016-08-18 17:44             ` Chen, Yu C
2016-08-18 18:42               ` Pavel Machek
2016-08-18 22:22                 ` Rafael J. Wysocki
2016-08-18 22:32                   ` Pavel Machek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.