[Skiboot] [PATCH] HDAT: Add IPMI sensor data under /bmc node
Ananth N Mavinakayanahalli
ananth at linux.vnet.ibm.com
Wed Jun 28 23:47:25 AEST 2017
On Fri, Jun 23, 2017 at 05:09:23PM +0530, Vasant Hegde wrote:
> Add IPMI sensor data under /bmc node.
>
> CC: Joel Stanley <joel at jms.id.au>
> Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
The firmware folks provided a test HB pnor on a system and I was able to
see the sensors:
ubuntu at w15l:/proc/device-tree/bmc/sensors$ ls -l
total 0
-r--r--r-- 1 root root 4 Jun 28 08:41 #address-cells
-r--r--r-- 1 root root 8 Jun 28 08:41 name
-r--r--r-- 1 root root 4 Jun 28 08:41 phandle
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at 1
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at 10
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at 2
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at 3
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at 4
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at 5
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at 59
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at 5a
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at 6
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at 7
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at 8
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at 9
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at a
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at a5
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at a6
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at a7
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at a8
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at a9
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at aa
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at ab
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at ac
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at ad
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at ae
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at b
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at b3
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at b4
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at c
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at d
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at e
drwxr-xr-x 2 root root 0 Jun 28 08:41 sensor at f
-r--r--r-- 1 root root 4 Jun 28 08:41 #size-cells
ubuntu at w15l:/proc/device-tree/bmc/sensors$ hexdump -C sensor at 1/ipmi-sensor-type
00000000 00 00 00 12 |....|
00000004
ubuntu at w15l:/proc/device-tree/bmc/sensors$ hexdump -C sensor at 3/ipmi-sensor-type
00000000 00 00 00 0f |....|
00000004
ubuntu at w15l:/proc/device-tree/bmc/sensors$ hexdump -C sensor at 5/ipmi-sensor-type
00000000 00 00 00 1f |....|
00000004
More information about the Skiboot
mailing list