From: Bruno Ducrot <ducrot@poupinou.org>
To: Dave Jones <davej@redhat.com>
Cc: cpufreq@www.linux.org.uk
Subject: Re: [PATCH][powernow-k7] correcting SGTC. Timer is based upon FSB.
Date: Wed, 14 Apr 2004 14:47:17 +0200 [thread overview]
Message-ID: <20040414124717.GD8953@poupinou.org> (raw)
In-Reply-To: <20040414122321.GH24970@redhat.com>
On Wed, Apr 14, 2004 at 01:23:22PM +0100, Dave Jones wrote:
> On Wed, Apr 14, 2004 at 02:18:57PM +0200, Bruno Ducrot wrote:
> > Already? Thanks!
> > I actually wanted to submit also the ACPI integration...
>
> Ok, I'll look at folding that in too after lunch.
>
> > Warning: it will only half work on the ACER Aspire, though: there is
> > no pstate in the DSDT corresponding to the max frequency...
> > I'm looking how to handle that correctly, probably at the init stage,
> > if the max frequency is not given, then add it to powernow_table. It's
> > really ugly, but I don't know how to make that OK.
> > Suggestion is of course welcome..
>
> Blacklist its BIOS with DMI tables, and adjust accordingly?
Yep. Patch below (or I can send you the dmi output privately if you
prefer).
The machine is an ACER Aspire, look at:
http://bugzilla.kernel.org/show_bug.cgi?id=2025
> Is it fixed maybe in a BIOS update ?
I don't think so. Advice already done, don't know if the owner have
done that though.
>
> > * Integrate acpi perflib from Dominik.
> > * Use acpi if the PST tables are known to be broken (ASUS Aspire match one PST,
> > but give brain damaged values), or use ACPI if no PST found.
>
> Was that the one that had every entry exactly the same ?
It give:
powernow: cpuid: 0x781 fsb: 133 maxFID: 0x1 startvid: 0xb
powernow: FID: 0x4 (5.0x [665MHz]) VID: 0xc (1.400V)
powernow: FID: 0x6 (6.0x [798MHz]) VID: 0xc (1.400V)
powernow: FID: 0x8 (7.0x [931MHz]) VID: 0xc (1.400V)
powernow: FID: 0x9 (7.5x [997MHz]) VID: 0xc (1.400V)
powernow: FID: 0x9 (7.5x [997MHz]) VID: 0xc (1.400V)
Whereas actually it's a mobile (startvid is 0xb. So, voltage can be
scaled).
And there is 'only' two entries with same values.
With ACPI, (not tested yet) it should give that:
FID: 0xd (9.5x [1263.500MHz] VID: 0xc (1.400mV)
FID: 0xa (8.0x [1064.000MHz] VID: 0xd (1.350mV)
FID: 0x8 (7.0x [931.000MHz] VID: 0xe (1.300mV)
FID: 0x6 (6.0x [798.000MHz] VID: 0x11 (1.250mV)
FID: 0x4 (5.0x [665.000MHz] VID: 0x13 (1.200mV)
It's better, but max still not here.
--- linux-dj-cpufreq/arch/i386/kernel/dmi_scan.c 2004/04/14 12:28:28 1.1
+++ linux-dj-cpufreq/arch/i386/kernel/dmi_scan.c 2004/04/14 12:29:42
@@ -921,6 +921,12 @@ static __initdata struct dmi_blacklist d
NO_MATCH, NO_MATCH,
} },
+ { acer_cpufreq_pst, "Acer Aspire", {
+ MATCH(DMI_SYS_VENDOR, "Insyde Software"),
+ MATCH(DMI_BIOS_VERSION, "3A23"),
+ NO_MATCH, NO_MATCH,
+ } },
+
#ifdef CONFIG_ACPI_BOOT
/*
* If your system is blacklisted here, but you find that acpi=force
--
Bruno Ducrot
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
next prev parent reply other threads:[~2004-04-14 12:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-14 10:36 [PATCH][powernow-k7] correcting SGTC. Timer is based upon FSB Bruno Ducrot
2004-04-14 10:41 ` Dave Jones
2004-04-14 12:18 ` Bruno Ducrot
2004-04-14 12:23 ` Dave Jones
2004-04-14 12:47 ` Bruno Ducrot [this message]
2004-04-14 13:28 ` Bruno Ducrot
2004-04-14 13:31 ` Dave Jones
2004-04-14 13:52 ` Bruno Ducrot
2004-04-14 17:44 ` Dave Jones
2004-04-14 18:48 ` Dominik Brodowski
2004-04-14 18:58 ` Bruno Ducrot
2004-04-14 19:19 ` Dominik Brodowski
2004-04-15 8:45 ` Bruno Ducrot
2004-04-14 19:02 ` Dominik Brodowski
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=20040414124717.GD8953@poupinou.org \
--to=ducrot@poupinou.org \
--cc=cpufreq@www.linux.org.uk \
--cc=davej@redhat.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