[Skiboot] [PATCH V6 0/3] Add support for OCC inband sensors
Shilpasri G Bhat
shilpa.bhat at linux.vnet.ibm.com
Mon Jun 19 22:08:42 AEST 2017
Hi,
On 06/19/2017 05:36 PM, Shilpasri G Bhat wrote:
> This patch series provides support to parse and export the environment
> sensors from inband sensors copied by OCC to main memory.
>
This series is tested on Witherspoon with inband sensor enabled OCC:
Below is the snippet of sensor command:
Chip 0 : 84.00 W (lowest = 0.00 W, highest = 112.00 W)
Chip 8 : 40.00 W (lowest = 0.00 W, highest = 55.00 W)
System: 184.00 W (lowest = 0.00 W, highest = 220.00 W)
APSS 0 : 184.00 W (lowest = 0.00 W, highest = 220.00 W)
APSS 1 : 0.00 W (lowest = 0.00 W, highest = 0.00 W)
APSS 2 : 27.00 W (lowest = 0.00 W, highest = 52.00 W)
APSS 3 : 6.00 W (lowest = 0.00 W, highest = 19.00 W)
APSS 4 : 58.00 W (lowest = 0.00 W, highest = 62.00 W)
APSS 5 : 35.00 W (lowest = 0.00 W, highest = 39.00 W)
APSS 6 : 19.00 W (lowest = 0.00 W, highest = 33.00 W)
APSS 7 : 6.00 W (lowest = 0.00 W, highest = 8.00 W)
APSS 8 : 7.00 W (lowest = 0.00 W, highest = 7.00 W)
APSS 9 : 8.00 W (lowest = 0.00 W, highest = 8.00 W)
APSS 10 : 7.00 W (lowest = 0.00 W, highest = 7.00 W)
APSS 11 : 9.00 W (lowest = 0.00 W, highest = 9.00 W)
APSS 12 : 9.00 W (lowest = 0.00 W, highest = 9.00 W)
APSS 13 : 9.00 W (lowest = 0.00 W, highest = 9.00 W)
APSS 14 : 50.00 W (lowest = 0.00 W, highest = 58.00 W)
APSS 15 : 23.00 W (lowest = 0.00 W, highest = 28.00 W)
Thanks and Regards,
Shilpa
> Changes from V5:
> - Split the new changes to Patch2 and Patch3
> - Patch2 adds a new DT compatible string for current(A) sensors
> - Patch3 exports CSM min/max
>
> Shilpasri G Bhat (3):
> sensors: occ: Add support for OCC inband sensors
> sensors: occ: Add DT compatible string for current(A) sensor
> sensors: occ: Send CSM_{min/max} on min/max sensor read
>
> core/init.c | 1 +
> core/sensor.c | 4 +
> hw/Makefile.inc | 2 +-
> hw/occ-sensor.c | 600 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
> include/sensor.h | 1 +
> include/skiboot.h | 4 +
> 6 files changed, 611 insertions(+), 1 deletion(-)
> create mode 100644 hw/occ-sensor.c
>
More information about the Skiboot
mailing list