linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 218013] New: [question] option CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y available in config kernel?
@ 2023-10-15 14:10 bugzilla-daemon
  2023-10-16  5:44 ` [Bug 218013] " bugzilla-daemon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2023-10-15 14:10 UTC (permalink / raw)
  To: linux-pm

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: linux-pm@vger.kernel.org
          Reporter: ionut_n2001@yahoo.com
        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.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 218013] [question] option CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y available in config kernel?
  2023-10-15 14:10 [Bug 218013] New: [question] option CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y available in config kernel? bugzilla-daemon
@ 2023-10-16  5:44 ` bugzilla-daemon
  2023-10-16  6:34 ` bugzilla-daemon
  2023-10-16  8:36 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2023-10-16  5:44 UTC (permalink / raw)
  To: linux-pm

https://bugzilla.kernel.org/show_bug.cgi?id=218013

Artem S. Tashkinov (aros@gmx.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |ANSWERED

--- Comment #1 from Artem S. Tashkinov (aros@gmx.com) ---
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 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_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

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 218013] [question] option CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y available in config kernel?
  2023-10-15 14:10 [Bug 218013] New: [question] option CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y available in config kernel? bugzilla-daemon
  2023-10-16  5:44 ` [Bug 218013] " bugzilla-daemon
@ 2023-10-16  6:34 ` bugzilla-daemon
  2023-10-16  8:36 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2023-10-16  6:34 UTC (permalink / raw)
  To: linux-pm

https://bugzilla.kernel.org/show_bug.cgi?id=218013

sander44 (ionut_n2001@yahoo.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|ANSWERED                    |---

--- Comment #2 from sander44 (ionut_n2001@yahoo.com) ---
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.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 218013] [question] option CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y available in config kernel?
  2023-10-15 14:10 [Bug 218013] New: [question] option CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y available in config kernel? bugzilla-daemon
  2023-10-16  5:44 ` [Bug 218013] " bugzilla-daemon
  2023-10-16  6:34 ` bugzilla-daemon
@ 2023-10-16  8:36 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2023-10-16  8:36 UTC (permalink / raw)
  To: linux-pm

https://bugzilla.kernel.org/show_bug.cgi?id=218013

Artem S. Tashkinov (aros@gmx.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |ANSWERED

--- Comment #3 from Artem S. Tashkinov (aros@gmx.com) ---
The ondemand governor is incompatible with {amd|intel} pstate drivers.

There's nothing that can be done about that.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-10-16  8:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-15 14:10 [Bug 218013] New: [question] option CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y available in config kernel? bugzilla-daemon
2023-10-16  5:44 ` [Bug 218013] " bugzilla-daemon
2023-10-16  6:34 ` bugzilla-daemon
2023-10-16  8:36 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).