Kconfig 1.8 KB

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