[PATCH] docs: kernel-parameters: add CPU_FREQ, CPU_IDLE build options

Randy Dunlap posted 1 patch 1 month, 2 weeks ago
There is a newer version of this series
Documentation/admin-guide/kernel-parameters.txt |    2 ++
1 file changed, 2 insertions(+)
[PATCH] docs: kernel-parameters: add CPU_FREQ, CPU_IDLE build options
Posted by Randy Dunlap 1 month, 2 weeks ago
CPU_FREQ and CPU_IDLE are used in descriptions of some kernel parameters
so add their descriptions to the build options list.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Daniel Lezcano <daniel.lezcano@kernel.org>
Cc: linux-pm@vger.kernel.org

 Documentation/admin-guide/kernel-parameters.txt |    2 ++
 1 file changed, 2 insertions(+)

--- linux-next-20260810.orig/Documentation/admin-guide/kernel-parameters.txt
+++ linux-next-20260810/Documentation/admin-guide/kernel-parameters.txt
@@ -8,6 +8,8 @@
 	ARM64	ARM64 architecture is enabled.
 	CLK	Common clock infrastructure is enabled.
 	CMA	Contiguous Memory Area support is enabled.
+	CPU_FREQ CPU_FREQ is enabled.
+	CPU_IDLE CPU_IDLE PM is enabled.
 	DRM	Direct Rendering Management support is enabled.
 	DYNAMIC_DEBUG Build in debug messages and enable them at runtime
 	EARLY	Parameter processed too early to be embedded in initrd.
Re: [PATCH] docs: kernel-parameters: add CPU_FREQ, CPU_IDLE build options
Posted by Rafael J. Wysocki (Intel) 1 month, 2 weeks ago
On Tue, Aug 11, 2026 at 7:22 AM Randy Dunlap <rdunlap@infradead.org> wrote:
>
> CPU_FREQ and CPU_IDLE are used in descriptions of some kernel parameters
> so add their descriptions to the build options list.
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: Shuah Khan <skhan@linuxfoundation.org>
> Cc: linux-doc@vger.kernel.org
> Cc: "Rafael J. Wysocki" <rafael@kernel.org>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Cc: Daniel Lezcano <daniel.lezcano@kernel.org>
> Cc: linux-pm@vger.kernel.org
>
>  Documentation/admin-guide/kernel-parameters.txt |    2 ++
>  1 file changed, 2 insertions(+)
>
> --- linux-next-20260810.orig/Documentation/admin-guide/kernel-parameters.txt
> +++ linux-next-20260810/Documentation/admin-guide/kernel-parameters.txt
> @@ -8,6 +8,8 @@
>         ARM64   ARM64 architecture is enabled.
>         CLK     Common clock infrastructure is enabled.
>         CMA     Contiguous Memory Area support is enabled.
> +       CPU_FREQ CPU_FREQ is enabled.
> +       CPU_IDLE CPU_IDLE PM is enabled.

What about

+       CPU_FREQ CPU frequency scaling is enabled.
+       CPU_IDLE CPU idle time management is enabled.

>         DRM     Direct Rendering Management support is enabled.
>         DYNAMIC_DEBUG Build in debug messages and enable them at runtime
>         EARLY   Parameter processed too early to be embedded in initrd.
Re: [PATCH] docs: kernel-parameters: add CPU_FREQ, CPU_IDLE build options
Posted by Randy Dunlap 1 month, 2 weeks ago

On 8/15/26 9:55 AM, Rafael J. Wysocki (Intel) wrote:
> On Tue, Aug 11, 2026 at 7:22 AM Randy Dunlap <rdunlap@infradead.org> wrote:
>>
>> CPU_FREQ and CPU_IDLE are used in descriptions of some kernel parameters
>> so add their descriptions to the build options list.
>>
>> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
>> ---
>> Cc: Jonathan Corbet <corbet@lwn.net>
>> Cc: Shuah Khan <skhan@linuxfoundation.org>
>> Cc: linux-doc@vger.kernel.org
>> Cc: "Rafael J. Wysocki" <rafael@kernel.org>
>> Cc: Viresh Kumar <viresh.kumar@linaro.org>
>> Cc: Daniel Lezcano <daniel.lezcano@kernel.org>
>> Cc: linux-pm@vger.kernel.org
>>
>>  Documentation/admin-guide/kernel-parameters.txt |    2 ++
>>  1 file changed, 2 insertions(+)
>>
>> --- linux-next-20260810.orig/Documentation/admin-guide/kernel-parameters.txt
>> +++ linux-next-20260810/Documentation/admin-guide/kernel-parameters.txt
>> @@ -8,6 +8,8 @@
>>         ARM64   ARM64 architecture is enabled.
>>         CLK     Common clock infrastructure is enabled.
>>         CMA     Contiguous Memory Area support is enabled.
>> +       CPU_FREQ CPU_FREQ is enabled.
>> +       CPU_IDLE CPU_IDLE PM is enabled.
> 
> What about
> 
> +       CPU_FREQ CPU frequency scaling is enabled.
> +       CPU_IDLE CPU idle time management is enabled.

Sure, no problem. Will send v2.

>>         DRM     Direct Rendering Management support is enabled.
>>         DYNAMIC_DEBUG Build in debug messages and enable them at runtime
>>         EARLY   Parameter processed too early to be embedded in initrd.

-- 
~Randy