Kconfig 2.0 KB

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