Thomas Gleixner | 79bf2bb | 2007-02-16 01:28:03 -0800 | [diff] [blame] | 1 | # |
| 2 | # Timer subsystem related configuration options |
| 3 | # |
Thomas Gleixner | 3872c48 | 2012-03-31 12:45:43 +0200 | [diff] [blame] | 4 | |
Thomas Gleixner | b5e498a | 2012-05-18 09:59:57 +0200 | [diff] [blame] | 5 | # Options selectable by arch Kconfig |
| 6 | |
| 7 | # Watchdog function for clocksources to detect instabilities |
| 8 | config CLOCKSOURCE_WATCHDOG |
| 9 | bool |
| 10 | |
| 11 | # Architecture has extra clocksource data |
| 12 | config ARCH_CLOCKSOURCE_DATA |
| 13 | bool |
| 14 | |
| 15 | # Timekeeping vsyscall support |
John Stultz | 576094b | 2012-09-11 19:58:13 -0400 | [diff] [blame] | 16 | config GENERIC_TIME_VSYSCALL |
| 17 | bool |
| 18 | |
| 19 | # Timekeeping vsyscall support |
John Stultz | 7063942 | 2012-09-04 15:34:21 -0400 | [diff] [blame] | 20 | config GENERIC_TIME_VSYSCALL_OLD |
Thomas Gleixner | b5e498a | 2012-05-18 09:59:57 +0200 | [diff] [blame] | 21 | bool |
| 22 | |
| 23 | # ktime_t scalar 64bit nsec representation |
| 24 | config KTIME_SCALAR |
| 25 | bool |
| 26 | |
| 27 | # Old style timekeeping |
| 28 | config ARCH_USES_GETTIMEOFFSET |
| 29 | bool |
| 30 | |
| 31 | # The generic clock events infrastructure |
| 32 | config GENERIC_CLOCKEVENTS |
| 33 | bool |
| 34 | |
Thomas Gleixner | 764e0da | 2012-05-21 23:16:18 +0200 | [diff] [blame] | 35 | # Migration helper. Builds, but does not invoke |
| 36 | config GENERIC_CLOCKEVENTS_BUILD |
| 37 | bool |
| 38 | default y |
| 39 | depends on GENERIC_CLOCKEVENTS |
| 40 | |
Thomas Gleixner | b5e498a | 2012-05-18 09:59:57 +0200 | [diff] [blame] | 41 | # Clockevents broadcasting infrastructure |
| 42 | config GENERIC_CLOCKEVENTS_BROADCAST |
| 43 | bool |
| 44 | depends on GENERIC_CLOCKEVENTS |
| 45 | |
Thomas Gleixner | 764e0da | 2012-05-21 23:16:18 +0200 | [diff] [blame] | 46 | # Automatically adjust the min. reprogramming time for |
| 47 | # clock event device |
| 48 | config GENERIC_CLOCKEVENTS_MIN_ADJUST |
| 49 | bool |
| 50 | |
Thomas Gleixner | b5e498a | 2012-05-18 09:59:57 +0200 | [diff] [blame] | 51 | # Generic update of CMOS clock |
| 52 | config GENERIC_CMOS_UPDATE |
| 53 | bool |
Thomas Gleixner | 764e0da | 2012-05-21 23:16:18 +0200 | [diff] [blame] | 54 | |
| 55 | if GENERIC_CLOCKEVENTS |
| 56 | menu "Timers subsystem" |
| 57 | |
| 58 | # Core internal switch. Selected by NO_HZ / HIGH_RES_TIMERS. This is |
| 59 | # only related to the tick functionality. Oneshot clockevent devices |
| 60 | # are supported independ of this. |
| 61 | config TICK_ONESHOT |
| 62 | bool |
| 63 | |
| 64 | config NO_HZ |
| 65 | bool "Tickless System (Dynamic Ticks)" |
| 66 | depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS |
| 67 | select TICK_ONESHOT |
| 68 | help |
| 69 | This option enables a tickless system: timer interrupts will |
| 70 | only trigger on an as-needed basis both when the system is |
| 71 | busy and when the system is idle. |
| 72 | |
| 73 | config HIGH_RES_TIMERS |
| 74 | bool "High Resolution Timer Support" |
| 75 | depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS |
| 76 | select TICK_ONESHOT |
| 77 | help |
| 78 | This option enables high resolution timer support. If your |
| 79 | hardware is not capable then this option only increases |
| 80 | the size of the kernel image. |
| 81 | |
| 82 | endmenu |
| 83 | endif |