Skip to content

Commit 975fd3c

Browse files
FlyGoattsbogend
authored andcommitted
MIPS: Select CONFIG_GENERIC_IDLE_POLL_SETUP
hlt,nohlt paramaters are useful when debugging cpuidle related issues. Signed-off-by: Jiaxun Yang <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 96cb8ae commit 975fd3c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3702,8 +3702,8 @@
37023702

37033703
nohibernate [HIBERNATION] Disable hibernation and resume.
37043704

3705-
nohlt [ARM,ARM64,MICROBLAZE,SH] Forces the kernel to busy wait
3706-
in do_idle() and not use the arch_cpu_idle()
3705+
nohlt [ARM,ARM64,MICROBLAZE,MIPS,SH] Forces the kernel to
3706+
busy wait in do_idle() and not use the arch_cpu_idle()
37073707
implementation; requires CONFIG_GENERIC_IDLE_POLL_SETUP
37083708
to be effective. This is useful on platforms where the
37093709
sleep(SH) or wfi(ARM,ARM64) instructions do not work

arch/mips/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ config MIPS
4444
select GENERIC_LIB_UCMPDI2
4545
select GENERIC_SCHED_CLOCK if !CAVIUM_OCTEON_SOC
4646
select GENERIC_SMP_IDLE_THREAD
47+
select GENERIC_IDLE_POLL_SETUP
4748
select GENERIC_TIME_VSYSCALL
4849
select GUP_GET_PXX_LOW_HIGH if CPU_MIPS32 && PHYS_ADDR_T_64BIT
4950
select HAS_IOPORT if !NO_IOPORT_MAP || ISA

0 commit comments

Comments
 (0)