From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 70274284690; Wed, 1 Jul 2026 04:57:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782881828; cv=none; b=oxLBI2rYe6iiU3gXyXAErUYAmGG4bSW9GJyPE18X1ZpphpXkP6c6tqYsvgF6flviTVjyxq6b3nK7/X0DY56UWyTOgRVBlE7WZISVCFQlgRe6KaCMWFQY4GrUTe5nPzJNM5zvASaQPO02Qc7jaAsSA3BVBhL9IWQfeUPBMql4DL0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782881828; c=relaxed/simple; bh=Rtk9Tnj/g3wAI3I78XKWY+cPNKDlT7OxHadE2D4/g+s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=X4O1PSEbM5/DC0/smKOm21KFrXIJMXVmupoTStzDbI5QCeURgYRNXB6aMDXVykRN3MpcOz/rUfQ+T8EviY0WipMlAitWcZroO3RKSKgAt/XGuY1CEZvGTqShaSxVi4gbe3L5G+WabGbo3nW8UxmUHv5i+iH/eSPemeysereJnvg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=h8jjgptM; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="h8jjgptM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B83271F000E9; Wed, 1 Jul 2026 04:57:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1782881827; bh=ImGApKJTmjARaCfqcHR9yRZArsELHyHzbxeM32ff4AU=; h=From:To:Cc:Subject:Date; b=h8jjgptMqSMTDsj00UU86fkOGabHDlHTgqRV6NkV3dy0tNBJ79S1JgO1jhtRI1VB3 W6dq1N0hj2DSxo0fUuWIMYSVr46cRXUlm31iNppff3L/c+klJXobGWSwvF496ErQdc 5PFMJnSxs5badD/8m2p1d8maV42etxBaAX3sIqjY4r8KpWnAFZdtknl6xnbnaW+/29 5LZW+dBLniqq+3V2H2ey6iM9X18UhDUiuIm6/woOX3Wf/GQjDcudPZjiuIzc3yyH3+ A4n9FKbuNtxL93iNwome1Ai+ywpi9O9jtxFmADZeT7Ouz+blIEAWlpRO16108ac6h2 s5XccVTjfr2Dg== From: Tzung-Bi Shih To: Jonathan Corbet , "Rafael J. Wysocki" , Greg Kroah-Hartman , Danilo Krummrich Cc: Shuah Khan , Pavel Machek , Len Brown , tzungbi@kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, driver-core@lists.linux.dev, tfiga@chromium.org, senozhatsky@chromium.org, Randy Dunlap Subject: [PATCH v5 0/2] PM: dpm_watchdog: Improve DPM watchdog configurability Date: Wed, 1 Jul 2026 04:56:38 +0000 Message-ID: <20260701045640.3130090-1-tzungbi@kernel.org> X-Mailer: git-send-email 2.55.0.rc0.799.gd6f94ed593-goog Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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. --- v5: - Rebase to v7.2-rc1. - Fix Signed-off-by lines. v4: https://lore.kernel.org/all/20260611021219.2093476-1-tzungbi@kernel.org - Address review comments. - Patch 3 in v3 has applied separately. v3: https://lore.kernel.org/all/20260608021526.1023248-1-tzungbi@kernel.org - Address review comments on patch 2. v2: https://lore.kernel.org/all/20260604090756.2884671-1-tzungbi@kernel.org - 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.55.0.rc0.799.gd6f94ed593-goog