Skip to content

Commit 22e580d

Browse files
Bockholdt Arnerafaeljw
authored andcommitted
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 <[email protected]> Acked-by: Len Brown <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 6ce4eac commit 22e580d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/idle/intel_idle.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ static struct cpuidle_state atom_cstates[] __initdata = {
329329
{
330330
.enter = NULL }
331331
};
332-
static struct cpuidle_state avn_cstates[CPUIDLE_STATE_MAX] = {
332+
static struct cpuidle_state avn_cstates[] __initdata = {
333333
{
334334
.name = "C1-AVN",
335335
.desc = "MWAIT 0x00",
@@ -340,7 +340,7 @@ static struct cpuidle_state avn_cstates[CPUIDLE_STATE_MAX] = {
340340
{
341341
.name = "C6-AVN",
342342
.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,
344344
.exit_latency = 15,
345345
.target_residency = 45,
346346
.enter = &intel_idle },

0 commit comments

Comments
 (0)