Skip to contentSkip to conversation

Build PST for AthlonXP

DISCUSSION Lukas Schrangl 2 participants 2 messages Feb 4, 2004 1 message not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Hi!

I don't know wether this is the right mailinglist for my problem, but at least I think here are some people who can help me.

Maybe someone remembers my problem: I have a AMD Athlon XP 2600+ mobile CPU but neither ACPI- performance states nor cpufreq/powernow-k7 (no PST matching this cpuid) do work.

Recently I browsed a bit through the powernow-k7 source and have now an idea how it works. It shouldn't be too difficult to set up my own PST for my CPU, should it?
I know about FIDs and VIDs and what they are good for, but can anyone explain me the structure of a PST and the PSB (links to some documents, ...)? The second thing: I could get the cpu- frequences that seem work (for my FIDs) from my SSDT, but how can I calculate the voltage (for the VIDs) matching the frequency, if there are only the mW given in the SSDT?

-Lukas-

Signature · 10 lines
GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 4 lines · Lukas Schrangl

Hi!

I don't know wether this is the right mailinglist for my problem, but at least I think here are some people who can help me.

Correct, the mailling list is the CPUFreq mailing list..

Quoted 3 lines

Maybe someone remembers my problem: I have a AMD Athlon XP 2600+ mobile CPU but neither ACPI- performance states nor cpufreq/powernow-k7 (no PST matching this cpuid) do work.

Retrieving configuration from ACPI is a work in progress. I do have some experimental patch for, but not publically available yet (it depends on others patches from Dominik, I'm not sure if that OK by now).

Quoted 3 lines

Recently I browsed a bit through the powernow-k7 source and have now an idea how it works. It shouldn't be too difficult to set up my own PST for my CPU, should it?

Well, not so, especially if you can retrieve the configuration for the different states.
The key is the control word, in the _PSS packages.

For example, suppose you have that:

Processor(..) {
	...
	Name (_PSS, Package () {	/* this may be a method, btw */
		Package () {
			0x0352,
			0x61A8,
			0x7D,
			0x009C414B,	/* that the control. */
			0x014B
		},
		Package () {
			...,
			...,
		}
	})

For the first one, this is 0x009C414B.
The layout seems to be:
bit 0-5: FID,
bit 6-10: VID,
bit 11-30: SGTC (or in other word 'latency' in 10 time micro second) bit 31-32: reserved.

Note that this is *not* confirmed by AMD people.

Quoted 6 lines

I know about FIDs and VIDs and what they are good for, but can anyone explain me the structure of a PST and the PSB (links to some documents, ...)? The second thing: I could get the cpu- frequences that seem work (for my FIDs) from my SSDT, but how can I calculate the voltage (for the VIDs) matching the frequency, if there are only the mW given in the SSDT?

BTW, I send to CPUFreq ML yesterday a patch in order to get a sysctl interface for overwritting a powernow k7 table.

http://www.poupinou.org/cpufreq/powernow-k7/

Cheers,

Signature · 11 lines
Bruno Ducrot

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


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn