idle, x86: Allow off-lined CPU to enter deeper C states
authorBoris Ostrovsky <boris.ostrovsky@amd.com>
Tue, 13 Mar 2012 18:55:09 +0000 (19:55 +0100)
committerLen Brown <len.brown@intel.com>
Fri, 30 Mar 2012 07:23:01 +0000 (03:23 -0400)
commit1a022e3f1be11730bd8747b1af96a0274bf6356e
treed3c95b68626ac7d963ac3a85a07dae1cfc011906
parente07510585a88c0f6c6c728e2e006aa913496d4ae
idle, x86: Allow off-lined CPU to enter deeper C states

Currently when a CPU is off-lined it enters either MWAIT-based idle or,
if MWAIT is not desired or supported, HLT-based idle (which places the
processor in C1 state). This patch allows processors without MWAIT
support to stay in states deeper than C1.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@amd.com>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/x86/kernel/smpboot.c
drivers/acpi/processor_idle.c
drivers/cpuidle/cpuidle.c
include/linux/cpuidle.h