From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: My latest powernow-k8.c Date: Fri, 19 Mar 2004 14:56:05 +0100 Sender: cpufreq-bounces@www.linux.org.uk Message-ID: <20040319135605.GD248@elf.ucw.cz> References: <99F2150714F93F448942F9A9F112634C1163C59A@txexmtae.amd.com> <20040319112429.GB5726@elf.ucw.cz> <20040319124122.GG28592@poupinou.org> <20040319133517.GA28122@dominikbrodowski.de> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20040319133517.GA28122@dominikbrodowski.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: cpufreq-bounces+glkc-cpufreq=gmane.org@www.linux.org.uk Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Bruno Ducrot , paul.devriendt@amd.com, Cpufreq mailing list Hi! > > > > Attached are my latest .c and .h ... I am sending the whole files rather than patches, as a check that I did not miss a patch that you wanted. Mail here has been a little less reliable that one might wish for. > > > > > > > > I added back in the cpu number in the dprintks to aid MP debugging. I fixed a PSB problem where the battery limits were getting lost. And, I tweaked the smp processor init stuff as discussed in emails. > > > > > > > > I am still thinking about the FIXME where Dominik asked for more validity checking. So, that is still FIXME. > > > > > > Huh, now this is strange: > > > > > > root@amd:~# echo "0%88%88%powersave" > /proc/cpufreq > > > root@amd:~# cat /proc/cpufreq > > > minimum CPU frequency - maximum CPU frequency - policy > > > CPU 0 1584000 kHz ( 88 %) - 1600000 kHz ( 88 %) - powersave > > > root@amd:~# > > Why is this strange? Can you elaborate, please? CPU can not do 1.584MHz. Why did it round 88% down to 1.584GHz but maximum frequency 1.6GHz? Kernel 2.6. Pavel -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?]