public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] intel_idle: Fixed C6 state on Avoton/Rangeley processors
@ 2013-11-26  7:13 Bockholdt Arne
  2013-11-26 12:53 ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 5+ messages in thread
From: Bockholdt Arne @ 2013-11-26  7:13 UTC (permalink / raw)
  To: Len Brown; +Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org

Corrected the MWAIT flag for C-State C6 on Intel Avoton/Rangeley processors.

Signed-off-by: Arne Bockholdt <linux-kernel@bockholdt.com>
---

diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c
index cbd4e9a..92d1206 100644
--- a/drivers/idle/intel_idle.c
+++ b/drivers/idle/intel_idle.c
@@ -329,7 +329,7 @@ static struct cpuidle_state atom_cstates[] __initdata = {
 	{
 		.enter = NULL }
 };
-static struct cpuidle_state avn_cstates[CPUIDLE_STATE_MAX] = {
+static struct cpuidle_state avn_cstates[] __initdata = {
 	{
 		.name = "C1-AVN",
 		.desc = "MWAIT 0x00",
@@ -340,7 +340,7 @@ static struct cpuidle_state avn_cstates[CPUIDLE_STATE_MAX] = {
 	{
 		.name = "C6-AVN",
 		.desc = "MWAIT 0x51",
-		.flags = MWAIT2flg(0x58) | CPUIDLE_FLAG_TIME_VALID | CPUIDLE_FLAG_TLB_FLUSHED,
+		.flags = MWAIT2flg(0x51) | CPUIDLE_FLAG_TIME_VALID | CPUIDLE_FLAG_TLB_FLUSHED,
 		.exit_latency = 15,
 		.target_residency = 45,
 		.enter = &intel_idle },


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-27  7:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-26  7:13 [PATCH] intel_idle: Fixed C6 state on Avoton/Rangeley processors Bockholdt Arne
2013-11-26 12:53 ` Bartlomiej Zolnierkiewicz
2013-11-26 13:38   ` [PATCH v2] " Bockholdt Arne
2013-11-26 18:43     ` Len Brown
2013-11-27  7:43       ` Bockholdt Arne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox