aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-05-11 18:23:17 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-05-11 18:23:17 -0400
commitac4e01093f6d7b051c5d6a3e61ea5337774ac36a (patch)
tree395a03788c81aa0c3ba5cdcb3573365d5880bdc7 /drivers
parentc4cc75c3321cad6f20d1e5325293890255c8a663 (diff)
parent86239ceb33b0d8480b0f0ca0eec08e7f7a807374 (diff)
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux
Pull idle update from Len Brown: "Add support for new Haswell-ULT CPU idle power states" * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux: intel_idle: initial C8, C9, C10 support tools/power turbostat: display C8, C9, C10 residency
Diffstat (limited to 'drivers')
-rw-r--r--drivers/idle/intel_idle.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c
index 0e8fab1913df..fa6964d8681a 100644
--- a/drivers/idle/intel_idle.c
+++ b/drivers/idle/intel_idle.c
@@ -273,6 +273,27 @@ static struct cpuidle_state hsw_cstates[CPUIDLE_STATE_MAX] = {
273 .target_residency = 500, 273 .target_residency = 500,
274 .enter = &intel_idle }, 274 .enter = &intel_idle },
275 { 275 {
276 .name = "C8-HSW",
277 .desc = "MWAIT 0x40",
278 .flags = MWAIT2flg(0x40) | CPUIDLE_FLAG_TIME_VALID | CPUIDLE_FLAG_TLB_FLUSHED,
279 .exit_latency = 300,
280 .target_residency = 900,
281 .enter = &intel_idle },
282 {
283 .name = "C9-HSW",
284 .desc = "MWAIT 0x50",
285 .flags = MWAIT2flg(0x50) | CPUIDLE_FLAG_TIME_VALID | CPUIDLE_FLAG_TLB_FLUSHED,
286 .exit_latency = 600,
287 .target_residency = 1800,
288 .enter = &intel_idle },
289 {
290 .name = "C10-HSW",
291 .desc = "MWAIT 0x60",
292 .flags = MWAIT2flg(0x60) | CPUIDLE_FLAG_TIME_VALID | CPUIDLE_FLAG_TLB_FLUSHED,
293 .exit_latency = 2600,
294 .target_residency = 7700,
295 .enter = &intel_idle },
296 {
276 .enter = NULL } 297 .enter = NULL }
277}; 298};
278 299