Kconfig 2.1 KB

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