From: Adam Belay <abelay@novell.com>
To: Brown@vger.kernel.org, Len <len.brown@intel.com>
Cc: linux acpi <linux-acpi@vger.kernel.org>,
linux-pm@lists.linux-foundation.org,
Venki Pallipadi <venkatesh.pallipadi@intel.com>,
Shaohua Li <shaohua.li@intel.com>
Subject: [PATCH 4/6] CPUIDLE: max_cstate fix
Date: Tue, 21 Aug 2007 18:25:58 -0400 [thread overview]
Message-ID: <1187735158.7199.52.camel@callisto.site> (raw)
Currently max_cstate is limited to 0, resulting in no idle processor
power management on ACPI platforms. This patch restores the value to
the array size.
Please Apply,
Adam
Change Summary:
processor_idle.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff -urN a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
--- a/drivers/acpi/processor_idle.c 2007-08-14 15:53:48.000000000 -0400
+++ b/drivers/acpi/processor_idle.c 2007-08-14 16:00:48.000000000 -0400
@@ -67,7 +67,7 @@
#define C2_OVERHEAD 1 /* 1us */
#define C3_OVERHEAD 1 /* 1us */
-static unsigned int max_cstate __read_mostly;
+static unsigned int max_cstate __read_mostly = ACPI_PROCESSOR_MAX_POWER;
module_param(max_cstate, uint, 0000);
static unsigned int nocst __read_mostly;
module_param(nocst, uint, 0000);
reply other threads:[~2007-08-21 22:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1187735158.7199.52.camel@callisto.site \
--to=abelay@novell.com \
--cc=Brown@vger.kernel.org \
--cc=len.brown@intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=shaohua.li@intel.com \
--cc=venkatesh.pallipadi@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox