Skip to content

Commit 7e3b0ec

Browse files
committed
treewide: cpufreq: Remove interactive cpufreq governor
The changes in the latest stable linux branch (v6.1.138) broke the code base of this cpufreq governor and it is too outdated for linux 6.1, remove this instead of fixing it. Signed-off-by: Khusika Dhamar Gusti <[email protected]>
1 parent 7a6695f commit 7e3b0ec

File tree

4 files changed

+0
-1734
lines changed

4 files changed

+0
-1734
lines changed

Documentation/admin-guide/pm/cpufreq.rst

Lines changed: 0 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -590,64 +590,6 @@ This governor exposes the following tunables:
590590
It effectively causes the frequency to go down ``sampling_down_factor``
591591
times slower than it ramps up.
592592

593-
``interactive``
594-
----------------
595-
596-
The CPUfreq governor `interactive` is designed for latency-sensitive,
597-
interactive workloads. This governor sets the CPU speed depending on
598-
usage, similar to `ondemand` and `conservative` governors, but with a
599-
different set of configurable behaviors.
600-
601-
The tunable values for this governor are:
602-
603-
``above_hispeed_delay``
604-
When speed is at or above hispeed_freq, wait for
605-
this long before raising speed in response to continued high load.
606-
The format is a single delay value, optionally followed by pairs of
607-
CPU speeds and the delay to use at or above those speeds. Colons can
608-
be used between the speeds and associated delays for readability. For
609-
example:
610-
611-
80000 1300000:200000 1500000:40000
612-
613-
uses delay 80000 uS until CPU speed 1.3 GHz, at which speed delay
614-
200000 uS is used until speed 1.5 GHz, at which speed (and above)
615-
delay 40000 uS is used. If speeds are specified these must appear in
616-
ascending order. Default is 20000 uS.
617-
618-
``boost``
619-
If non-zero, immediately boost speed of all CPUs to at least
620-
hispeed_freq until zero is written to this attribute. If zero, allow
621-
CPU speeds to drop below hispeed_freq according to load as usual.
622-
Default is zero.
623-
624-
``boostpulse``
625-
On each write, immediately boost speed of all CPUs to
626-
hispeed_freq for at least the period of time specified by
627-
boostpulse_duration, after which speeds are allowed to drop below
628-
hispeed_freq according to load as usual. Its a write-only file.
629-
630-
``boostpulse_duration``
631-
Length of time to hold CPU speed at hispeed_freq
632-
on a write to boostpulse, before allowing speed to drop according to
633-
load as usual. Default is 80000 uS.
634-
635-
``go_hispeed_load``
636-
The CPU load at which to ramp to hispeed_freq.
637-
Default is 99%.
638-
639-
``hispeed_freq``
640-
An intermediate "high speed" at which to initially ramp
641-
when CPU load hits the value specified in go_hispeed_load. If load
642-
stays high for the amount of time specified in above_hispeed_delay,
643-
then speed may be bumped higher. Default is the maximum speed allowed
644-
by the policy at governor initialization time.
645-
646-
``io_is_busy``
647-
If set, the governor accounts IO time as CPU busy time.
648-
649-
``min_sample_time``
650-
The minimum amount of time to spend at the current
651593

652594
Frequency Boost Support
653595
=======================

drivers/cpufreq/Kconfig

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -106,17 +106,6 @@ config CPU_FREQ_DEFAULT_GOV_SCHEDUTIL
106106
have a look at the help section of that governor. The fallback
107107
governor will be 'performance'.
108108

109-
config CPU_FREQ_DEFAULT_GOV_INTERACTIVE
110-
bool "interactive"
111-
depends on NO_GKI
112-
select CPU_FREQ_GOV_INTERACTIVE
113-
select CPU_FREQ_GOV_PERFORMANCE
114-
help
115-
Use the CPUFreq governor 'interactive' as default. This allows
116-
you to get a full dynamic cpu frequency capable system by simply
117-
loading your cpufreq low-level hardware driver, using the
118-
'interactive' governor for latency-sensitive workloads.
119-
120109
endchoice
121110

122111
config CPU_FREQ_GOV_PERFORMANCE
@@ -215,27 +204,6 @@ config CPU_FREQ_GOV_SCHEDUTIL
215204

216205
If in doubt, say N.
217206

218-
config CPU_FREQ_GOV_INTERACTIVE
219-
tristate "'interactive' cpufreq policy governor"
220-
depends on NO_GKI
221-
depends on CPU_FREQ
222-
select CPU_FREQ_GOV_ATTR_SET
223-
select IRQ_WORK
224-
help
225-
'interactive' - This driver adds a dynamic cpufreq policy governor
226-
designed for latency-sensitive workloads.
227-
228-
This governor attempts to reduce the latency of clock
229-
increases so that the system is more responsive to
230-
interactive workloads.
231-
232-
To compile this driver as a module, choose M here: the
233-
module will be called cpufreq_interactive.
234-
235-
For details, take a look at linux/Documentation/cpu-freq.
236-
237-
If in doubt, say N.
238-
239207
comment "CPU frequency scaling drivers"
240208

241209
config CPUFREQ_DT

drivers/cpufreq/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ obj-$(CONFIG_CPU_FREQ_GOV_POWERSAVE) += cpufreq_powersave.o
1111
obj-$(CONFIG_CPU_FREQ_GOV_USERSPACE) += cpufreq_userspace.o
1212
obj-$(CONFIG_CPU_FREQ_GOV_ONDEMAND) += cpufreq_ondemand.o
1313
obj-$(CONFIG_CPU_FREQ_GOV_CONSERVATIVE) += cpufreq_conservative.o
14-
obj-$(CONFIG_CPU_FREQ_GOV_INTERACTIVE) += cpufreq_interactive.o
1514
obj-$(CONFIG_CPU_FREQ_GOV_COMMON) += cpufreq_governor.o
1615
obj-$(CONFIG_CPU_FREQ_GOV_ATTR_SET) += cpufreq_governor_attr_set.o
1716

0 commit comments

Comments
 (0)