cpufreq Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Dominik Brodowski <linux@dominikbrodowski.de>
To: Pavel Machek <pavel@ucw.cz>
Cc: Bruno Ducrot <ducrot@poupinou.org>,
	Cpufreq mailing list <cpufreq@www.linux.org.uk>
Subject: Re: My latest powernow-k8.c
Date: Fri, 19 Mar 2004 15:33:06 +0100	[thread overview]
Message-ID: <20040319143306.GA7246@dominikbrodowski.de> (raw)
In-Reply-To: <20040319135605.GD248@elf.ucw.cz>


[-- Attachment #1.1: Type: text/plain, Size: 1449 bytes --]

On Fri, Mar 19, 2004 at 02:56:05PM +0100, Pavel Machek wrote:
> 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.

1.8 GHz * 0.88 = 1584000 kHz -- min and max are set to this value at first.
As there is no state the CPU can be set to in between min and max, the max
value is increased to the next higher state [see
cpufreq_frequency_table_verify()] So there's nothing strange here, IMHO.

	Dominik

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

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

_______________________________________________
Cpufreq mailing list
Cpufreq@www.linux.org.uk
http://www.linux.org.uk/mailman/listinfo/cpufreq

  reply	other threads:[~2004-03-19 14:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <99F2150714F93F448942F9A9F112634C1163C59A@txexmtae.amd.com>
2004-03-19 11:24 ` My latest powernow-k8.c Pavel Machek
2004-03-19 12:41   ` Bruno Ducrot
2004-03-19 13:35     ` Dominik Brodowski
2004-03-19 13:56       ` Pavel Machek
2004-03-19 14:33         ` Dominik Brodowski [this message]
2004-03-19 15:52           ` Bruno Ducrot
2004-03-20  8:28             ` 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=20040319143306.GA7246@dominikbrodowski.de \
    --to=linux@dominikbrodowski.de \
    --cc=cpufreq@www.linux.org.uk \
    --cc=ducrot@poupinou.org \
    --cc=pavel@ucw.cz \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox