MIPS: Select CONFIG_GENERIC_IDLE_POLL_SETUP
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Sun, 21 May 2023 22:31:23 +0000 (23:31 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 9 Jun 2023 08:34:26 +0000 (10:34 +0200)
hlt,nohlt paramaters are useful when debugging cpuidle
related issues.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Documentation/admin-guide/kernel-parameters.txt
arch/mips/Kconfig

index 50439f4..6c6f590 100644 (file)
 
        nohibernate     [HIBERNATION] Disable hibernation and resume.
 
-       nohlt           [ARM,ARM64,MICROBLAZE,SH] Forces the kernel to busy wait
-                       in do_idle() and not use the arch_cpu_idle()
+       nohlt           [ARM,ARM64,MICROBLAZE,MIPS,SH] Forces the kernel to
+                       busy wait in do_idle() and not use the arch_cpu_idle()
                        implementation; requires CONFIG_GENERIC_IDLE_POLL_SETUP
                        to be effective. This is useful on platforms where the
                        sleep(SH) or wfi(ARM,ARM64) instructions do not work
index d79d6d4..ab47259 100644 (file)
@@ -44,6 +44,7 @@ config MIPS
        select GENERIC_LIB_UCMPDI2
        select GENERIC_SCHED_CLOCK if !CAVIUM_OCTEON_SOC
        select GENERIC_SMP_IDLE_THREAD
+       select GENERIC_IDLE_POLL_SETUP
        select GENERIC_TIME_VSYSCALL
        select GUP_GET_PXX_LOW_HIGH if CPU_MIPS32 && PHYS_ADDR_T_64BIT
        select HAS_IOPORT if !NO_IOPORT_MAP || ISA