cpufreq Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Rafal Bilski <rafalbilski@interia.pl>
To: Dave Jones <davej@codemonkey.org.uk>
Cc: cpufreq@lists.linux.org.uk
Subject: [PATCH] Longhaul - Revert ACPI C3 on Longhaul ver. 2
Date: Thu, 19 Apr 2007 08:28:03 +0200	[thread overview]
Message-ID: <11769640832644-git-send-email-rafalbilski@interia.pl> (raw)

Support for Longhaul ver. 2 broke driver for VIA C3 Eden
600MHz with Samuel 2 core. Processor is not able to switch
frequency anymore. I don't know much about this issue at
the moment, but until (if ever) I will know why, this part
should be reversed. I hope it isn't to late to include it in
2.6.21.

Signed-off-by: Rafal Bilski <rafalbilski@interia.pl>
---
 arch/i386/kernel/cpu/cpufreq/longhaul.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/i386/kernel/cpu/cpufreq/longhaul.c b/arch/i386/kernel/cpu/cpufreq/longhaul.c
index a1f1b71..2b030d6 100644
--- a/arch/i386/kernel/cpu/cpufreq/longhaul.c
+++ b/arch/i386/kernel/cpu/cpufreq/longhaul.c
@@ -758,7 +758,7 @@ static int __init longhaul_cpu_init(struct cpufreq_policy *policy)
 				NULL, (void *)&pr);
 
 	/* Check ACPI support for C3 state */
-	if (pr != NULL && longhaul_version != TYPE_LONGHAUL_V1) {
+	if (pr != NULL && longhaul_version == TYPE_POWERSAVER) {
 		cx = &pr->power.states[ACPI_STATE_C3];
 		if (cx->address > 0 && cx->latency <= 1000) {
 			longhaul_flags |= USE_ACPI_C3;
-- 
1.5.0.6


----------------------------------------------------------------------
Playery MP3 za drogie?
Sprawdz, kto ma najtaniej >> http://link.interia.pl/f1a63

             reply	other threads:[~2007-04-19  6:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-19  6:28 Rafal Bilski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-04-21 14:40 [PATCH] Longhaul - Revert ACPI C3 on Longhaul ver. 2 Rafał Bilski
2007-04-21 19:44 ` Dave Jones

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=11769640832644-git-send-email-rafalbilski@interia.pl \
    --to=rafalbilski@interia.pl \
    --cc=cpufreq@lists.linux.org.uk \
    --cc=davej@codemonkey.org.uk \
    /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