public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Matt Sealey" <matt@genesi-usa.com>
To: linux-pm@lists.osdl.org
Subject: PowerPC cpufreq using ICTC
Date: Tue, 27 Jun 2006 09:56:06 -0500	[thread overview]
Message-ID: <023301c699f9$d3e0a860$99dfdfdf@bakuhatsu.net> (raw)


Hello,

After a little discussion on linux-ppc kernel mailing list I got pointed here.

I am investigating more generic power management (cpufreq) for PowerPC, both
in terms of DFS and the G3 dual-PLL feature (which is already implemented in
the PowerMac driver) and also using the G3/G4 "ICTC" register which stalls
the instruction fetch for 1-255 clocks in order to allow the execution units to
go into dynamic power management (when DPM is enabled). This should, by all
documentation, reduce the power consumption of the CPU.

I'm looking at it from the point of view of the Pegasos (www.pegasosppc.com)
because right now we only have G3 (750CXe) and G4 (7447) processor cards
which do not support DFS. The G3 is fanless so there is no scope to reduce
noise dynamically or turn the fan off, and the G4 fan has no controller so
the same applies. We also do not support batteries, so you're always on an
AC power supply, but it WOULD be an interesting project to see if it could
improve the lifetime of a system running off one of these:

http://www.freeplayenergy.com/index.php?section=products&subsection=freechargeportable

It is merely an exercise in whether it can be done effectively (notwithstanding
the possibility of turning a 1GHz G4 into a 4MHz G4 :) and an interesting test
of whether the feature works "as advertised" by the IBM and Freescale manuals.
It may also be a cute way of testing application performance on slower
processors, while using the best you have. I dunno. There are lots of things
floating around in my head right now :)

So the question is, is there already a generic powerpc cpufreq driver which
does not rely on PowerMac hardware/platform tree or a PMU, if not where
should I be looking to start, and is this a good idea anyway? I have seen
threads (from 1-4 years ago) where it was discussed and passed off or, but
it was all fairly conversational.

http://lists.debian.org/debian-powerpc/2002/08/msg00107.html
http://www.mail-archive.com/debian-powerpc@lists.debian.org/msg03607.html

http://www.toojays.net/portal/Wiki/IBookG4PowerConsumption 

-- 
Matt Sealey <matt@genesi-usa.com>
Manager, Genesi, Developer Relations

             reply	other threads:[~2006-06-27 14:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-27 14:56 Matt Sealey [this message]
2006-06-27 22:14 ` PowerPC cpufreq using ICTC Guennadi Liakhovetski
2006-06-27 23:23 ` Benjamin Herrenschmidt
2006-06-28  8:04   ` Matt Sealey
2006-06-29  5:50 ` Paul Mackerras
2006-06-29 12:30   ` Matt Sealey

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='023301c699f9$d3e0a860$99dfdfdf@bakuhatsu.net' \
    --to=matt@genesi-usa.com \
    --cc=linux-pm@lists.osdl.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