[openib-general] [PATCH] udapl: PPC64 cpuinfo change

Grant Grundler iod00d at hp.com
Thu Oct 6 14:14:08 PDT 2005


On Thu, Oct 06, 2005 at 11:48:02AM -0600, Todd Bowman wrote:
> /proc/cpuinfo on PPC64 prints different label for processor speed.
...

ISTR the "clock" value in cpuinfo is NOT the same as the CPU MHz.
Can you remind me if "clock" value * "mtfb" results in
"wall clock" time units?

If not, then use of DT_CPU_MHZ_MHZ needs to be reviewed since
it typically makes that assumption.

Also, if someone cares about sparc (hey Tom! :^) ),
then might leverage the get_clock.c code on:
	http://svn.gnumonks.org/trunk/mmio_test/


hth,
grant



More information about the general mailing list