kernel/kconfig: Move TICKLESS options out of power management tree
These options are rapidly becoming a default configuration, which is complicated by having them be hidden inside of a SYS_POWER_MANAGEMENT variable that has to be enabled first. Put them at the top level of the kernel config. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
This commit is contained in:
parent
9202833106
commit
08397277fc
2 changed files with 27 additions and 27 deletions
|
@ -675,6 +675,33 @@ config MP_NUM_CPUS
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
config TICKLESS_IDLE
|
||||||
|
bool "Tickless idle"
|
||||||
|
default y if SYS_POWER_MANAGEMENT
|
||||||
|
help
|
||||||
|
This option suppresses periodic system clock interrupts whenever the
|
||||||
|
kernel becomes idle. This permits the system to remain in a power
|
||||||
|
saving state for extended periods without having to wake up to
|
||||||
|
service each tick as it occurs.
|
||||||
|
|
||||||
|
config TICKLESS_IDLE_THRESH
|
||||||
|
int "Tickless idle threshold"
|
||||||
|
default 3
|
||||||
|
depends on TICKLESS_IDLE
|
||||||
|
help
|
||||||
|
This option enables clock interrupt suppression when the kernel idles
|
||||||
|
for only a short period of time. It specifies the minimum number of
|
||||||
|
ticks that must occur before the next kernel timer expires in order
|
||||||
|
for suppression to happen.
|
||||||
|
|
||||||
|
config TICKLESS_KERNEL
|
||||||
|
bool "Tickless kernel"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
This option enables a fully event driven kernel. Periodic system
|
||||||
|
clock interrupt generation would be stopped at all times. This option
|
||||||
|
requires Tickless Idle option to be enabled.
|
||||||
|
|
||||||
source "kernel/Kconfig.power_mgmt"
|
source "kernel/Kconfig.power_mgmt"
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
|
@ -70,31 +70,4 @@ config DEVICE_POWER_MANAGEMENT
|
||||||
like turning off device clocks and peripherals. The device drivers
|
like turning off device clocks and peripherals. The device drivers
|
||||||
may also save and restore states in these hook functions.
|
may also save and restore states in these hook functions.
|
||||||
|
|
||||||
config TICKLESS_IDLE
|
|
||||||
bool "Tickless idle"
|
|
||||||
default y
|
|
||||||
help
|
|
||||||
This option suppresses periodic system clock interrupts whenever the
|
|
||||||
kernel becomes idle. This permits the system to remain in a power
|
|
||||||
saving state for extended periods without having to wake up to
|
|
||||||
service each tick as it occurs.
|
|
||||||
|
|
||||||
config TICKLESS_IDLE_THRESH
|
|
||||||
int "Tickless idle threshold"
|
|
||||||
default 3
|
|
||||||
depends on TICKLESS_IDLE
|
|
||||||
help
|
|
||||||
This option enables clock interrupt suppression when the kernel idles
|
|
||||||
for only a short period of time. It specifies the minimum number of
|
|
||||||
ticks that must occur before the next kernel timer expires in order
|
|
||||||
for suppression to happen.
|
|
||||||
|
|
||||||
config TICKLESS_KERNEL
|
|
||||||
bool "Tickless kernel"
|
|
||||||
depends on TICKLESS_IDLE
|
|
||||||
help
|
|
||||||
This option enables a fully event driven kernel. Periodic system
|
|
||||||
clock interrupt generation would be stopped at all times. This option
|
|
||||||
requires Tickless Idle option to be enabled.
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue