From: Albrecht Dre_ <ad@mpifr-bonn.mpg.de>
To: "D.J. Osguthorpe" <djosg@mgu.bath.ac.uk>
Cc: LinuxPPC-Dev Liste <linuxppc-dev@lists.linuxppc.org>
Subject: Re: CPU Temperature Patch
Date: Wed, 20 Sep 2000 17:03:42 +0200 [thread overview]
Message-ID: <39C8D1CE.1847B996@mpifr-bonn.mpg.de> (raw)
In-Reply-To: 11420.10009201242@mgu.bath.ac.uk
"D.J. Osguthorpe" wrote:
> Here are two patches that appear to fix the cpu_temp function in setup.c.
> They have been applied to a number of Ben Herrenschmidt kernels on a 500 MHz
> Pismo powerbook and print reasonable values when you cat /proc/cpuinfo.
The patch seems to work on my Lombard/333, too... Really great!
> + /* this set for 500 MHz Pismo - how do we get access to clock?? */
There is, in the same file, around line 319 code to read the clock speed from
the device tree. However, is it really necessary to include the clock speed at
this point? What is the drawback if we just assume 500 MHz (or even the max
value) for every G3 based machine?
Albrecht.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-09-20 15:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-20 12:42 CPU Temperature Patch D.J. Osguthorpe
2000-09-20 12:42 ` D.J. Osguthorpe
2000-09-20 15:03 ` Albrecht Dre_ [this message]
2000-09-20 18:04 ` Tom Rini
2000-09-20 19:15 ` Michael Schmitz
2000-09-21 2:24 ` Tom Rini
2000-09-21 19:40 ` Michel Lanners
2000-09-21 19:02 ` Michel Lanners
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=39C8D1CE.1847B996@mpifr-bonn.mpg.de \
--to=ad@mpifr-bonn.mpg.de \
--cc=djosg@mgu.bath.ac.uk \
--cc=linuxppc-dev@lists.linuxppc.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 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.