public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dominik Brodowski <linux@brodo.de>
To: Marc Giger <gigerstyle@gmx.ch>, linux-kernel@vger.kernel.org
Cc: ducrot@poupinou.org
Subject: Re: cpufreq: Intel(R) SpeedStep(TM) for this processor not (yet) available
Date: Mon, 28 Oct 2002 16:29:33 +0100	[thread overview]
Message-ID: <20021028162932.B888@brodo.de> (raw)
In-Reply-To: <12722.1035652076@www50.gmx.net>; from gigerstyle@gmx.ch on Sat, Oct 26, 2002 at 07:07:56PM +0200

[-- Attachment #1: Type: text/plain, Size: 1133 bytes --]

Hi Marc,

> Why is cpufreq on my laptop not available? I know it works with window$.
> My laptop has an Intel P3 speedstep cpu which supports 600Mhz and 500Mhz
> clock frequency. Will it be supported in the future?
>
> CPU model name      : Pentium III (Coppermine)
>
> 00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)

There's a small bug in speedstep.c which causes the initialization process
to fail on all Coppermines. A fix for this had been sent to Linus already;
it's also attached.

Unfortunately, this won't change much on your notebook. Now the line in
dmesg will say "Intel SpeedStep for this chipset not (yet) available." as
Intel continues to withhold information on how to use SpeedStep on 440BX/MX
chipsets (and even removes documentation which had been publicly available on
their servers). However, in an effort mainly lead by Bruno Ducrot,
reverse-engineering is making progress. SpeedStep already works on some
440BX/MX based notebooks, on others -like the one I'm using- it's still a
mystery. 

During the next days, I'll make a patch and further information available.

	Dominik

[-- Attachment #2: cpufreq-2.5.44-i386-speedstep-1 --]
[-- Type: text/plain, Size: 2032 bytes --]

diff -ruN linux-2543original/arch/i386/kernel/cpu/cpufreq/speedstep.c linux/arch/i386/kernel/cpu/cpufreq/speedstep.c
--- linux-2543original/arch/i386/kernel/cpu/cpufreq/speedstep.c	Wed Oct  9 00:44:45 2002
+++ linux/arch/i386/kernel/cpu/cpufreq/speedstep.c	Thu Oct 17 15:52:49 2002
@@ -1,5 +1,5 @@
 /*
- *  $Id: speedstep.c,v 1.53 2002/09/29 23:43:11 db Exp $
+ *  $Id: speedstep.c,v 1.54 2002/10/10 15:52:55 db Exp $
  *
  * (C) 2001  Dave Jones, Arjan van de ven.
  * (C) 2002  Dominik Brodowski <linux@brodo.de>
@@ -72,7 +72,7 @@
 #ifdef SPEEDSTEP_DEBUG
 #define dprintk(msg...) printk(msg)
 #else
-#define dprintk(msg...) do { } while(0);
+#define dprintk(msg...) do { } while(0)
 #endif
 
 
@@ -490,14 +490,14 @@
 			/* platform ID seems to be 0x00140000 */
 			rdmsr(MSR_IA32_PLATFORM_ID, msr_lo, msr_hi);
 			dprintk(KERN_DEBUG "cpufreq: Coppermine: MSR_IA32_PLATFORM ID is 0x%x, 0x%x\n", msr_lo, msr_hi);
-			msr_hi = msr_lo & 0x001c0000;
-			if (msr_hi != 0x00140000)
+			msr_lo = msr_hi & 0x001c0000;
+			if (msr_lo != 0x00140000)
 				return 0;
 
 			/* and these bits seem to be either 00_b, 01_b or
 			 * 10_b but never 11_b */
-			msr_lo &= 0x00030000;
-			if (msr_lo == 0x0030000)
+			msr_hi &= 0x00030000;
+			if (msr_hi == 0x0030000)
 				return 0;
 
 			/* let's hope this is correct... */
@@ -644,11 +644,11 @@
 		speedstep_processor = speedstep_detect_processor();
 
 	if ((!speedstep_chipset) || (!speedstep_processor)) {
-		dprintk(KERN_INFO "cpufreq: Intel(R) SpeedStep(TM) for this %s not (yet) available.\n", speedstep_processor ? "chipset" : "processor");
+		printk(KERN_INFO "cpufreq: Intel(R) SpeedStep(TM) for this %s not (yet) available.\n", speedstep_processor ? "chipset" : "processor");
 		return -ENODEV;
 	}
 
-	dprintk(KERN_INFO "cpufreq: Intel(R) SpeedStep(TM) support $Revision: 1.53 $\n");
+	dprintk(KERN_INFO "cpufreq: Intel(R) SpeedStep(TM) support $Revision: 1.54 $\n");
 	dprintk(KERN_DEBUG "cpufreq: chipset 0x%x - processor 0x%x\n", 
 	       speedstep_chipset, speedstep_processor);
 

  parent reply	other threads:[~2002-10-28 14:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-26  8:56 cpufreq: Intel(R) SpeedStep(TM) for this processor not (yet) available Marc Giger
2002-10-28 11:15 ` Ducrot Bruno
     [not found] ` <12722.1035652076@www50.gmx.net>
2002-10-28 15:29   ` Dominik Brodowski [this message]
2002-10-28 15:04     ` Marc Giger
2002-10-28 15:12       ` Ducrot Bruno
2002-10-28 15:25       ` 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=20021028162932.B888@brodo.de \
    --to=linux@brodo.de \
    --cc=ducrot@poupinou.org \
    --cc=gigerstyle@gmx.ch \
    --cc=linux-kernel@vger.kernel.org \
    /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