Skip to content

RFC PM / sleep: Expose DPM watchdog timeout to sysfs

Chen Yu linux-pm 1 version NAK

Status from this message: NAK.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 13 repliesNAK

Patches in v1

#Subject and filesSizeRepliesApplied
1/2PM / sleep: Make DPM watchdog depend on PM_SLEEPkernel/power/Kconfig+1 -11 reply
2/2PM / sleep: Expose DPM watchdog timeout to sysfsdrivers/base/power/main.c include/linux/sched/sysctl.h kernel/sysctl.c+23 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2][RFC] PM / sleep: Expose DPM watchdog timeout to sysfs

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(-)
Signature · 1 line
2.7.4