From: Dave Jones <davej@redhat.com>
To: "Rafał Bilski" <rafalbilski@interia.pl>
Cc: Dave Jones <davej@codemonkey.org.uk>, cpufreq@lists.linux.org.uk
Subject: Re: [PATCH] Longhaul - Use information from Longhaul
Date: Sun, 9 Jul 2006 15:00:28 -0400 [thread overview]
Message-ID: <20060709190027.GB10044@redhat.com> (raw)
In-Reply-To: <44B0D22D.2030805@interia.pl>
On Sun, Jul 09, 2006 at 11:53:49AM +0200, Rafał Bilski wrote:
> First. I lost very important line in do_powersaver. Again. Sorry.
So why is this diff longer than one line ? :-)
> Longhaul don't report minimum multiplier. It reports minimum frequency.
> So not always minimum multiplier at minimum FSB is really minimum.
I don't follow your logic. How can lowest mult * lowest fsb not be
lowest frequency ? The MSRs most definitly only report the multipliers.
> This is most important for Nehemiah witch allows FSB 66MHz, 100MHz and
> 133MHz. Ezra seems to support only 100MHz and 133MHz so in this case
> minimum multiplier at min FSB reported is in fact minimum PLL multiplier.
Note, that we don't (and won't) do FSB scaling even the hardware in some
variants of longhaul claim to support it. The reality is that there are
very few boards out there that can do it, and it's impossible to detect
at runtime which boards they are. Given this, all boards should always boot
up at the fastest FSB, so the FSB we read at startup should remain constant.
> Looks like all VIA CPUs allow to read FSB frequency from EBL_CR_POWERON.
> Only some have 66MHz reserved.
ISTR there was at least one (Ezra maybe?) that didn't.
> More precise speed calculations. This is bad when kernel first reports
> 999MHz and we are saying later that max is 997MHz.
I'd rather keep the code readable and lose a tiny bit of accuracy here.
The tables match the descriptions in the datasheets exactly, which makes
it easier to review.
Dave
--
http://www.codemonkey.org.uk
next prev parent reply other threads:[~2006-07-09 19:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-09 9:53 [PATCH] Longhaul - Use information from Longhaul Rafał Bilski
2006-07-09 19:00 ` Dave Jones [this message]
2006-07-09 19:47 ` Rafał Bilski
2006-07-09 20:08 ` Rafał Bilski
2006-07-09 21:00 ` Dave Jones
2006-07-09 21:45 ` Rafał Bilski
2006-07-10 5:45 ` Rafał Bilski
2006-07-10 14:28 ` Dave Jones
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=20060709190027.GB10044@redhat.com \
--to=davej@redhat.com \
--cc=cpufreq@lists.linux.org.uk \
--cc=davej@codemonkey.org.uk \
--cc=rafalbilski@interia.pl \
/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 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.