From: Johan Bilien Subject: Re: cpufreq and P3 speedstep with 2.6.0-test3 kernel Date: Wed, 13 Aug 2003 17:26:46 +0200 Sender: cpufreq-admin@www.linux.org.uk Message-ID: <20030813152646.GA28995@via.ecp.fr> References: <20030813135836.GA28615@via.ecp.fr> <20030813140443.GE1372@poupinou.org> <20030813141141.GB28615@via.ecp.fr> <20030813143221.GF1372@poupinou.org> <20030813145631.GA28850@via.ecp.fr> <20030813150357.GH1372@poupinou.org> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20030813150357.GH1372@poupinou.org> Resent-To: cpufreq@www.linux.org.uk Resent-Message-Id: <20030813152731.1B3D69296A@coruscant.bilien.org> Errors-To: cpufreq-admin@www.linux.org.uk List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Ducrot Bruno On Wed, Aug 13, 2003, Ducrot Bruno wrote: > On Wed, Aug 13, 2003 at 04:56:32PM +0200, Johan Bilien wrote: > > On Wed, Aug 13, 2003, Ducrot Bruno wrote: > > > Could you please read http://www.poupinou.org/cpufreq/ > > > and: > > > > > > ftp://ftp.poupinou.org/cpufreq/speedstep-detect.tar.gz > > > > > > then give me output of ./speedstep-detect > > > both on battery and ac ? > > Could you please retry, but with 'speedstep' turned off in bios? Here are the results: on AC: dmi_scan: return: DMI 2.3 present. 46 structures occupying 1585 bytes. DMI table at 0x07FF0000. BIOS Vendor: IBM BIOS Version: 16ET27WW (1.07 ) BIOS Release: 09/19/2001 System Vendor: IBM Product Name: 26474EG Version: Not Available Board Vendor: IBM Board Name: 26474EG Board Version: Not Available Trying Intel's int15 GSIC: BIOS support GSIC call: signature: GSIC command port = 0x00b2 command = 0x0082 event port = 0x00c000b3 flags = 0x07d00000 probing chipsets: Found PIIX4 pmbase at 0x1000 Dumping PM IO register for this southbridge: PMCNTRL (0x1004): 0x1400 (0x1006): 0x0000 GPEN (0x100e): 0x0201 PCNTRL (0x1010): 0x00000200 (0x1016): 0x0000 DEVSTS (0x101c): 0x00000000 GLBLEN (0x1020): 0x0501 (0x1022): 0x00000000 GLBCTL (0x1028): 0x06019705 DEVCTL (0x102c): 0x00000000 GPIs: (0x1030): 0x050862 (0x1033): 0x00 GPOs: (0x1034): 0x7f7786ff (0x1038): 0x62 0x08 0x05 0x00 0xff 0x86 0x77 0x7f You need to boot on AC and battery and see if GPOs change. Then, see if one bit change in between, you have then to note the number of this bit. This will be the gpo_hilo= number kernel option for enabling the speedstep-piix4 module under Linux. ..28..24..20..16..12...8...4...0 GPOs: (0x1034): 0x7f7786ff 01111111011101111000011011111111 on battery: dmi_scan: return: DMI 2.3 present. 46 structures occupying 1585 bytes. DMI table at 0x07FF0000. BIOS Vendor: IBM BIOS Version: 16ET27WW (1.07 ) BIOS Release: 09/19/2001 System Vendor: IBM Product Name: 26474EG Version: Not Available Board Vendor: IBM Board Name: 26474EG Board Version: Not Available Trying Intel's int15 GSIC: BIOS support GSIC call: signature: GSIC command port = 0x00b2 command = 0x0082 event port = 0x00c000b3 flags = 0x07d00000 probing chipsets: Found PIIX4 pmbase at 0x1000 Dumping PM IO register for this southbridge: PMCNTRL (0x1004): 0x1400 (0x1006): 0x0000 GPEN (0x100e): 0x0201 PCNTRL (0x1010): 0x00002200 (0x1016): 0x0000 DEVSTS (0x101c): 0x00000000 GLBLEN (0x1020): 0x0501 (0x1022): 0x00000000 GLBCTL (0x1028): 0x06019705 DEVCTL (0x102c): 0x00000000 GPIs: (0x1030): 0x070862 (0x1033): 0x00 GPOs: (0x1034): 0x7f7786ff (0x1038): 0x62 0x08 0x07 0x00 0xff 0x86 0x77 0x7f You need to boot on AC and battery and see if GPOs change. Then, see if one bit change in between, you have then to note the number of this bit. This will be the gpo_hilo= number kernel option for enabling the speedstep-piix4 module under Linux. ..28..24..20..16..12...8...4...0 GPOs: (0x1034): 0x7f7786ff 01111111011101111000011011111111 > Defining > #define SPEEDSTEP_DEBUG > in speedstep-lib.c and in speedstep-piix4.c will be also usefull. I recompiled the modules with SPEEDSTEP_DEBUG, and know when I do modprobe speedstep-piix4 I get in the syslog: Aug 13 17:22:15 naboo kernel: cpufreq: Coppermine: MSR_IA32_EBL_CR_POWERON is 0x46480020, 0x0 Aug 13 17:22:15 naboo kernel: cpufreq: Coppermine: MSR_IA32_PLATFORM ID is 0x0, 0x48550000 -- Jobi