linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Olof Johansson <olof@lixom.net>
Cc: linuxppc-dev@ozlabs.org, paulus@samba.org
Subject: Re: [PATCH] powerpc: Show current speed in /proc/cpuinfo
Date: Fri, 27 Apr 2007 19:24:38 +1000	[thread overview]
Message-ID: <1177665878.14873.320.camel@localhost.localdomain> (raw)
In-Reply-To: <20070427084118.GA8842@lixom.net>

On Fri, 2007-04-27 at 03:41 -0500, Olof Johansson wrote:
> On other architectures, the frequency in /proc/cpuinfo moves with cpufreq
> changes. It makes sense to do the same on powerpc to keep users from
> getting confused. Fall back to old ppc_proc_freq for non-cpufreq systems.
> 
> Also change the format to three decimals, having full Hz granularity is
> silly these days.

That doesn't work if cpufreq is a module... on mac, I used to have
exactly that hack, though at one point I changed to just updating
ppc_proc_freq :-) But then, it's easy because I only change the freq on
all CPUs at the same time. Might be different for you.

Ben.

  parent reply	other threads:[~2007-04-27  9:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-27  8:41 [PATCH] powerpc: Show current speed in /proc/cpuinfo Olof Johansson
2007-04-27  9:00 ` Matt Sealey
2007-04-27  9:25   ` Benjamin Herrenschmidt
2007-04-27 18:14   ` Olof Johansson
2007-04-27  9:24 ` Benjamin Herrenschmidt [this message]
2007-04-27 17:51   ` Olof Johansson
2007-04-30  3:53 ` [PATCH v2] " Olof Johansson
2007-05-01 23:48   ` Arnd Bergmann
2007-05-04  3:15     ` Olof Johansson
2007-05-04  3:16   ` [PATCH v3] " Olof Johansson
2007-05-04  3:39     ` Stephen Rothwell
2007-05-04  3:46       ` Olof Johansson
2007-05-04  4:00     ` Paul Mackerras
2007-05-04  4:39       ` [PATCH] pasemi: update ppc_proc_freq from cpufreq driver Olof Johansson

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=1177665878.14873.320.camel@localhost.localdomain \
    --to=benh@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=olof@lixom.net \
    --cc=paulus@samba.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;
as well as URLs for NNTP newsgroup(s).