From: Harald Welte <HaraldWelte@viatech.com>
To: Matthew Garrett <mjg@redhat.com>
Cc: "Michael S. Zick" <lkml@morethan.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
Duane Griffin <duaneg@dghda.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Dave Jones <davej@redhat.com>
Subject: Re: [PATCH 2/2] CPUFREQ: Mark e_powersaver driver as EXPERIMENTAL and DANGEROUS
Date: Tue, 9 Jun 2009 02:13:35 +0800 [thread overview]
Message-ID: <20090608181335.GC4455@prithivi.gnumonks.org> (raw)
In-Reply-To: <20090608120846.GA13328@srcf.ucam.org>
On Mon, Jun 08, 2009 at 01:08:46PM +0100, Matthew Garrett wrote:
> On Mon, Jun 08, 2009 at 06:29:36PM +0800, Harald Welte wrote:
> > The e_powersaver driver for VIA's C7 CPU's needs to be marked as
> > DANGEROUS as it configures the CPU to power states that are out
> > of specification.
> >
> > According to Centaur, all systems with C7 and Nano CPU's support
> > the ACPI p-state method. Thus, the acpi-cpufreq driver should
> > be used instead.
>
> Do we know if vendors are actually shipping with the appropriate BIOS
> tables?
I strongly assume so, since that is also how the Windows XP driver works (as
I've been told by Centaur). So if a vendor decides to not ship with the
respective BIOS tables, the power management would fail on Windows, too.
> The number of people using e_powersaver seems to be suspiciously
> large, though perhaps that's just because the help text implied it was
> the right choice for C7.
yes, I think that is the case. I just had a brief look at the driver earlier
today with one of the key Centaur engineers, and he was very clear on it: Use
ACPI.
There are also other reasons to use ACPI. Let's imagine you are having a
system that uses a certain cpu that might clock up to 1600 MHz. But the system
vendor decides to use the CPU passively cooled and thus wants to restrict the
frequency to 1300MHz. The standard practise (as recommended by VIA/Centaur BIOS
writers guide) is to remove the > 1300MHz p-states from the ACPI tables.
So even if e_powersaver was fixed to not drive the CPU out of spec, it might
still do that on a particular system/board, where the vendor has decided to
limit CPU clock for cooling reasons.
--
- Harald Welte <HaraldWelte@viatech.com> http://linux.via.com.tw/
============================================================================
VIA Free and Open Source Software Liaison
next prev parent reply other threads:[~2009-06-08 18:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-08 10:29 Harald Welte
2009-06-08 12:08 ` Matthew Garrett
2009-06-08 13:00 ` Michael S. Zick
2009-06-08 18:13 ` Harald Welte [this message]
2009-06-08 18:38 ` Michael S. Zick
2009-06-08 13:06 ` Michael S. Zick
2009-06-08 13:15 ` Michael S. Zick
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=20090608181335.GC4455@prithivi.gnumonks.org \
--to=haraldwelte@viatech.com \
--cc=davej@redhat.com \
--cc=duaneg@dghda.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lkml@morethan.org \
--cc=mjg@redhat.com \
--cc=torvalds@linux-foundation.org \
/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
all inboxes | Powered by JetHome®