Kconfig 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. # Timekeeping vsyscall support
  12. config GENERIC_TIME_VSYSCALL
  13. bool
  14. # Timekeeping vsyscall support
  15. config GENERIC_TIME_VSYSCALL_OLD
  16. bool
  17. # ktime_t scalar 64bit nsec representation
  18. config KTIME_SCALAR
  19. bool
  20. # Old style timekeeping
  21. config ARCH_USES_GETTIMEOFFSET
  22. bool
  23. # The generic clock events infrastructure
  24. config GENERIC_CLOCKEVENTS
  25. bool
  26. # Migration helper. Builds, but does not invoke
  27. config GENERIC_CLOCKEVENTS_BUILD
  28. bool
  29. default y
  30. depends on GENERIC_CLOCKEVENTS
  31. # Clockevents broadcasting infrastructure
  32. config GENERIC_CLOCKEVENTS_BROADCAST
  33. bool
  34. depends on GENERIC_CLOCKEVENTS
  35. # Automatically adjust the min. reprogramming time for
  36. # clock event device
  37. config GENERIC_CLOCKEVENTS_MIN_ADJUST
  38. bool
  39. # Generic update of CMOS clock
  40. config GENERIC_CMOS_UPDATE
  41. bool
  42. if GENERIC_CLOCKEVENTS
  43. menu "Timers subsystem"
  44. # Core internal switch. Selected by NO_HZ / HIGH_RES_TIMERS. This is
  45. # only related to the tick functionality. Oneshot clockevent devices
  46. # are supported independ of this.
  47. config TICK_ONESHOT
  48. bool
  49. config NO_HZ
  50. bool "Tickless System (Dynamic Ticks)"
  51. depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS
  52. select TICK_ONESHOT
  53. help
  54. This option enables a tickless system: timer interrupts will
  55. only trigger on an as-needed basis both when the system is
  56. busy and when the system is idle.
  57. config HIGH_RES_TIMERS
  58. bool "High Resolution Timer Support"
  59. depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS
  60. select TICK_ONESHOT
  61. help
  62. This option enables high resolution timer support. If your
  63. hardware is not capable then this option only increases
  64. the size of the kernel image.
  65. endmenu
  66. endif