From: Dominik Brodowski <linux@dominikbrodowski.de>
To: Kronos <kronos@kronoz.cjb.net>
Cc: Dave Jones <davej@redhat.com>, Bruno Ducrot <ducrot@poupinou.org>,
cpufreq@www.linux.org.uk
Subject: Re: [PATCH] Fix cpu recognization if BIOS does not set cpu to max freq [was: Re: [Bug 3600] New: Cpu recognization fails after upgrade from 2.6.7 to 2.6.9]
Date: Fri, 29 Oct 2004 17:35:44 +0200 [thread overview]
Message-ID: <20041029153544.GA9799@dominikbrodowski.de> (raw)
In-Reply-To: <20041023214325.GA13050@dreamland.darkstar.lan>
On Sat, Oct 23, 2004 at 11:43:25PM +0200, Kronos wrote:
> On some notebooks BIOS fails to set K7 CPUs to the maximum frequency.
> powernow-k7 fails to load or falls back to ACPI (if available) with
> wrong values. If a bogus FSB speed is detected a workaround should be
> used.
>
> Signed-off-by: Luca Tettamanti <kronos@kronoz.cjb.net>
>
> --- a/arch/i386/kernel/cpu/cpufreq/powernow-k7.c 2004-10-23 22:29:40.000000000 +0200
> +++ b/arch/i386/kernel/cpu/cpufreq/powernow-k7.c 2004-10-23 22:39:23.000000000 +0200
> @@ -598,6 +598,13 @@
>
> /* A K7 with powernow technology is set to max frequency by BIOS */
> fsb = (10 * cpu_khz) / fid_codes[fidvidstatus.bits.MFID];
> + if (fsb < 99000) {
> + /* BIOS did not set the processor to the max frequency.
> + * This does not respect AMD recomandation, but it happens.
> + */
So if the motherboard allows for modifying the FSB, and I decide to set the
FSB to 98 MHz, it breaks... What about the following approaches?
- yet another DMI table?
- there's an entry "fsbspeed" in pst_s. Is this useful to determining the
FSB, and then checking whether FSB*CFID makes more sense than FSB*MFID
when comparing it to cpu_khz?
Dominik
next prev parent reply other threads:[~2004-10-29 15:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-20 14:13 [Bug 3600] New: Cpu recognization fails after upgrade from 2.6.7 to 2.6.9 bugme-daemon
2004-10-20 15:47 ` Kronos
2004-10-20 16:05 ` Daniele Bonomi
2004-10-20 16:51 ` Kronos
2004-10-21 10:25 ` Bruno Ducrot
2004-10-21 16:10 ` Kronos
2004-10-23 21:43 ` [PATCH] Fix cpu recognization if BIOS does not set cpu to max freq [was: Re: [Bug 3600] New: Cpu recognization fails after upgrade from 2.6.7 to 2.6.9] Kronos
2004-10-29 15:35 ` Dominik Brodowski [this message]
2004-11-10 20:15 ` Bruno Ducrot
2004-11-02 21:10 ` [Bug 3600] New: Cpu recognization fails after upgrade from 2.6.7 to 2.6.9 Dave Jones
2004-11-02 22:13 ` [PATCH for other issue included] " Dominik Brodowski
2004-10-20 19:37 ` Daniele Bonomi
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=20041029153544.GA9799@dominikbrodowski.de \
--to=linux@dominikbrodowski.de \
--cc=cpufreq@www.linux.org.uk \
--cc=davej@redhat.com \
--cc=ducrot@poupinou.org \
--cc=kronos@kronoz.cjb.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.