All of lore.kernel.org
 help / color / mirror / Atom feed
* Call4Response: Correct PST table for ATHLONs
@ 2003-07-02  7:52 Lars Gemeinhardt
  2003-07-02  9:13 ` Gregor Hlawacek
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Lars Gemeinhardt @ 2003-07-02  7:52 UTC (permalink / raw)
  To: cpufreq

Hello cpufreq-user and developer,

can everybody with an correct PST table (diffent FIDs and VIDs) and an 
ATHLON cpu post the "dmesg" snip (you get this using the dmesg command 
after the modul is loaded) to this mailing-list...
Maybe we can setup with this the correct values to the cpufreq driver 
(the K7 powernow part)...then otherwise the Acer and Sony notebooks 
doesn't work perfectly :-(

Thanks in advanced

Ciao Lars

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Call4Response: Correct PST table for ATHLONs
  2003-07-02  7:52 Call4Response: Correct PST table for ATHLONs Lars Gemeinhardt
@ 2003-07-02  9:13 ` Gregor Hlawacek
  2003-07-02 10:05 ` Matteo
  2003-07-02 14:02 ` Ducrot Bruno
  2 siblings, 0 replies; 7+ messages in thread
From: Gregor Hlawacek @ 2003-07-02  9:13 UTC (permalink / raw)
  To: Cpufreq

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 1716 bytes --]

Am Mittwoch, 2. Juli 2003 09:52 schrieb Lars Gemeinhardt:
> Hello cpufreq-user and developer,
>
> can everybody with an correct PST table (diffent FIDs and VIDs) and an
> ATHLON cpu post the "dmesg" snip (you get this using the dmesg command
> after the modul is loaded) to this mailing-list...
> Maybe we can setup with this the correct values to the cpufreq driver
> (the K7 powernow part)...then otherwise the Acer and Sony notebooks
> doesn't work perfectly :-(

Your wish is my command:

This is a Vaio PCG-FX601 (Mobile Duron at 1100Mhz) running 2.4.21-rc1 and 
cpufreq-2.4.21-pre4-3 plus acpi and swsusp patches

Here the is dmesg (hope it helps):

powernow: AMD K7 CPU detected.
powernow: PowerNOW! Technology present. Can scale: frequency and voltage.
powernow: Found PSB header at c00f74d0
powernow: Table version: 0x12
powernow: Flags: 0x0 (Mobile voltage regulator)
powernow: Settling Time: 100 microseconds.
powernow: Has 28 PST tables. (Only dumping ones relevant to this CPU).
powernow: PST:9 (@c00f757a)
powernow:  cpuid: 0x762  fsb: 100        maxFID: 0x0     startvid: 0xc
powernow:    FID: 0x4 (5.0x [500MHz])    VID: 0x13 (1.200V)
powernow:    FID: 0x6 (6.0x [600MHz])    VID: 0x13 (1.200V)
powernow:    FID: 0x8 (7.0x [700MHz])    VID: 0x11 (1.250V)
powernow:    FID: 0xc (9.0x [900MHz])    VID: 0xd (1.350V)
powernow:    FID: 0x0 (11.0x [1100MHz])  VID: 0xc (1.400V)
powernow: Minimum speed 500 MHz. Maximum speed 1100 MHz.

Gregor

