From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: powerpc/cell/cpufreq: add spu aware cpufreq governor Date: Tue, 8 Jul 2008 08:43:43 +0200 Message-ID: <200807080843.43674.arnd@arndb.de> References: <200807071702.31240.arnd@arndb.de> <20080707213105.GD4997@codemonkey.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20080707213105.GD4997@codemonkey.org.uk> Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: cpufreq-bounces@lists.linux.org.uk Errors-To: cpufreq-bounces+glkc-cpufreq=m.gmane.org+glkc-cpufreq=m.gmane.org@lists.linux.org.uk To: Dave Jones Cc: Stephen Rothwell , cpufreq@lists.linux.org.uk, linuxppc-dev@ozlabs.org, Jeremy Kerr , Benjamin Herrenschmidt , cbe-oss-dev@ozlabs.org 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. =A0I'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. = Arnd <>< From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Arnd Bergmann To: Dave Jones Subject: Re: powerpc/cell/cpufreq: add spu aware cpufreq governor Date: Tue, 8 Jul 2008 08:43:43 +0200 References: <200807071702.31240.arnd@arndb.de> <20080707213105.GD4997@codemonkey.org.uk> In-Reply-To: <20080707213105.GD4997@codemonkey.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-Id: <200807080843.43674.arnd@arndb.de> Cc: Stephen Rothwell , cpufreq@lists.linux.org.uk, linuxppc-dev@ozlabs.org, Jeremy Kerr , cbe-oss-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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. =A0I'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.=20 Arnd <><