Kconfig 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. menu "CPU Idle"
  2. config CPU_IDLE
  3. bool "CPU idle PM support"
  4. default y if ACPI || PPC_PSERIES
  5. select CPU_IDLE_GOV_LADDER if (!NO_HZ && !NO_HZ_IDLE)
  6. select CPU_IDLE_GOV_MENU if (NO_HZ || NO_HZ_IDLE)
  7. help
  8. CPU idle is a generic framework for supporting software-controlled
  9. idle processor power management. It includes modular cross-platform
  10. governors that can be swapped during runtime.
  11. If you're using an ACPI-enabled platform, you should say Y here.
  12. if CPU_IDLE
  13. config CPU_IDLE_MULTIPLE_DRIVERS
  14. bool
  15. config CPU_IDLE_GOV_LADDER
  16. bool "Ladder governor (for periodic timer tick)"
  17. default y
  18. config CPU_IDLE_GOV_MENU
  19. bool "Menu governor (for tickless system)"
  20. default y
  21. config DT_IDLE_STATES
  22. bool
  23. menu "ARM CPU Idle Drivers"
  24. depends on ARM || ARM64
  25. source "drivers/cpuidle/Kconfig.arm"
  26. endmenu
  27. menu "MIPS CPU Idle Drivers"
  28. depends on MIPS
  29. source "drivers/cpuidle/Kconfig.mips"
  30. endmenu
  31. menu "POWERPC CPU Idle Drivers"
  32. depends on PPC
  33. source "drivers/cpuidle/Kconfig.powerpc"
  34. endmenu
  35. endif
  36. config ARCH_NEEDS_CPU_IDLE_COUPLED
  37. def_bool n
  38. endmenu