Skip to contentSkip to conversation

cpufreq: Intel(R) SpeedStep(TM) for this processor not (yet) available

DISCUSSION Marc Giger 5 participants 6 messages Oct 26, 2002 – Oct 28, 2002 1 message not in the archive

lore
Share & tools
lore

Marc Giger

author
#0 lore raw

Hi list, Hi Dominik

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?

Some additional infos:

cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 3
cpu MHz : 595.577
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips : 1189.47

lspci -v
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
Subsystem: Sony Corporation: Unknown device 806f
Flags: bus master, medium devsel, latency 64
Memory at 40000000 (32-bit, prefetchable) [size=16M]
Capabilities: [a0] AGP version 1.0

00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 128
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
Memory behind bridge: fe800000-fecfffff
Prefetchable memory behind bridge: fd000000-fdffffff

00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
Flags: bus master, medium devsel, latency 0

00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master])
Flags: bus master, medium devsel, latency 64
I/O ports at fc90 [size=16]

00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 64, IRQ 9
I/O ports at fca0 [size=32]

00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 03)
Flags: medium devsel, IRQ 9

00:08.0 FireWire (IEEE 1394): Sony Corporation CXD3222 i.LINK Controller (rev 02) (prog-if 10 [OHCI])
Subsystem: Sony Corporation: Unknown device 8071
Flags: bus master, medium devsel, latency 64, IRQ 9
Memory at fedf7000 (32-bit, non-prefetchable) [size=2K]
Memory at fedf7c00 (32-bit, non-prefetchable) [size=512]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: [dc] Power Management version 1

00:09.0 Multimedia audio controller: Yamaha Corporation YMF-744B [DS-1S Audio Controller] (rev 02)
Subsystem: Sony Corporation: Unknown device 8072
Flags: bus master, medium devsel, latency 64, IRQ 9
Memory at fedf8000 (32-bit, non-prefetchable) [size=32K]
I/O ports at fcc0 [size=64]
I/O ports at fc8c [size=4]
Capabilities: [50] Power Management version 1

00:0a.0 Communication controller: Conexant HSF 56k Data/Fax Modem (Mob WorldW SmartDAA) (rev 01)
Subsystem: Sony Corporation Modem
Flags: medium devsel, IRQ 9
Memory at fede0000 (32-bit, non-prefetchable) [size=64K]
I/O ports at fc78 [size=8]
Capabilities: [40] Power Management version 2

00:0c.0 CardBus bridge: Ricoh Co Ltd RL5c478 (rev 80)

        Subsystem: Sony Corporation: Unknown device 8073
        Flags: bus master, medium devsel, latency 168, IRQ 9
        Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
        Memory window 0: 10400000-107ff000 (prefetchable)
        Memory window 1: 10800000-10bff000
        I/O window 0: 00004000-000040ff
        I/O window 1: 00004400-000044ff
        16-bit legacy interface ports at 0001

00:0c.1 CardBus bridge: Ricoh Co Ltd RL5c478 (rev 80)

        Subsystem: Sony Corporation: Unknown device 8073
        Flags: bus master, medium devsel, latency 168, IRQ 9
        Memory at 10001000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=06, subordinate=09, sec-latency=176
        Memory window 0: 10c00000-10fff000 (prefetchable)
        Memory window 1: 11000000-113ff000
        I/O window 0: 00004800-000048ff
        I/O window 1: 00004c00-00004cff
        16-bit legacy interface ports at 0001

01:00.0 VGA compatible controller: Neomagic Corporation [MagicMedia 256AV+] (rev 30) (prog-if 00 [VGA])
Subsystem: Sony Corporation: Unknown device 80a2
Flags: bus master, fast Back2Back, medium devsel, latency 128, IRQ 9
Memory at fd000000 (32-bit, prefetchable) [size=16M]
Memory at fe800000 (32-bit, non-prefetchable) [size=4M]
Memory at fec00000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [dc] Power Management version 1

06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Flags: bus master, medium devsel, latency 64, IRQ 9
I/O ports at 4800 [size=256]
Memory at 11000000 (32-bit, non-prefetchable) [size=512]
Capabilities: [50] Power Management version 2

Thank you

Kind regards

Marc

#1 lore raw
Quoted 7 lines · Marc Giger

Hi list, Hi Dominik

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?

Some additional infos:

Ask Intel. There is _no_ technical informations from Intel about their SpeedStep technology. All is done for now by guessing, reverse engeenering, etc. Only a subset of chipsets can work for now, and you do not have the one that cpufreq support. I heard also that it could work soon, but absolutely nothing is guarantied if Intel continue to withhold their documentations. You can join cpufreq mailing list if you want to help on this topic.

Cheers,

Signature · 3 lines
Ducrot Bruno
http://www.poupinou.org        Page profaissionelle
http://toto.tu-me-saoules.com  Haume page
#3 lore raw
In reply to a message not in the archive

Hi Marc,

Quoted 7 lines

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

arch/i386/kernel/cpu/cpufreq/speedstep.c +8 -8
diff -ruN linux-2543original/arch/i386/kernel/cpu/cpufreq/speedstep.c linux/arch/i386/kernel/cpu/cpufreq/speedstep.c
@@ -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 <[email protected]>
@@ -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);
 
author
#4 lore raw

Hi Dominik, Hi Bruno!

Thank you for the information!

Quoted 2 lines

Intel continues to withhold information on how to use SpeedStep on
440BX/MX chipsets (and even removes documentation which had been > publicly available ontheir servers)

I thought Intel is interessted in Linux and want to support it????

I'm willing to help you with tests if you want, so that the 440BX chipset will be supported.

Thank's

Marc

Quoted 27 lines · On Mon, 28 Oct 2002 16:29:33 +0100 Dominik Brodowski <[email protected]> wrote:

Hi Marc,

Quoted 7 lines

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

#5 lore raw
Quoted 11 lines · Marc Giger

Hi Dominik, Hi Bruno!

Thank you for the information!

Quoted 2 lines

Intel continues to withhold information on how to use SpeedStep on
440BX/MX chipsets (and even removes documentation which had been > publicly available ontheir servers)

I thought Intel is interessted in Linux and want to support it????

I'm willing to help you with tests if you want, so that the 440BX chipset will be supported.

I don't know why Intel do not want to release informations on their speedstep technology. I think that this is more likely a 'marketing' issue, or something like that. I don't think that their techs want to withhold the specs for a proper support on SpeedStep under linux, or other free OS, also, and hope that one day Intel will release proper docs. Well, we can dream...

Signature · 3 lines
Ducrot Bruno
http://www.poupinou.org        Page profaissionelle
http://toto.tu-me-saoules.com  Haume page
#6 lore raw
In reply to Marc Giger
Quoted 8 lines · Marc Giger

Hi Dominik, Hi Bruno!

Thank you for the information!

Quoted 2 lines

Intel continues to withhold information on how to use SpeedStep on
440BX/MX chipsets (and even removes documentation which had been > publicly available ontheir servers)

I thought Intel is interessted in Linux and want to support it????

Depends which Intel you talk to 8-)

Dave

Signature · 1 line
| Dave Jones.        http://www.codemonkey.org.uk