Is it required that regulator sensors implement threshold interfaces?
Shawn McCarney
shawnmm at linux.vnet.ibm.com
Fri Sep 27 07:00:06 AEST 2019
Hi Ed. Thanks for the information and feedback.
On 9/26/2019 3:07 PM, Ed Tanous wrote:
> For some implementations, these are used to appropriately scale the SDR,
> and provide the redfish interfaces for those properties.
What is SDR? Sorry I'm not familiar with that acronym.
> I'm not really following why you wouldn't want to implement
> those.
The problem is one of scale. Some of the systems where my application
will run may have 30+ voltage rails. 30 rails * 9 sensors per rail =
270 MinValues and MaxValues. I'd rather not ask the hardware engineers
to provide 540 data values unless absolutely necessary.
> They don't have to be exact, and there are plenty of cases where
> they are set to INT8_MAX and INT8_MIN. Usually you will know based on
> the spec you're implementing if the values fall into a
> uint8/int8/int16/uint16 range, and you can just put in the specified
> range limits.
That's probably a better approach that setting both min and max to 0. I
was just wondering if anything (especially IPMI) would break if I set
all the sensor min/max values to INT16_MIN/INT16_MAX.
Thanks!
Shawn
More information about the openbmc
mailing list