-- 
Gregor Hlawacek                                                  Austria
http://www.unileoben.ac.at/~m9327555/        May the source be with you!
 This posting is 100% M$ free. Guaranteed by Tux, the friendly penguin.

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Call4Response: Correct PST table for ATHLONs
  2003-07-02  7:52 Call4Response: Correct PST table for ATHLONs Lars Gemeinhardt
  2003-07-02  9:13 ` Gregor Hlawacek
@ 2003-07-02 10:05 ` Matteo
  2003-07-02 14:02 ` Ducrot Bruno
  2 siblings, 0 replies; 7+ messages in thread
From: Matteo @ 2003-07-02 10:05 UTC (permalink / raw)
  To: cpufreq

Alle 09:52, mercoledì 2 luglio 2003, Lars Gemeinhardt ha scritto:
> Hello cpufreq-user and developer,
>
> can everybody with an correct PST table (diffent FIDs and VIDs) and an
> ATHLON cpu post the "dmesg" snip (you get this using the dmesg command
> after the modul is loaded) to this mailing-list...
> Maybe we can setup with this the correct values to the cpufreq driver
> (the K7 powernow part)...then otherwise the Acer and Sony notebooks
> doesn't work perfectly :-(

This is an Acer Aspire 1300DXV with and Amd Mobile Duron 1200MHz running Linux 
2.5.70 vanilla

powernow: AMD K7 CPU detected.
powernow: PowerNOW! Technology present. Can scale: frequency and voltage.
powernow: Found PSB header at c00e5100
powernow: Table version: 0x12
powernow: Flags: 0x0 (Mobile voltage regulator)
powernow: Settling Time: 100 microseconds.
powernow: Has 1 PST tables. (Only dumping ones relevant to this CPU).
powernow: PST:0 (@c00e5110)
powernow:  cpuid: 0x762 fsb: 100        maxFID: 0x2     startvid: 0xb
powernow:    FID: 0x4 (5.0x [500MHz])   VID: 0x13 (1.200V)
powernow:    FID: 0x6 (6.0x [600MHz])   VID: 0x13 (1.200V)
powernow:    FID: 0xa (8.0x [800MHz])   VID: 0xe (1.300V)
powernow:    FID: 0xe (10.0x [1000MHz]) VID: 0xc (1.400V)
powernow:    FID: 0x2 (12.0x [1200MHz]) VID: 0xb (1.450V)

powernow: Minimum speed 500 MHz. Maximum speed 1200 MHz.

Matteo
-- 
'Detectoring is like gambling,' said Vimes, putting down the clove. 'The 
secret is to know the winner in advance.'
(Jingo)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Call4Response: Correct PST table for ATHLONs
  2003-07-02  7:52 Call4Response: Correct PST table for ATHLONs Lars Gemeinhardt
  2003-07-02  9:13 ` Gregor Hlawacek
  2003-07-02 10:05 ` Matteo
@ 2003-07-02 14:02 ` Ducrot Bruno
  2003-07-02 14:42   ` Lars Gemeinhardt
  2 siblings, 1 reply; 7+ messages in thread
From: Ducrot Bruno @ 2003-07-02 14:02 UTC (permalink / raw)
  To: Lars Gemeinhardt; +Cc: cpufreq

On Wed, Jul 02, 2003 at 09:52:12AM +0200, Lars Gemeinhardt wrote:
> Hello cpufreq-user and developer,
> 
> can everybody with an correct PST table (diffent FIDs and VIDs) and an 
> ATHLON cpu post the "dmesg" snip (you get this using the dmesg command 
> after the modul is loaded) to this mailing-list...
> Maybe we can setup with this the correct values to the cpufreq driver 
> (the K7 powernow part)...then otherwise the Acer and Sony notebooks 
> doesn't work perfectly :-(
> 


You may want perhaps to get x86info instead.

Just do something like that:

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/x86info co x86info

then edit AMD/dumppsb.c
at a line which look like

if ((etuple(cpu) == pst->cpuid) && (maxfid==pst->maxfid) && (startvid==pst->startvid))

replace with
if (1)

Then all PST tables should be dumped for different cpuid.


-- 
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Call4Response: Correct PST table for ATHLONs
  2003-07-02 14:02 ` Ducrot Bruno
@ 2003-07-02 14:42   ` Lars Gemeinhardt
  2003-07-02 14:51     ` Ducrot Bruno
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Gemeinhardt @ 2003-07-02 14:42 UTC (permalink / raw)
  To: Ducrot Bruno; +Cc: cpufreq

Ducrot Bruno wrote:

