#
1bcced08 |
| 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: Id2036ab746164981596b3ee36259f3ca5d3f1334 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
e035c588 |
| 06-Jun-2023 |
Vernon Mauery <vernon.mauery@linux.intel.com> |
changes to make it build without cheating
intel-ipmi-oem was using header files from phosphor-host-ipmid that were not actually in the distributed list of headers. Since intel-ipmi-oem is on its way
changes to make it build without cheating
intel-ipmi-oem was using header files from phosphor-host-ipmid that were not actually in the distributed list of headers. Since intel-ipmi-oem is on its way to removing the files that use those headers anyway, this is a stop-gap measure to be able to compile in the meantime.
Tested: sensors work as before
Change-Id: Ie443d2b53d12936f0ec7747cc9a01ed75ac63ab5 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
show more ...
|
#
dcff1506 |
| 28-Sep-2022 |
Vernon Mauery <vernon.mauery@linux.intel.com> |
changes needed for meson build
Fix warnings that the meson build turns into errors.
Tested: builds without warnings.
Change-Id: I66b02c4c616f37d09ceba61c494903acc3d28bd5 Signed-off-by: Vernon Maue
changes needed for meson build
Fix warnings that the meson build turns into errors.
Tested: builds without warnings.
Change-Id: I66b02c4c616f37d09ceba61c494903acc3d28bd5 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
show more ...
|
#
b37abfb2 |
| 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: I59c0a8c4b89131ecd3e9a841ed37ef3b8dcf8e9d Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
fcd2d3a9 |
| 28-May-2020 |
James Feist <james.feist@linux.intel.com> |
Update to latest clang-format Update to clang-format-10 Change-Id: I1c33ef7115c7a1459164d71f63921019d2dc9a98 Signed-off-by: James Feist <james.feist@linux.intel.com>
|
#
17e21c20 |
| 18-Nov-2019 |
Josh Lehan <krellan@google.com> |
Correct calculations of IPMI coefficient math Massively refactored and improved Using rounding, instead of truncation Mantissa as large as possible, for best precision Normalizin
Correct calculations of IPMI coefficient math Massively refactored and improved Using rounding, instead of truncation Mantissa as large as possible, for best precision Normalizing for consistent results Documenting, in comments, some of the magic that is done Now works correctly, for narrow ranges with large bias away from zero Now works correctly, for negative numbers and signed ranges Clamps values slightly out of range, instead of erroring Matching update test cases to reflect new coefficient choices Now generates output in a human-readable table Adding function from ipmitool for round-trip testing Testing 5 points within byte range for each value range Now handles both signed and unsigned Added many more value ranges that were recommended to me Changing some exponent values to reflect new choices Changing some mantissa values because now rounding not truncation The close range large bias test now succeeds instead of fails Signed-off-by: Josh Lehan <krellan@google.com> Change-Id: I2ceaef581b1270ef19be97940dbab3b588f5768d
show more ...
|
#
f6a07837 |
| 29-Oct-2019 |
James Feist <james.feist@linux.intel.com> |
Fix negative readings We were making negative values 0. This fixes the issue by converting using an int instead. Tested: Tests pass Change-Id: I389a90f52832f1a70b66fddd
Fix negative readings We were making negative values 0. This fixes the issue by converting using an int instead. Tested: Tests pass Change-Id: I389a90f52832f1a70b66fdddd8135c77011843a2 Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|
#
aecaef7e |
| 26-Apr-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
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>
show more ...
|
#
39417c7b |
| 03-Jan-2019 |
James Feist <james.feist@linux.intel.com> |
Apply comments from review 14430 to ipmi scaling Some general cleanup style comments were suggested in the above review. Apply them. Tested-by: Verified unit tests worked.
Apply comments from review 14430 to ipmi scaling Some general cleanup style comments were suggested in the above review. Apply them. Tested-by: Verified unit tests worked. Change-Id: Ia68b2d41308a2fc2997a247e87e65308fc8f4db0 Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|
#
3f7c5e40 |
| 03-Oct-2018 |
Jason M. Bills <jason.m.bills@linux.intel.com> |
Add Intel-specific IPMI sensor commands Also includes SDR storage commands that are required to support the 'ipmitool sensor list' command. Change-Id: Id1830097d93882114085fce72
Add Intel-specific IPMI sensor commands Also includes SDR storage commands that are required to support the 'ipmitool sensor list' command. Change-Id: Id1830097d93882114085fce723f0b92367b2db48 Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
show more ...
|