Home
last modified time | relevance | path

Searched hist:aecaef7e8bd378d3a17481def0162e5e503060e4 (Results 1 – 3 of 3) sorted by relevance

/openbmc/intel-ipmi-oem/tests/
H A Dtest_sensorcommands.cppdiff aecaef7e8bd378d3a17481def0162e5e503060e4 Fri Apr 26 12:30:32 CDT 2019 James Feist <james.feist@linux.intel.com> Update min and max values to thresholds if needed

In an incorrect config, thresholds may be outside of
min and max, which would cause incorrect scaling. Correct
this by changing max and min to be the outliers of min/max
and thresholds. Also make it so that the max value will be
an acceptable value by scaling up the mvalue.

Tested: ipmi sensor list with bad scaled sensor works,
unit-test added to verfiy as well

Change-Id: I934efc87b09cd131e8b85a30697b3167437de4d4
Signed-off-by: James Feist <james.feist@linux.intel.com>
/openbmc/intel-ipmi-oem/include/
H A Dsensorutils.hppdiff aecaef7e8bd378d3a17481def0162e5e503060e4 Fri Apr 26 12:30:32 CDT 2019 James Feist <james.feist@linux.intel.com> Update min and max values to thresholds if needed

In an incorrect config, thresholds may be outside of
min and max, which would cause incorrect scaling. Correct
this by changing max and min to be the outliers of min/max
and thresholds. Also make it so that the max value will be
an acceptable value by scaling up the mvalue.

Tested: ipmi sensor list with bad scaled sensor works,
unit-test added to verfiy as well

Change-Id: I934efc87b09cd131e8b85a30697b3167437de4d4
Signed-off-by: James Feist <james.feist@linux.intel.com>
/openbmc/intel-ipmi-oem/src/
H A Dsensorcommands.cppdiff aecaef7e8bd378d3a17481def0162e5e503060e4 Fri Apr 26 12:30:32 CDT 2019 James Feist <james.feist@linux.intel.com> Update min and max values to thresholds if needed

In an incorrect config, thresholds may be outside of
min and max, which would cause incorrect scaling. Correct
this by changing max and min to be the outliers of min/max
and thresholds. Also make it so that the max value will be
an acceptable value by scaling up the mvalue.

Tested: ipmi sensor list with bad scaled sensor works,
unit-test added to verfiy as well

Change-Id: I934efc87b09cd131e8b85a30697b3167437de4d4
Signed-off-by: James Feist <james.feist@linux.intel.com>