All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Bruno Ducrot <ducrot@poupinou.org>
Cc: cpufreq@www.linux.org.uk
Subject: Re: [PATCH][powernow-k7] correcting SGTC. Timer is based upon FSB.
Date: Wed, 14 Apr 2004 18:44:07 +0100	[thread overview]
Message-ID: <20040414174407.GL24970@redhat.com> (raw)
In-Reply-To: <20040414121857.GC8953@poupinou.org>

On Wed, Apr 14, 2004 at 02:18:57PM +0200, Bruno Ducrot wrote:

 > I actually wanted to submit also the ACPI integration...

I just tried this out on my Compaq Evo 1015.  It has working
PST, so just uses that.  I got curious though, and hardwired it
to fall back to the ACPI method. This is what it comes out with on
PST..

powernow: PowerNOW! Technology present. Can scale: frequency and voltage.
powernow: FSB: 132.525 MHz
powernow: Found PSB header at 020f0800
powernow: Table version: 0x12
powernow: Flags: 0x0 (Mobile voltage regulator)
powernow: Settling Time: 100 microseconds.
powernow: Has 31 PST tables. (Only dumping ones relevant to this CPU).
powernow: PST:26 (@020f09c2)
powernow:  cpuid: 0x780 fsb: 133        maxFID: 0xf     startvid: 0x9
powernow:    FID: 0x12 (4.0x [530MHz])  VID: 0x13 (1.200V)
powernow:    FID: 0x4 (5.0x [662MHz])   VID: 0x13 (1.200V)
powernow:    FID: 0x6 (6.0x [795MHz])   VID: 0x13 (1.200V)
powernow:    FID: 0xa (8.0x [1060MHz])  VID: 0xd (1.350V)
powernow:    FID: 0xf (10.5x [1391MHz]) VID: 0x9 (1.550V)
powernow: SGTC: 13333
powernow: Minimum speed 530 MHz. Maximum speed 1391 MHz.

And with the hardwired acpi fallback..

powernow: Trying ACPI perflib
powernow: acpi:  P0: 1400 MHz, 35000 mW, 125 uS, control 009c412f, status 0000012f, vid: 09 fid: 0f SGTC: 10000
powernow:    FID: 0xf (10.5x [13913MHz])        VID: 0x9 (1.550V)
powernow: acpi:  P1: 1100 MHz, 15487 mW, 125 uS, control 009c41aa, status 000001aa, vid: 0d fid: 0a SGTC: 10000
powernow:    FID: 0xa (8.0x [10600MHz]) VID: 0xd (1.350V)
powernow: acpi:  P2: 800 MHz, 12310 mW, 125 uS, control 009c4266, status 00000266, vid: 13 fid: 06 SGTC: 10000
powernow:    FID: 0x6 (6.0x [7950MHz])  VID: 0x13 (1.200V)
powernow: acpi:  P3: 660 MHz, 12310 mW, 125 uS, control 009c4264, status 00000264, vid: 13 fid: 04 SGTC: 10000
powernow:    FID: 0x4 (5.0x [6625MHz])  VID: 0x13 (1.200V)
powernow: acpi:  P4: 530 MHz, 10258 mW, 125 uS, control 009c4272, status 00000272, vid: 13 fid: 12 SGTC: 10000
powernow:    FID: 0x12 (4.0x [5300MHz]) VID: 0x13 (1.200V)
powernow: Minimum speed 530 MHz. Maximum speed 13913 MHz.

Maximum speed seems off by a factor of 10.
Formatting of that debug info could also probably be cleaned up a little,
as its very wide.  How do you feel about adding a module_param to force
fallback, so we can get a few more people testing it too ?

		Dave

  parent reply	other threads:[~2004-04-14 17:44 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
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 [this message]
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=20040414174407.GL24970@redhat.com \
    --to=davej@redhat.com \
    --cc=cpufreq@www.linux.org.uk \
    --cc=ducrot@poupinou.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 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.