]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - kernel/time/Kconfig
x86: Use generic time config
[mirror_ubuntu-jammy-kernel.git] / kernel / time / Kconfig
CommitLineData
79bf2bb3
TG
1#
2# Timer subsystem related configuration options
3#
3872c48b
TG
4
5# Core internal switch. Selected by NO_HZ / HIGH_RES_TIMERS. This is
6# only related to the tick functionality. Oneshot clockevent devices
7# are supported independ of this.
79bf2bb3
TG
8config TICK_ONESHOT
9 bool
79bf2bb3
TG
10
11config NO_HZ
12 bool "Tickless System (Dynamic Ticks)"
592913ec 13 depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS
79bf2bb3
TG
14 select TICK_ONESHOT
15 help
16 This option enables a tickless system: timer interrupts will
17 only trigger on an as-needed basis both when the system is
18 busy and when the system is idle.
54cdfdb4
TG
19
20config HIGH_RES_TIMERS
21 bool "High Resolution Timer Support"
592913ec 22 depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS
54cdfdb4
TG
23 select TICK_ONESHOT
24 help
25 This option enables high resolution timer support. If your
26 hardware is not capable then this option only increases
27 the size of the kernel image.
28
de68d9b1
TG
29config GENERIC_CLOCKEVENTS_BUILD
30 bool
31 default y
a13b0327 32 depends on GENERIC_CLOCKEVENTS
de68d9b1 33
d1748302
MS
34config GENERIC_CLOCKEVENTS_MIN_ADJUST
35 bool
b5e498ad
TG
36
37# Options selectable by arch Kconfig
38
39# Watchdog function for clocksources to detect instabilities
40config CLOCKSOURCE_WATCHDOG
41 bool
42
43# Architecture has extra clocksource data
44config ARCH_CLOCKSOURCE_DATA
45 bool
46
47# Timekeeping vsyscall support
48config GENERIC_TIME_VSYSCALL
49 bool
50
51# ktime_t scalar 64bit nsec representation
52config KTIME_SCALAR
53 bool
54
55# Old style timekeeping
56config ARCH_USES_GETTIMEOFFSET
57 bool
58
59# The generic clock events infrastructure
60config GENERIC_CLOCKEVENTS
61 bool
62
63# Clockevents broadcasting infrastructure
64config GENERIC_CLOCKEVENTS_BROADCAST
65 bool
66 depends on GENERIC_CLOCKEVENTS
67
68# Generic update of CMOS clock
69config GENERIC_CMOS_UPDATE
70 bool