[Skiboot] [PATCH 0/3] P9 core dts support

Cédric Le Goater clg at kaod.org
Sat Mar 4 05:27:34 AEDT 2017

On 02/23/2017 07:04 PM, Rob Lippert wrote:
> On Thu, Feb 23, 2017 at 5:01 AM, Cédric Le Goater <clg at kaod.org> wrote:
>> Rob,
>> Some update,
>>>> Cedric, any update on getting the P9 DTS sensors to work with skiboot?
>>>> We have not tested yet since I was waiting for confirmation on your side.
>>> The skiboot framework is in place (with this patch) and the kernel
>>> module is creating the hwmon sysfs entries. I need to dig a little
>>> further to see why we read zeroes on the core DTS as I did not see
>>> any XSCOM errors.
>>> I will try on another system next week.
>> So it seems that the VPD in the OpenPOWER firmware misses calibration
>> settings for the core thermal latches. Those settings being zero
>> by default, the result of the equation is zero for the DTS.
>> I am working on getting these included in the VPD now.
> OK, will we need a VPD update for the CPU (which I don't think we can
> do) or just the planar VPD?

With a relatively recent firmware, I got it working on a 

root at w39l:~#  cat  /sys/class/hwmon/hwmon0/temp*
Core 0
Core 4
Core 8
Core 12
Core 16
Core 20

root at w39l:~# sensors
Adapter: ISA adapter
Core 0:       +40.0°C  
Core 4:       +54.0°C  
Core 8:       +53.0°C  
Core 12:      +50.0°C  
Core 16:      +50.0°C  
Core 20:      +50.0°C  

Rob, I still need to check what exactly has changed in hostboot or if
I was testing on a really early version of the cores.  Anyhow, it is 
safe to use. 

Stewart, I think you can merge now.



More information about the Skiboot mailing list