History log of /openbmc/intel-ipmi-oem/tests/ (Results 1 – 11 of 11)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
1bcced0816-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 ...

4a31605826-Sep-2022 Vernon Mauery <vernon.mauery@linux.intel.com>

add meson build

most the other openbmc projects are turning into meson projects, so
let's hop on that meson train.

Tested: Builds as expected

Change-Id: I06b6f9e28e27bf7922f42f93756efb98bdb40b2a
S

add meson build

most the other openbmc projects are turning into meson projects, so
let's hop on that meson train.

Tested: Builds as expected

Change-Id: I06b6f9e28e27bf7922f42f93756efb98bdb40b2a
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>

show more ...

e035c58806-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 ...

dcff150628-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 ...

b37abfb210-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 ...


/openbmc/intel-ipmi-oem/.clang-format
/openbmc/intel-ipmi-oem/.gitignore
/openbmc/intel-ipmi-oem/CMakeLists.txt
/openbmc/intel-ipmi-oem/CMakeLists.txt.in
/openbmc/intel-ipmi-oem/OWNERS
/openbmc/intel-ipmi-oem/README.md
/openbmc/intel-ipmi-oem/cmake-format.json
/openbmc/intel-ipmi-oem/cmake/CodeCoverage.cmake
/openbmc/intel-ipmi-oem/docs/Intel_IPMI_Platform_Events.md
/openbmc/intel-ipmi-oem/generate-allowlist.py
/openbmc/intel-ipmi-oem/include/biosconfigcommands.hpp
/openbmc/intel-ipmi-oem/include/biosxml.hpp
/openbmc/intel-ipmi-oem/include/bridgingcommands.hpp
/openbmc/intel-ipmi-oem/include/commandutils.hpp
/openbmc/intel-ipmi-oem/include/ipmi_to_redfish_hooks.hpp
/openbmc/intel-ipmi-oem/include/manufacturingcommands.hpp
/openbmc/intel-ipmi-oem/include/me_to_redfish_hooks.hpp
/openbmc/intel-ipmi-oem/include/multinodecommands.hpp
/openbmc/intel-ipmi-oem/include/oemcommands.hpp
/openbmc/intel-ipmi-oem/include/sdrutils.hpp
/openbmc/intel-ipmi-oem/include/sensorcommands.hpp
/openbmc/intel-ipmi-oem/include/sensorutils.hpp
/openbmc/intel-ipmi-oem/include/smbiosmdrv2handler.hpp
/openbmc/intel-ipmi-oem/include/storagecommands.hpp
/openbmc/intel-ipmi-oem/include/types.hpp
/openbmc/intel-ipmi-oem/ipmi-allowlist.conf
/openbmc/intel-ipmi-oem/src/allowlist-filter.cpp
/openbmc/intel-ipmi-oem/src/appcommands.cpp
/openbmc/intel-ipmi-oem/src/biosconfigcommands.cpp
/openbmc/intel-ipmi-oem/src/bmccontrolservices.cpp
/openbmc/intel-ipmi-oem/src/bridgingcommands.cpp
/openbmc/intel-ipmi-oem/src/chassiscommands.cpp
/openbmc/intel-ipmi-oem/src/firmware-update.cpp
/openbmc/intel-ipmi-oem/src/ipmi_to_redfish_hooks.cpp
/openbmc/intel-ipmi-oem/src/manufacturingcommands.cpp
/openbmc/intel-ipmi-oem/src/me_to_redfish_hooks.cpp
/openbmc/intel-ipmi-oem/src/multinodecommands.cpp
/openbmc/intel-ipmi-oem/src/oemcommands.cpp
/openbmc/intel-ipmi-oem/src/sensorcommands.cpp
/openbmc/intel-ipmi-oem/src/smbiosmdrv2handler.cpp
/openbmc/intel-ipmi-oem/src/storagecommands.cpp
test_sensorcommands.cpp
fcd2d3a928-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>


