Kconfig 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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 HAS_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. # Clockevents broadcasting infrastructure
  36. config GENERIC_CLOCKEVENTS_BROADCAST
  37. bool
  38. depends on GENERIC_CLOCKEVENTS
  39. # Automatically adjust the min. reprogramming time for
  40. # clock event device
  41. config GENERIC_CLOCKEVENTS_MIN_ADJUST
  42. bool
  43. # Generic update of CMOS clock
  44. config GENERIC_CMOS_UPDATE
  45. bool
  46. if GENERIC_CLOCKEVENTS
  47. menu "Timers subsystem"
  48. # Core internal switch. Selected by NO_HZ / HIGH_RES_TIMERS. This is
  49. # only related to the tick functionality. Oneshot clockevent devices
  50. # are supported independ of this.
  51. config TICK_ONESHOT
  52. bool
  53. config NO_HZ
  54. bool "Tickless System (Dynamic Ticks)"
  55. depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS
  56. select TICK_ONESHOT
  57. help
  58. This option enables a tickless system: timer interrupts will
  59. only trigger on an as-needed basis both when the system is
  60. busy and when the system is idle.
  61. config HIGH_RES_TIMERS
  62. bool "High Resolution Timer Support"
  63. depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS
  64. select TICK_ONESHOT
  65. help
  66. This option enables high resolution timer support. If your
  67. hardware is not capable then this option only increases
  68. the size of the kernel image.
  69. endmenu
  70. endif