From: Dominik Brodowski <devel@brodo.de>
To: Gerald Britton <gbritton@alum.mit.edu>
Cc: davej@suse.de, linux-kernel@vger.kernel.org, alan@redhat.com
Subject: [PATCH] Re: Linux 2.4.19pre9-ac3
Date: Sat, 1 Jun 2002 15:06:16 +0200 [thread overview]
Message-ID: <20020601150616.A1908@brodo.de> (raw)
In-Reply-To: <20020531215144.A4358@light-brigade.mit.edu> <20020531014935.D9282@suse.de> <10830.1022935054@www2.gmx.net>
[-- Attachment #1.1: Type: text/plain, Size: 426 bytes --]
Thanks for the bug report, appended patch should correct it - a PIII
Coppermine workaround was also called on PIII-M Tulatins.
Dominik
On Sat, Jun 01, 2002 at 02:37:34PM +0200, Gerald Britton wrote:
> cpufreq: currently at high speed setting - 598 MHz
> CPU clock: 598.500 MHz (731.500-598.500 MHz)
>
> cpu family : 6
> model : 11
> model name : Intel(R) Pentium(R) III Mobile CPU 1133MHz
> stepping : 1
[-- Attachment #1.2: correct_multiplier_detection.speedstep.diff --]
[-- Type: text/plain, Size: 1478 bytes --]
--- /usr/src/linux-24-ac/arch/i386/kernel/speedstep.c Sat Jun 1 14:58:09 2002
+++ cpufreq/CVS-24/cpufreq/linux/arch/i386/kernel/speedstep.c Sat Jun 1 14:56:25 2002
@@ -1,5 +1,5 @@
/*
- * $Id: speedstep.c,v 1.7.2.2 2002/05/28 18:33:13 db Exp $
+ * $Id: speedstep.c,v 1.7.2.3 2002/06/01 12:56:25 db Exp $
*
* (C) 2001 Dave Jones, Arjan van de ven.
* (C) 2002 Dominik Brodowski <devel@brodo.de>
@@ -14,7 +14,7 @@
*
* BIG FAT DISCLAIMER: Work in progress code. Possibly *dangerous*
*
- * Version $Id: speedstep.c,v 1.7.2.2 2002/05/28 18:33:13 db Exp $
+ * Version $Id: speedstep.c,v 1.7.2.3 2002/06/01 12:56:25 db Exp $
*/
@@ -353,10 +353,12 @@
rdmsr(MSR_IA32_EBL_CR_POWERON, msr_lo, msr_hi);
/* decode value */
- if (c->x86_mask != 0x01) /* different on early PIII */
- msr_lo &= 0x0bc00000;
- else
+ if ((c->x86_model == 0x08) && (c->x86_mask == 0x01))
+ /* different on early Coppermine PIII */
msr_lo &= 0x03c00000;
+ else
+ msr_lo &= 0x0bc00000;
+
msr_lo >>= 22;
while (msr_lo != msr_decode_mult[i].bitmap) {
if (msr_decode_mult[i].bitmap == 0xff)
@@ -500,7 +502,7 @@
int result;
unsigned int speed;
- printk(KERN_INFO "cpufreq: Intel(R) SpeedStep(TM) support $Revision: 1.7.2.2 $\n");
+ printk(KERN_INFO "cpufreq: Intel(R) SpeedStep(TM) support $Revision: 1.7.2.3 $\n");
/* detect processor */
speedstep_processor = speedstep_detect_processor();
[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]
next prev parent reply other threads:[~2002-06-01 13:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-30 23:22 Linux 2.4.19pre9-ac3 Alan Cox
2002-05-30 23:49 ` Dave Jones
2002-05-31 8:31 ` Marcus Sundberg
[not found] ` <21223.1022847561@www56.gmx.net>
2002-05-31 12:26 ` Dominik Brodowski
2002-06-01 1:51 ` Gerald Britton
[not found] ` <10830.1022935054@www2.gmx.net>
2002-06-01 13:06 ` Dominik Brodowski [this message]
2002-05-31 0:13 ` Robinson Maureira Castillo
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=20020601150616.A1908@brodo.de \
--to=devel@brodo.de \
--cc=alan@redhat.com \
--cc=davej@suse.de \
--cc=gbritton@alum.mit.edu \
--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