From: Samuel Thibault Subject: Re: cpufreq and P3 speedstep with 2.6.0-test3 kernel Date: Wed, 13 Aug 2003 12:15:19 -0400 Sender: cpufreq-admin@www.linux.org.uk Message-ID: <20030813161519.GA1165@bouh.unh.edu> 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> <20030813152646.GA28995@via.ecp.fr> <20030813153043.GI1372@poupinou.org> <20030813153343.GJ1372@poupinou.org> <20030813154615.GA29077@via.ecp.fr> Reply-To: Samuel Thibault Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20030813154615.GA29077@via.ecp.fr> 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: Johan Bilien Cc: Ducrot Bruno , cpufreq@www.linux.org.uk On Wed, Aug 13, 2003, Ducrot Bruno wrote: > > Try this: > > > > > > --- linux-2.6.0-test3/arch/i386/kernel/cpu/cpufreq/speedstep-lib.c 2003/08/13 15:27:22 1.1 > > +++ linux-2.6.0-test3/arch/i386/kernel/cpu/cpufreq/speedstep-lib.c 2003/08/13 15:28:36 > > @@ -200,7 +200,7 @@ > > */ > > 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); > > - if ((msr_hi & (1<<18)) && (msr_hi & (3<<24))) { > > + if ((msr_lo & (1<<18)) && (msr_lo & (3<<24))) { > > if (c->x86_mask == 0x01) > > return SPEEDSTEP_PROCESSOR_PIII_C_EARLY; > > else > > > > Grumble. I should be tired or what.. > > Could you try to remove the if () actually? > I'm not sure if the latter is correct anyway. That's what I could find from intel's documentation on http://www.intel.com/support/processors/sb/cs-003779-prd24.htm Regards, -- Samuel Thibault Be warned that typing \fBkillall \fIname\fP may not have the desired effect on non-Linux systems, especially when done by a privileged user. (From the killall manual page)