[PATCH v4 0/2] PM: dpm_watchdog: Improve DPM watchdog configurability

From: Tzung-Bi Shih

Date: Wed Jun 10 2026 - 22:19:43 EST


This series improves the configurability of the DPM watchdog.

Currently, the DPM watchdog timeouts are fixed at compile time, and the
watchdog is always enabled if compiled in. Also, the module parameters
defined in drivers/base/power/main.c use the generic and non-descriptive
"main" prefix.

This series addresses these limitations.

Patch 1 renames the module parameter prefix for drivers/base/power/main.c
from "main" to "pm_sleep".

Patch 2 introduces the "dpm_watchdog_enabled" module parameter to allow
enabling/disabling the watchdog at boot time and runtime. It also adds
CONFIG_DPM_WATCHDOG_ENABLED to set default value of the module parameter
at compile time.

---
v4:
- Address review comments.
- Patch 3 in v3 has applied separately.

v3: https://lore.kernel.org/all/20260608021526.1023248-1-tzungbi@xxxxxxxxxx
- Address review comments on patch 2.

v2: https://lore.kernel.org/all/20260604090756.2884671-1-tzungbi@xxxxxxxxxx
- Form a new series.

v1: Doesn't exist.

Tzung-Bi Shih (2):
PM: sleep: Rename module parameters prefix to "pm_sleep"
PM: dpm_watchdog: Allow disabling DPM watchdog by default

Documentation/admin-guide/kernel-parameters.txt | 7 +++++++
drivers/base/power/main.c | 14 ++++++++++++++
kernel/power/Kconfig | 10 ++++++++++
3 files changed, 31 insertions(+)

--
2.54.0.1099.g489fc7bff1-goog