96 lines
2.3 KiB
Plaintext
96 lines
2.3 KiB
Plaintext
menu "CPUQuiet Framework"
|
|
|
|
config CPU_QUIET
|
|
bool "CPUQuiet Framework"
|
|
help
|
|
Cpuquiet implements pluggable policies for forcing cpu cores into a
|
|
quiescent state. Appropriate policies will save power without hurting
|
|
performance.
|
|
|
|
if CPU_QUIET
|
|
|
|
config CPU_QUIET_STATS
|
|
bool "per CPU statistics"
|
|
depends on SYSFS
|
|
default n
|
|
help
|
|
Enable up/down count and total time plugged statistics per CPU. These
|
|
depend on correct driver input for reliability. The statistic value
|
|
can be checked under "/sys/devices/system/cpu/cpux/cpuquiet/stats".
|
|
|
|
If in doubt say N.
|
|
|
|
config CPU_QUIET_GOVERNOR_USERSPACE
|
|
bool "'userspace' governor"
|
|
default y
|
|
help
|
|
Manual control of the number of CPUs online.
|
|
This governor allows userspace to control the number of online CPUs.
|
|
That means this governor allow user to implement the real governor
|
|
in user space.
|
|
|
|
If in doubt say Y.
|
|
|
|
config CPU_QUIET_GOVERNOR_RUNNABLE
|
|
bool "'runnable threads' governor"
|
|
default y
|
|
help
|
|
Scale the number of CPUs online depending on the number of runnable
|
|
threads. This governor will scale the number of CPUs online depending
|
|
on the number of runnable threads.
|
|
|
|
If in doubt say Y.
|
|
|
|
choice
|
|
prompt "Default CPUQuiet governor"
|
|
default CPU_QUIET_DEFAULT_GOV_USERSPACE
|
|
help
|
|
This option sets which CPUQuiet governor shall be loaded at
|
|
startup. If in doubt, select 'userspace'.
|
|
|
|
config CPU_QUIET_DEFAULT_GOV_USERSPACE
|
|
bool "userspace"
|
|
select CPU_QUIET_GOVERNOR_USERSPACE
|
|
help
|
|
Use the CPUQuiet governor 'userspace' as default.
|
|
|
|
config CPU_QUIET_DEFAULT_GOV_RUNNABLE
|
|
bool "runnable threads"
|
|
select CPU_QUIET_GOVERNOR_RUNNABLE
|
|
help
|
|
Use the CPUQuiet governor 'runnable threads' as default.
|
|
endchoice
|
|
|
|
menu "Tegra CPUquiet Driver"
|
|
depends on ARCH_TEGRA
|
|
|
|
config TEGRA_CPUQUIET
|
|
bool "Tegra SoCs"
|
|
depends on HOTPLUG_CPU && ARM
|
|
default n
|
|
help
|
|
This is the CPUquiet driver for NVIDIA Tegra SoCs. It supports
|
|
auto hotplug the secondary CPU cores by the CPUquiet governor.
|
|
And the auto clusterswitch would be supported in this driver
|
|
too.
|
|
|
|
If unsure, say N.
|
|
endmenu
|
|
|
|
menu "X86 CPUquiet Driver"
|
|
depends on X86
|
|
|
|
config X86_CPUQUIET
|
|
bool "X86"
|
|
depends on HOTPLUG_CPU && X86
|
|
default n
|
|
help
|
|
This is the CPUquiet driver for X86 CPUs and SoCs. It supports
|
|
auto hotplug of CPU cores using the CPUquiet governor.
|
|
|
|
If unsure, say N.
|
|
endmenu
|
|
|
|
endif
|
|
endmenu
|