New: [question] option CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y available in config kernel?
https://bugzilla.kernel.org/show_bug.cgi?id=218013
Bug ID: 218013
Summary: [question] option
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y available in config kernel?
Product: Power Management
Version: 2.5
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: cpufreq
Assignee: [email protected]
Reporter: [email protected]
Regression: No
Hello Kernel Team,
From what I can see, this option is not present in the kernel as an option that can be activated.
In the following kernel versions, there will also be the option CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y?
Can this option also be available to use as a default option?
#
# CPU Frequency scaling
#CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_GOV_ATTR_SET=y CONFIG_CPU_FREQ_GOV_COMMON=y CONFIG_CPU_FREQ_STAT=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_POWERSAVE=y CONFIG_CPU_FREQ_GOV_USERSPACE=y CONFIG_CPU_FREQ_GOV_ONDEMAND=y CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set; option available in the kernel configuration file.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
[Bug 218013] [question] option CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y available in config kernel?
https://bugzilla.kernel.org/show_bug.cgi?id=218013
Artem S. Tashkinov ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |ANSWERED--- Comment #1 from Artem S. Tashkinov ([email protected]) --- This doesn't look like a normal .config file.
Are you sure your question is not about a specific disto kernel configuration?
Here's my kernel config and it's seemingly exactly how you want it:
grep -i freq config-6.5 CONFIG_ACPI_CPU_FREQ_PSS=y
# CPU Frequency scalingCONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_GOV_ATTR_SET=y CONFIG_CPU_FREQ_GOV_COMMON=y CONFIG_CPU_FREQ_STAT=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_POWERSAVE=y CONFIG_CPU_FREQ_GOV_USERSPACE=y CONFIG_CPU_FREQ_GOV_ONDEMAND=y CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
# CPU frequency scaling drivers CONFIG_X86_PCC_CPUFREQ=m CONFIG_X86_ACPI_CPUFREQ=y
# CONFIG_X86_ACPI_CPUFREQ_CPB is not set CONFIG_X86_AMD_FREQ_SENSITIVITY=m
# end of CPU Frequency scaling CONFIG_DEVFREQ_THERMAL=y # Intel Uncore Frequency Control # CONFIG_INTEL_UNCORE_FREQ_CONTROL is not set # end of Intel Uncore Frequency Control CONFIG_PM_DEVFREQ=y # DEVFREQ Governors CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND=y CONFIG_DEVFREQ_GOV_PERFORMANCE=y CONFIG_DEVFREQ_GOV_POWERSAVE=y CONFIG_DEVFREQ_GOV_USERSPACE=y CONFIG_DEVFREQ_GOV_PASSIVE=y # DEVFREQ Drivers # CONFIG_PM_DEVFREQ_EVENT is not set
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
[Bug 218013] [question] option CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y available in config kernel?
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=218013
sander44 ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|ANSWERED |------ Comment #2 from sander44 ([email protected]) --- Hi Artem S. Tashkinov,
I use vanilla kernel.
But this option is not available.
I have AMD platform.
From what I noticed, there is a condition in Kconfig for this.
../linux/drivers/cpufreq/Kconfig
This is a option:
And i notice this: depends on !(X86_INTEL_PSTATE && SMP)
config CPU_FREQ_DEFAULT_GOV_ONDEMAND
bool "ondemand"
depends on !(X86_INTEL_PSTATE && SMP)
select CPU_FREQ_GOV_ONDEMAND
select CPU_FREQ_GOV_PERFORMANCE
help
Use the CPUFreq governor 'ondemand' as default. This allows you to get a full dynamic frequency capable system by simply loading your cpufreq low-level hardware driver. Be aware that not all cpufreq drivers support the ondemand governor. If unsure have a look at the help section of the driver. Fallback governor will be the performance governor.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
[Bug 218013] [question] option CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y available in config kernel?
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=218013
Artem S. Tashkinov ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |ANSWERED--- Comment #3 from Artem S. Tashkinov ([email protected]) --- The ondemand governor is incompatible with {amd|intel} pstate drivers.
There's nothing that can be done about that.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.