>On Wed, Jul 02, 2003 at 09:52:12AM +0200, Lars Gemeinhardt wrote:
>  
>
>>Hello cpufreq-user and developer,
>>
>>can everybody with an correct PST table (diffent FIDs and VIDs) and an 
>>ATHLON cpu post the "dmesg" snip (you get this using the dmesg command 
>>after the modul is loaded) to this mailing-list...
>>Maybe we can setup with this the correct values to the cpufreq driver 
>>(the K7 powernow part)...then otherwise the Acer and Sony notebooks 
>>doesn't work perfectly :-(
>>
>>    
>>
>
>
>You may want perhaps to get x86info instead.
>
>Just do something like that:
>
>cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/x86info co x86info
>
>then edit AMD/dumppsb.c
>at a line which look like
>
>if ((etuple(cpu) == pst->cpuid) && (maxfid==pst->maxfid) && (startvid==pst->startvid))
>
>replace with
>if (1)
>
>Then all PST tables should be dumped for different cpuid.
>
>
>  
>
I think this is not what I expect ... I tested x86info and here is my 
output-snip:

FID changes will happen
VID changes will happen
Current VID multiplier code: 1.300
Current FSB multiplier code: 13.0
Voltage ID codes: Maximum=1.300V Startup=1.300V Currently=1.300V
Frequency ID codes: Maximum=13.0x Startup=5.0x Currently=13.0x
Decoding BIOS PST tables (maxfid=14, startvid=e)
Found PSB header at 0x4018f4e0
Table version: 0x12
Flags: 0x0 (Mobile voltage regulator)
Settling Time: 100 microseconds.
Has 28 PST tables. (Only dumping ones relevant to this CPU).
 PST:26 (@0x4018f6bc)
  cpuid: 0x780	  fsb: 100	  maxFID: 0x14	  startvid: 0xe
  num of p states in this table: 5
    FID: 0x4 (5.0x [500MHz])	VID: 0xe (1.300V)
    FID: 0x8 (7.0x [700MHz])	VID: 0xe (1.300V)
    FID: 0xc (9.0x [900MHz])	VID: 0xe (1.300V)
    FID: 0x0 (11.0x [1100MHz])	VID: 0xe (1.300V)
    FID: 0x14 (13.0x [1300MHz])	VID: 0xe (1.300V)

Connector type: Socket A (462 Pin PGA)

I think the FIDs are OK, but the VIDs are all equal (but "VID changes 
will happen") - this means the cpu consumes to much power :-(
My idea was that people with a correct PST table for the ATHLON 1500+ 
(and other CPUs) can give the right values, because in my opinion this 
values are CPU specific and not PST/BIOS specific....

Ciao Lars

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Call4Response: Correct PST table for ATHLONs
  2003-07-02 14:42   ` Lars Gemeinhardt
@ 2003-07-02 14:51     ` Ducrot Bruno
  2003-07-02 15:19       ` Lars Gemeinhardt
  0 siblings, 1 reply; 7+ messages in thread
From: Ducrot Bruno @ 2003-07-02 14:51 UTC (permalink / raw)
  To: Lars Gemeinhardt; +Cc: cpufreq

On Wed, Jul 02, 2003 at 04:42:26PM +0200, Lars Gemeinhardt wrote:
> Ducrot Bruno wrote:
> 
> >On Wed, Jul 02, 2003 at 09:52:12AM +0200, Lars Gemeinhardt wrote:
> > 
> >
> >>Hello cpufreq-user and developer,
> >>
> >>can everybody with an correct PST table (diffent FIDs and VIDs) and an 
> >>ATHLON cpu post the "dmesg" snip (you get this using the dmesg command 
> >>after the modul is loaded) to this mailing-list...
> >>Maybe we can setup with this the correct values to the cpufreq driver 
> >>(the K7 powernow part)...then otherwise the Acer and Sony notebooks 
> >>doesn't work perfectly :-(
> >>
> >>   
> >>
> >
> >
> >You may want perhaps to get x86info instead.
> >
> >Just do something like that:
> >
> >cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/x86info co 
> >x86info
> >
> >then edit AMD/dumppsb.c
> >at a line which look like
> >
> >if ((etuple(cpu) == pst->cpuid) && (maxfid==pst->maxfid) && 
> >(startvid==pst->startvid))
> >
> >replace with
> >if (1)
> >
> >Then all PST tables should be dumped for different cpuid.
> >
> >
> > 
> >
> I think this is not what I expect ... I tested x86info and here is my 
> output-snip:
> 
> FID changes will happen
> VID changes will happen
> Current VID multiplier code: 1.300
> Current FSB multiplier code: 13.0
> Voltage ID codes: Maximum=1.300V Startup=1.300V Currently=1.300V
> Frequency ID codes: Maximum=13.0x Startup=5.0x Currently=13.0x
> Decoding BIOS PST tables (maxfid=14, startvid=e)
> Found PSB header at 0x4018f4e0
> Table version: 0x12
> Flags: 0x0 (Mobile voltage regulator)
> Settling Time: 100 microseconds.
> Has 28 PST tables. (Only dumping ones relevant to this CPU).
> PST:26 (@0x4018f6bc)
>  cpuid: 0x780	  fsb: 100	  maxFID: 0x14	  startvid: 0xe
>  num of p states in this table: 5
>    FID: 0x4 (5.0x [500MHz])	VID: 0xe (1.300V)
>    FID: 0x8 (7.0x [700MHz])	VID: 0xe (1.300V)
>    FID: 0xc (9.0x [900MHz])	VID: 0xe (1.300V)
>    FID: 0x0 (11.0x [1100MHz])	VID: 0xe (1.300V)
>    FID: 0x14 (13.0x [1300MHz])	VID: 0xe (1.300V)
> 
> Connector type: Socket A (462 Pin PGA)
> 
> I think the FIDs are OK, but the VIDs are all equal (but "VID changes 
> will happen") - this means the cpu consumes to much power :-(
> My idea was that people with a correct PST table for the ATHLON 1500+ 
> (and other CPUs) can give the right values, because in my opinion this 
> values are CPU specific and not PST/BIOS specific....
> 

well, actually I meant for peoples with 'good' PST.

If you look the output from x86info:

> Has 28 PST tables. (Only dumping ones relevant to this CPU).
      ^^              ^^^^ 

Therefore, by replacing in AMD/dumppst.c
if ((etuple(cpu) == pst->cpuid) && (maxfid==pst->maxfid) && (startvid==pst->startvid))

by
if(1)

you may have hopefully more 'good' PST tables from peoples which have
good bios perhaps.

-- 
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Call4Response: Correct PST table for ATHLONs
  2003-07-02 14:51     ` Ducrot Bruno
@ 2003-07-02 15:19       ` Lars Gemeinhardt
  0 siblings, 0 replies; 7+ messages in thread
From: Lars Gemeinhardt @ 2003-07-02 15:19 UTC (permalink / raw)
  To: Ducrot Bruno; +Cc: cpufreq

Ducrot Bruno wrote:

>>
>>    
>>
>
>well, actually I meant for peoples with 'good' PST.
>  
>
OK - fine ...

>If you look the output from x86info:
>
>  
>
>>Has 28 PST tables. (Only dumping ones relevant to this CPU).
>>    
>>
>      ^^              ^^^^ 
>
>Therefore, by replacing in AMD/dumppst.c
>if ((etuple(cpu) == pst->cpuid) && (maxfid==pst->maxfid) && (startvid==pst->startvid))
>
>by
>if(1)
>
>you may have hopefully more 'good' PST tables from peoples which have
>good bios perhaps.
>
>  
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-07-02 15:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-02  7:52 Call4Response: Correct PST table for ATHLONs Lars Gemeinhardt
2003-07-02  9:13 ` Gregor Hlawacek
2003-07-02 10:05 ` Matteo
2003-07-02 14:02 ` Ducrot Bruno
2003-07-02 14:42   ` Lars Gemeinhardt
2003-07-02 14:51     ` Ducrot Bruno
2003-07-02 15:19       ` Lars Gemeinhardt

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.