]> git.karo-electronics.de Git - karo-tx-linux.git/commit
intel_idle: disable NHM/WSM HW C-state auto-demotion
authorLen Brown <len.brown@intel.com>
Wed, 19 Jan 2011 01:48:27 +0000 (20:48 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Mar 2011 19:00:13 +0000 (12:00 -0700)
commitcca24e5f3fa80fc5043bae978aa26d8ffd1d7402
tree9b0f283bbadd2a9f86f64004ddb853ed5fab7c85
parent698c1ea2cde52b8d59c4427eb768abf721e7a5b9
intel_idle: disable NHM/WSM HW C-state auto-demotion

commit 14796fca2bd22acc73dd0887248d003b0f441d08 upstream.

Hardware C-state auto-demotion is a mechanism where the HW overrides
the OS C-state request, instead demoting to a shallower state,
which is less expensive, but saves less power.

Modern Linux should generally get exactly the states it requests.
In particular, when a CPU is taken off-line, it must not be demoted, else
it can prevent the entire package from reaching deep C-states.

https://bugzilla.kernel.org/show_bug.cgi?id=25252

Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/include/asm/msr-index.h
drivers/idle/intel_idle.c