[Skiboot] [PATCH] sensors: Dont add DTS sensors when OCC inband sensors are available
stewart at linux.ibm.com
Fri Apr 20 17:48:26 AEST 2018
Shilpasri G Bhat <shilpa.bhat at linux.vnet.ibm.com> writes:
> There are two sets of core temperature sensors today. One is DTS scom
> based core temperature sensors and the second group is the sensors
> provided by OCC. DTS is the highest temperature among the different
> temperature zones in the core while OCC core temperature sensors are
> the average temperature of the core. DTS sensors are read directly by
> the host by SCOMing the DTS sensors while OCC sensors are read and
> updated by OCC to main memory.
> Reading DTS sensors by SCOMing is a heavy and slower operation as
> compared to reading OCC sensors which is as good as reading memory.
> So dont add DTS sensors when OCC sensors are available.
> Signed-off-by: Shilpasri G Bhat <shilpa.bhat at linux.vnet.ibm.com>
I know I've been holding off this due to how the sensors and special
wakeup were such an awesome way to find stop4/5 bugs, but we seem to
have *that* bug fixed now, so I've merged this patch to master as of
OPAL Architect, IBM.
More information about the Skiboot