/openbmc/intel-ipmi-oem/.clang-format
/openbmc/intel-ipmi-oem/CMakeLists.txt
/openbmc/intel-ipmi-oem/MAINTAINERS
/openbmc/intel-ipmi-oem/generate-whitelist.py
/openbmc/intel-ipmi-oem/include/appcommands.hpp
/openbmc/intel-ipmi-oem/include/bridgingcommands.hpp
/openbmc/intel-ipmi-oem/include/commandutils.hpp
/openbmc/intel-ipmi-oem/include/ipmi_to_redfish_hooks.hpp
/openbmc/intel-ipmi-oem/include/manufacturingcommands.hpp
/openbmc/intel-ipmi-oem/include/me_to_redfish_hooks.hpp
/openbmc/intel-ipmi-oem/include/oemcommands.hpp
/openbmc/intel-ipmi-oem/include/sdrutils.hpp
/openbmc/intel-ipmi-oem/include/sensorcommands.hpp
/openbmc/intel-ipmi-oem/include/smbioshandler.hpp
/openbmc/intel-ipmi-oem/include/smbiosmdrv2handler.hpp
/openbmc/intel-ipmi-oem/include/storagecommands.hpp
/openbmc/intel-ipmi-oem/include/variantvisitors.hpp
/openbmc/intel-ipmi-oem/ipmi-whitelist.conf
/openbmc/intel-ipmi-oem/non-yocto/phosphor-logging/elog-errors.hpp
/openbmc/intel-ipmi-oem/src/appcommands.cpp
/openbmc/intel-ipmi-oem/src/bmccontrolservices.cpp
/openbmc/intel-ipmi-oem/src/bridgingcommands.cpp
/openbmc/intel-ipmi-oem/src/chassiscommands.cpp
/openbmc/intel-ipmi-oem/src/firmware-update.cpp
/openbmc/intel-ipmi-oem/src/ipmi_to_redfish_hooks.cpp
/openbmc/intel-ipmi-oem/src/manufacturingcommands.cpp
/openbmc/intel-ipmi-oem/src/me_to_redfish_hooks.cpp
/openbmc/intel-ipmi-oem/src/multinodecommands.cpp
/openbmc/intel-ipmi-oem/src/oemcommands.cpp
/openbmc/intel-ipmi-oem/src/sensorcommands.cpp
/openbmc/intel-ipmi-oem/src/smbioshandler.cpp
/openbmc/intel-ipmi-oem/src/smbiosmdrv2handler.cpp
/openbmc/intel-ipmi-oem/src/storagecommands.cpp
/openbmc/intel-ipmi-oem/src/whitelist-filter.cpp
test_sensorcommands.cpp
17e21c2018-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
Normalizing for consistent res

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 ...

f6a0783729-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: I389a90f52832f1a70b66fdddd8135c77011843a2
Signed-off-

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 ...


/openbmc/intel-ipmi-oem/.gitignore
/openbmc/intel-ipmi-oem/CMakeLists.txt
/openbmc/intel-ipmi-oem/CMakeLists.txt.in
/openbmc/intel-ipmi-oem/MAINTAINERS
/openbmc/intel-ipmi-oem/include/appcommands.hpp
/openbmc/intel-ipmi-oem/include/bridgingcommands.hpp
/openbmc/intel-ipmi-oem/include/commandutils.hpp
/openbmc/intel-ipmi-oem/include/ipmi_to_redfish_hooks.hpp
/openbmc/intel-ipmi-oem/include/manufacturingcommands.hpp
/openbmc/intel-ipmi-oem/include/multinodecommands.hpp
/openbmc/intel-ipmi-oem/include/oemcommands.hpp
/openbmc/intel-ipmi-oem/include/sdrutils.hpp
/openbmc/intel-ipmi-oem/include/sensorcommands.hpp
/openbmc/intel-ipmi-oem/include/sensorutils.hpp
/openbmc/intel-ipmi-oem/include/smbioshandler.hpp
/openbmc/intel-ipmi-oem/include/smbiosmdrv2.hpp
/openbmc/intel-ipmi-oem/include/smbiosmdrv2handler.hpp
/openbmc/intel-ipmi-oem/include/storagecommands.hpp
/openbmc/intel-ipmi-oem/include/variantvisitors.hpp
/openbmc/intel-ipmi-oem/non-yocto/phosphor-logging/elog-errors.hpp
/openbmc/intel-ipmi-oem/non-yocto/xyz/openbmc_project/Common/error.hpp
/openbmc/intel-ipmi-oem/non-yocto/xyz/openbmc_project/Smbios/MDR_V2/error.hpp
/openbmc/intel-ipmi-oem/src/appcommands.cpp
/openbmc/intel-ipmi-oem/src/bmccontrolservices.cpp
/openbmc/intel-ipmi-oem/src/bridgingcommands.cpp
/openbmc/intel-ipmi-oem/src/chassiscommands.cpp
/openbmc/intel-ipmi-oem/src/firmware-update.cpp
/openbmc/intel-ipmi-oem/src/ipmi_to_redfish_hooks.cpp
/openbmc/intel-ipmi-oem/src/manufacturingcommands.cpp
/openbmc/intel-ipmi-oem/src/multinodecommands.cpp
/openbmc/intel-ipmi-oem/src/oemcommands.cpp
/openbmc/intel-ipmi-oem/src/sensorcommands.cpp
/openbmc/intel-ipmi-oem/src/smbioshandler.cpp
/openbmc/intel-ipmi-oem/src/smbiosmdrv2handler.cpp
/openbmc/intel-ipmi-oem/src/storagecommands.cpp
test_sensorcommands.cpp
aecaef7e26-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 and min to be th

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 ...

39417c7b03-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.

Change-Id: Ia68b2d41308a

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 ...

3f7c5e4003-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: Id1830097d93882114085fce723f0b92367b2db48
Sign

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 ...