xref: /openbmc/linux/kernel/time/Kconfig (revision 3872c48b)
179bf2bb3SThomas Gleixner#
279bf2bb3SThomas Gleixner# Timer subsystem related configuration options
379bf2bb3SThomas Gleixner#
43872c48bSThomas Gleixner
53872c48bSThomas Gleixner# Core internal switch. Selected by NO_HZ / HIGH_RES_TIMERS. This is
63872c48bSThomas Gleixner# only related to the tick functionality. Oneshot clockevent devices
73872c48bSThomas Gleixner# are supported independ of this.
879bf2bb3SThomas Gleixnerconfig TICK_ONESHOT
979bf2bb3SThomas Gleixner	bool
1079bf2bb3SThomas Gleixner
1179bf2bb3SThomas Gleixnerconfig NO_HZ
1279bf2bb3SThomas Gleixner	bool "Tickless System (Dynamic Ticks)"
13592913ecSJohn Stultz	depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS
1479bf2bb3SThomas Gleixner	select TICK_ONESHOT
1579bf2bb3SThomas Gleixner	help
1679bf2bb3SThomas Gleixner	  This option enables a tickless system: timer interrupts will
1779bf2bb3SThomas Gleixner	  only trigger on an as-needed basis both when the system is
1879bf2bb3SThomas Gleixner	  busy and when the system is idle.
1954cdfdb4SThomas Gleixner
2054cdfdb4SThomas Gleixnerconfig HIGH_RES_TIMERS
2154cdfdb4SThomas Gleixner	bool "High Resolution Timer Support"
22592913ecSJohn Stultz	depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS
2354cdfdb4SThomas Gleixner	select TICK_ONESHOT
2454cdfdb4SThomas Gleixner	help
2554cdfdb4SThomas Gleixner	  This option enables high resolution timer support. If your
2654cdfdb4SThomas Gleixner	  hardware is not capable then this option only increases
2754cdfdb4SThomas Gleixner	  the size of the kernel image.
2854cdfdb4SThomas Gleixner
29de68d9b1SThomas Gleixnerconfig GENERIC_CLOCKEVENTS_BUILD
30de68d9b1SThomas Gleixner	bool
31de68d9b1SThomas Gleixner	default y
32a13b0327SPaul Bolle	depends on GENERIC_CLOCKEVENTS
33de68d9b1SThomas Gleixner
34d1748302SMartin Schwidefskyconfig GENERIC_CLOCKEVENTS_MIN_ADJUST
35d1748302SMartin Schwidefsky	bool
36