xref: /openbmc/linux/kernel/time/Kconfig (revision b5e498ad)
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
36b5e498adSThomas Gleixner
37b5e498adSThomas Gleixner# Options selectable by arch Kconfig
38b5e498adSThomas Gleixner
39b5e498adSThomas Gleixner# Watchdog function for clocksources to detect instabilities
40b5e498adSThomas Gleixnerconfig CLOCKSOURCE_WATCHDOG
41b5e498adSThomas Gleixner	bool
42b5e498adSThomas Gleixner
43b5e498adSThomas Gleixner# Architecture has extra clocksource data
44b5e498adSThomas Gleixnerconfig ARCH_CLOCKSOURCE_DATA
45b5e498adSThomas Gleixner	bool
46b5e498adSThomas Gleixner
47b5e498adSThomas Gleixner# Timekeeping vsyscall support
48b5e498adSThomas Gleixnerconfig GENERIC_TIME_VSYSCALL
49b5e498adSThomas Gleixner	bool
50b5e498adSThomas Gleixner
51b5e498adSThomas Gleixner# ktime_t scalar 64bit nsec representation
52b5e498adSThomas Gleixnerconfig KTIME_SCALAR
53b5e498adSThomas Gleixner	bool
54b5e498adSThomas Gleixner
55b5e498adSThomas Gleixner# Old style timekeeping
56b5e498adSThomas Gleixnerconfig ARCH_USES_GETTIMEOFFSET
57b5e498adSThomas Gleixner	bool
58b5e498adSThomas Gleixner
59b5e498adSThomas Gleixner# The generic clock events infrastructure
60b5e498adSThomas Gleixnerconfig GENERIC_CLOCKEVENTS
61b5e498adSThomas Gleixner	bool
62b5e498adSThomas Gleixner
63b5e498adSThomas Gleixner# Clockevents broadcasting infrastructure
64b5e498adSThomas Gleixnerconfig GENERIC_CLOCKEVENTS_BROADCAST
65b5e498adSThomas Gleixner	bool
66b5e498adSThomas Gleixner	depends on GENERIC_CLOCKEVENTS
67b5e498adSThomas Gleixner
68b5e498adSThomas Gleixner# Generic update of CMOS clock
69b5e498adSThomas Gleixnerconfig GENERIC_CMOS_UPDATE
70b5e498adSThomas Gleixner	bool
71