[Cbe-oss-dev] powerpc/cell/cpufreq: add spu aware cpufreq governor

Dominik Brodowski linux at dominikbrodowski.net
Fri Jul 11 04:05:53 EST 2008


On Tue, Jul 08, 2008 at 11:27:28AM -0400, Dave Jones wrote:
> On Tue, Jul 08, 2008 at 08:43:43AM +0200, Arnd Bergmann wrote:
>  > On Monday 07 July 2008, Dave Jones wrote:
>  > > One question I do have though, is how userspace scripts are supposed
>  > > to know they're to echo cbe_spu_governor into the relevant parts of
>  > > sysfs.  I've not used anything with a cell. Do they expose the SPUs
>  > > as regular CPUs, or do they show up in a different part of the tree?
>  > 
>  > An SPU is very different from a CPU from the user perspective.
>  > SPUs show up in /sys/devices/system/spus, and if a user wants to access
>  > them, the "spufs" file system needs to be mounted in the system, by
>  > convention on /spu. 
> 
> Ok, that should be fairly simple to write scripts for.

Actually, "cpufreq-set -g spu_governor" should be enough. (BTW, do we really
want this name?)

Best,
	Dominik



More information about the cbe-oss-dev mailing list