From: Samuel Thibault <Samuel.Thibault@ens-lyon.fr>
To: Dominik Brodowski <linux@brodo.de>, torvalds@transmeta.com
Cc: cpufreq@www.linux.org.uk, linux-kernel@vger.kernel.org
Subject: Re: [2.5. PATCH] cpufreq: correct initialization on Intel Coppermines
Date: Sat, 14 Jun 2003 04:46:11 -0400 [thread overview]
Message-ID: <20030614084611.GA10182@bouh.unh.edu> (raw)
In-Reply-To: <20021108092241.A1636@brodo.de>
On fri 08 nov 2002 09:30:08 GMT, Dominik Brodowski wrote:
> The detection process for speedstep-enabled Pentium III Coppermines is
> considered proprietary by Intel.
They seem to have changed their mind:
http://www.intel.com/support/processors/sb/cs-003779-prd24.htm
Which looks a bit like what was implemented at first. Here is a patch.
I kept the setup parameter, but it might be removed now?
--- linux-2.5.70-bk12/arch/i386/kernel/cpu/cpufreq/speedstep.c 2003-05-26 21:00:20.000000000 -0400
+++ linux/arch/i386/kernel/cpu/cpufreq/speedstep.c 2003-06-14 04:33:04.000000000 -0400
@@ -503,6 +503,15 @@
if (speedstep_coppermine)
return SPEEDSTEP_PROCESSOR_PIII_C;
+ /* if the processor is a mobile version,
+ * platform ID has bit 50 set
+ * it has SpeedStep technology if either
+ * bit 56 or 57 is set */
+ 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)))
+ return SPEEDSTEP_PROCESSOR_PIII_C;
+
printk(KERN_INFO "cpufreq: in case this is a SpeedStep-capable Intel Pentium III Coppermine\n");
printk(KERN_INFO "cpufreq: processor, please pass the boot option or module parameter\n");
printk(KERN_INFO "cpufreq: `speedstep_coppermine=1` to the kernel. Thanks!\n");
next prev parent reply other threads:[~2003-06-14 8:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-08 8:22 [2.5. PATCH] cpufreq: correct initialization on Intel Coppermines Dominik Brodowski
2003-06-14 8:46 ` Samuel Thibault [this message]
[not found] ` <20030614095646.GA1702@brodo.de>
[not found] ` <20030614214943.GA4073@bouh.unh.edu>
[not found] ` <20030615095044.GD2009@brodo.de>
2003-06-15 18:04 ` [2.5 PATCH] bug if cpufreq driver initialization fails Samuel Thibault
2003-06-15 18:16 ` Russell King
2003-06-15 18:25 ` Samuel Thibault
2003-06-15 18:48 ` Russell King
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=20030614084611.GA10182@bouh.unh.edu \
--to=samuel.thibault@ens-lyon.fr \
--cc=cpufreq@www.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@brodo.de \
--cc=samuel.thibault@fnac.net \
--cc=torvalds@transmeta.com \
/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;
as well as URLs for NNTP newsgroup(s).