[lkml]   [2004]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH][2.6.7-mm1] perfctr ppc32 update

> So what you're saying is that PLL_CFG may not reflect the true
> relationship between the TB frequency and the core frequency?


> That shouldn't be a problem as long as there's _some_ in-kernel
> interface for finding that out. If querying OF isn't the correct
> approach, then what is?

What do you need exactly ? The TB one or the core one ? the core
I suppose ? Well, we should probably define an ppc_get_cpu_core_frequency
or something like that that uses the cpufreq callback like the pmac code
when cpufreq is enabled or default to the old parsing when not. Look at
the pmac code. You may also want to install a cpufreq notifier callback
to be informed of core frequency changes.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:04    [W:0.037 / U:2.032 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site