cpufreq: powernow-k8 frequency transitions question
Hi!
I already asked this question on [email protected] but maybe this list would be a more appropriate place...
I'm currently reading and playing with the powernow-k8 cpufreq driver module. However so far I wasn't able to find out how frequency transitions are dealt with that have to be made using intermediate steps, ie. transitions which cannot be done in one single step.
(I read about this at
http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/26094.PDF
p. 269f.)
I found safety guards which return an error if an invalid frequency transition ("lo-lo transition") is requested. Is this the only support for these transitions currently implemented or did I miss something? Is there more advanced support simply missing, or is the current behaviour sufficient, and if yes, why does this suffice?
How do the conservative/ondemand cpufreq governors cope with the kernel advertising frequencies it cannot directly transition between?
I'd be really cool if someone could enlighten me, just some pointers at powernow-k8.c functions I should take a closer look at might already help. :-)
Greetings,
Gunter
Signature · 4 lines
One of the universal rules of happiness is: always be wary of any helpful item that weighs less than its operating manual. -- (Terry Pratchett, Jingo) *** PGP-Verschlüsselung bei eMails erwünscht :-) *** PGP: 0x1128F25F ***
Quoted 2 lines · Gunter Ohrner
I already asked this question on [email protected] but maybe this list would be a more appropriate place...
The proceedings of the Ottawa Linux Symposium 2004 (available online) have a detailed paper on the powernow-k8 driver.
Quoted 9 lines
I'm currently reading and playing with the powernow-k8 cpufreq driver module. However so far I wasn't able to find out how frequency transitions are dealt with that have to be made using intermediate steps, ie. transitions which cannot be done in one single step.
(I read about this at
http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/26094.PDF
p. 269f.)
Quoted 8 lines
I found safety guards which return an error if an invalid frequency transition ("lo-lo transition") is requested. Is this the only support for these transitions currently implemented or did I miss something? Is there more advanced support simply missing, or is the current behaviour sufficient, and if yes, why does this suffice?
How do the conservative/ondemand cpufreq governors cope with the kernel advertising frequencies it cannot directly transition between?
Step by step. The frequency/voltage transistion functions in powernow-k8.c go through them in loops.
-Andi
Quoted 4 lines · Andi Kleen
Quoted 2 lines
I already asked this question on [email protected] but maybe this list would be a more appropriate place...
The proceedings of the Ottawa Linux Symposium 2004 (available online) have a detailed paper on the powernow-k8 driver.
Ah, thanks. I found it, read it, and will soon compare the description to the current implementation.
From what I saw I already figured out the most important parts myself, as the driver is rather readable, but the paper contained some interesting additional details and reasons for some things I still wondered about.
Quoted 4 lines
Quoted 2 lines
How do the conservative/ondemand cpufreq governors cope with the kernel advertising frequencies it cannot directly transition between?
Step by step. The frequency/voltage transistion functions in
powernow-k8.cgo through them in loops.
Oh, ok, I must have missed that part in the driver, I will look for it.
Thanks a lot! :-)
Greetings,
Gunter
Signature · 4 lines
The students were staring at her in the manner of those who have heard of the species 'female' but have never expected to get this close to one. -- (Terry Pratchett, Soul Music) *** PGP-Verschlüsselung bei eMails erwünscht :-) *** PGP: 0x1128F25F ***