Kconfig 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. config CPU_IDLE_GOV_MENU
  18. bool "Menu governor (for tickless system)"
  19. config DT_IDLE_STATES
  20. bool
  21. menu "ARM CPU Idle Drivers"
  22. depends on ARM || ARM64
  23. source "drivers/cpuidle/Kconfig.arm"
  24. endmenu
  25. menu "MIPS CPU Idle Drivers"
  26. depends on MIPS
  27. source "drivers/cpuidle/Kconfig.mips"
  28. endmenu
  29. menu "POWERPC CPU Idle Drivers"
  30. depends on PPC
  31. source "drivers/cpuidle/Kconfig.powerpc"
  32. endmenu
  33. endif
  34. config ARCH_NEEDS_CPU_IDLE_COUPLED
  35. def_bool n
  36. endmenu