Commit 22e580d07f6529a395c129575127ea6d860aed3a
Committed by
Rafael J. Wysocki
1 parent
6ce4eac1f6
Exists in
master
and in
16 other branches
intel_idle: Fixed C6 state on Avoton/Rangeley processors
Corrected the MWAIT flag for C-State C6 on Intel Avoton/Rangeley processors. Signed-off-by: Arne Bockholdt <linux-kernel@bockholdt.com> Acked-by: Len Brown <len.brown@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
drivers/idle/intel_idle.c
... | ... | @@ -329,7 +329,7 @@ |
329 | 329 | { |
330 | 330 | .enter = NULL } |
331 | 331 | }; |
332 | -static struct cpuidle_state avn_cstates[CPUIDLE_STATE_MAX] = { | |
332 | +static struct cpuidle_state avn_cstates[] __initdata = { | |
333 | 333 | { |
334 | 334 | .name = "C1-AVN", |
335 | 335 | .desc = "MWAIT 0x00", |
... | ... | @@ -340,7 +340,7 @@ |
340 | 340 | { |
341 | 341 | .name = "C6-AVN", |
342 | 342 | .desc = "MWAIT 0x51", |
343 | - .flags = MWAIT2flg(0x58) | CPUIDLE_FLAG_TIME_VALID | CPUIDLE_FLAG_TLB_FLUSHED, | |
343 | + .flags = MWAIT2flg(0x51) | CPUIDLE_FLAG_TIME_VALID | CPUIDLE_FLAG_TLB_FLUSHED, | |
344 | 344 | .exit_latency = 15, |
345 | 345 | .target_residency = 45, |
346 | 346 | .enter = &intel_idle }, |