From: Krisztian Mark Szentes <office@lsa.at>
To: debian-powerpc@lists.debian.org
Cc: Segher Boessenkool <segher@koffie.nl>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
cpufreq@www.linux.org.uk
Subject: Re: cpufreq on TiBook 400 MHz
Date: Wed, 9 Jun 2004 12:47:51 +0200 [thread overview]
Message-ID: <200406091247.51210.office@lsa.at> (raw)
In-Reply-To: <1055685144.608.0.camel@gaston>
Hi Ben
Am Sonntag, 15. Juni 2003 15:52 schrieb Benjamin Herrenschmidt:
> On Thu, 2003-06-12 at 16:00, Krisztian Mark Szentes wrote:
> > On Friday 23 May 2003 00:48, Segher Boessenkool wrote:
> > > Krisztian Mark Szentes wrote:
> > > > I wonder why there is no /proc/cpufreq on my Titanium PowerBook G4
> > > > (400 MHz).
> > > Because no-one filled in the right values yet.
> > ...
> > > I seem to remember the PowerBook3,2 @ 400 has a low speed of
> > > 300MHz, but I'm not fully sure about that -- better check it
> > > yourself (apple.com -> developer -> hardware -> all products
> > > or something like that, it's not too hard to find).
> >
http://developer.apple.com/techpubs/hardware/Developer_Notes/Macintosh_CPUs-G4/PowerBook_G419Dec00/index.html
> > says:
> > "On the PowerBook G4 computer, the slower clock speed is 100 MHz slower
> > than the rated speed: 300 MHz on a 400-MHz model, 400 MHz on a 500 MHz
> > model."
>
> Now, that's strange. I remember we measured 300Mhz for the low speed
> of the 500Mhz model...
Am Freitag, 23. Mai 2003 11:19 schrieben Sie:
> I'm not sure that will work. On the other hand, I'm pretty sure the freq.
> switching is _NOT_ supported on this model...
finally I edited the sources (a version of 2.4.20 lying around here):
..
#define DEBUG_FREQ
..
/* Else check for TiPb 500 */
else if (machine_is_compatible("PowerBook3,2")) {
/* Mark:and 400 MHz */
if (cur_freq < 350000 || cur_freq > 550000)
goto out;
hi_freq = cur_freq;
low_freq = 300000;
has_freq_ctl = 1;
cpufreq_uses_pmu = 1;
recompiled and fired it up:
# cat /proc/cpuinfo
cpu : 7410, altivec supported
temperature : 17-21 C (uncalibrated)
clock : 400MHz
revision : 17.3 (pvr 800c 1103)
bogomips : 797.90
machine : PowerBook3,2
motherboard : PowerBook3,2 MacRISC2 MacRISC Power Macintosh
detected as : 71 (PowerBook Titanium)
pmac flags : 0000000b
L2 cache : 1024K unified
memory : 512MB
pmac-generation : NewWorld
# cat /proc/sys/cpu/0/speed-min > /proc/sys/cpu/0/speed
# cat /proc/cpuinfo
cpu : 7410, altivec supported
temperature : 17-21 C (uncalibrated)
clock : 300MHz
revision : 17.3 (pvr 800c 1103)
bogomips : 598.42
machine : PowerBook3,2
motherboard : PowerBook3,2 MacRISC2 MacRISC Power Macintosh
detected as : 71 (PowerBook Titanium)
pmac flags : 0000000b
L2 cache : 1024K unified
memory : 512MB
pmac-generation : NewWorld
# dmesg | tail -3
HID1, before: a0000000
HID1, after: 80000000
Calibrating delay loop... 598.01 BogoMIPS
# cat /proc/sys/cpu/0/speed-max > /proc/sys/cpu/0/speed
# cat /proc/cpuinfo
cpu : 7410, altivec supported
temperature : 18-22 C (uncalibrated)
clock : 400MHz
revision : 17.3 (pvr 800c 1103)
bogomips : 797.90
machine : PowerBook3,2
motherboard : PowerBook3,2 MacRISC2 MacRISC Power Macintosh
detected as : 71 (PowerBook Titanium)
pmac flags : 0000000b
L2 cache : 1024K unified
memory : 512MB
pmac-generation : NewWorld
# dmesg | tail -3
HID1, before: 80000000
HID1, after: a0000000
Calibrating delay loop... 797.90 BogoMIPS
BTW, the power consumption as displayed by xpmumon changes only by approx.
0,5 Watt. I also do not understand why the bogomips numbers are not
exactly the same (598.01 versus 598.42).
Has it convinced you to include the Titanium 400 MHz into the future
cpufreq supported models?
Thank you for your work!
Salut
Mark
next parent reply other threads:[~2004-06-09 10:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200305211853.54638.office@lsa.at>
[not found] ` <200306121600.06552.office@lsa.at>
[not found] ` <1055685144.608.0.camel@gaston>
2004-06-09 10:47 ` Krisztian Mark Szentes [this message]
2004-06-09 16:46 ` cpufreq on TiBook 400 MHz Benjamin Herrenschmidt
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=200406091247.51210.office@lsa.at \
--to=office@lsa.at \
--cc=benh@kernel.crashing.org \
--cc=cpufreq@www.linux.org.uk \
--cc=debian-powerpc@lists.debian.org \
--cc=segher@koffie.nl \
/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.