]> git.openfabrics.org - ~emulex/infiniband.git/commit
[POWERPC] cell: add temperature to SPU and CPU sysfs entries
authorChristian Krafft <krafft@de.ibm.com>
Tue, 24 Oct 2006 16:31:25 +0000 (18:31 +0200)
committerPaul Mackerras <paulus@samba.org>
Wed, 25 Oct 2006 04:20:22 +0000 (14:20 +1000)
commitb3d7dc1967d1303d4897ff9537d29f6e077de147
tree7717eb9fbcbc60c418233ea9773badc5fbfd8099
parent0344c6c5387ba335bba5a66fd44714b94c98573f
[POWERPC] cell: add temperature to SPU and CPU sysfs entries

This patch adds a module that registers sysfs attributes to CPU and SPU
containing the temperature of the CBE.

They can be found under
/sys/devices/system/spu/cpuX/thermal/temperature[0|1]
/sys/devices/system/spu/spuX/thermal/temperature

The temperature is read from the on-chip temperature sensors.

Signed-off-by: Christian Krafft <krafft@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/configs/cell_defconfig
arch/powerpc/platforms/cell/Kconfig
arch/powerpc/platforms/cell/Makefile
arch/powerpc/platforms/cell/cbe_thermal.c [new file with mode: 0644]