History log of /openbmc/phosphor-power/phosphor-regulators/src/sensor_monitoring.hpp (Results 1 – 7 of 7)
Revision Date Author Comments
# fa2734d6 30-Mar-2022 Shawn McCarney <shawnmm@us.ibm.com>

regulators: Retry failed sensor monitoring

If a failure occurs while trying to read voltage regulator sensors,
retry the operation 5 times before logging an error.

This provides "de-glitching" to i

regulators: Retry failed sensor monitoring

If a failure occurs while trying to read voltage regulator sensors,
retry the operation 5 times before logging an error.

This provides "de-glitching" to ignore transient hardware problems.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: I310c15eb0f0d36d938057d6280a12b5aef854d20

show more ...


# 54b3ab9b 14-Sep-2021 Shawn McCarney <shawnmm@us.ibm.com>

regulators: Remove monitoring freq from comments

Update doxygen comments to remove the exact frequency of sensor
monitoring and phase fault detection.

Currently sensors are monitored every second a

regulators: Remove monitoring freq from comments

Update doxygen comments to remove the exact frequency of sensor
monitoring and phase fault detection.

Currently sensors are monitored every second and phase faults are
detected every 15 seconds. However, that could change in the future.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: I3ac39955721fde98dfe9e6059693ceeea7e504c2

show more ...


# 0c9a33d6 13-Sep-2021 Adriana Kobylak <anoo@us.ibm.com>

clang updates

The openbmc CI was recently updated to clang-12 which requires some
formatting updates to the code:
https://github.com/openbmc/openbmc-build-scripts/commit/4569bf49daaebff06be048242690

clang updates

The openbmc CI was recently updated to clang-12 which requires some
formatting updates to the code:
https://github.com/openbmc/openbmc-build-scripts/commit/4569bf49daaebff06be0482426908bb5497fad08

Make those updates and refresh the clang-format file with the one from
docs:
https://github.com/openbmc/docs/blob/master/style/cpp/.clang-format

Change-Id: Ieb3626526373a053ec84431e7560003f229f338d
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...


# 17bac89e 08-May-2021 Shawn McCarney <shawnmm@us.ibm.com>

regulators: Complete SensorMonitoring class

Complete the SensorMonitoring class. This class implements the
"sensor_monitoring" object in the JSON config file.

Add calls to the startRail() and endR

regulators: Complete SensorMonitoring class

Complete the SensorMonitoring class. This class implements the
"sensor_monitoring" object in the JSON config file.

Add calls to the startRail() and endRail() methods of the Sensors
service.

Add ErrorHistory data member so that errors are only logged once per
boot since sensor monitoring occurs repeatedly once per second.

Add error count data member to limit the number of error messages
written to the journal since monitoring occurs repeatedly.

Update all affected test cases.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: I0bd20d03ccea9e15cd0f97529f6ccdad2fa015c8

show more ...


# 8a55292d 05-Aug-2020 Bob King <Bob_King@wistron.com>

regulators: Modify monitorSensors() to use Services

Modify the monitorSensors() method in the System, Chassis, Device, and
Rail classes to have a new first parameter: Services& services.

Modify Sen

regulators: Modify monitorSensors() to use Services

Modify the monitorSensors() method in the System, Chassis, Device, and
Rail classes to have a new first parameter: Services& services.

Modify SensorMonitoring::execute() to log messages using the new
Journal interface.

Signed-off-by: Bob King <Bob_King@wistron.com>
Change-Id: I05820cfa94bc3d15dee7a1714a3d253720aa7f92

show more ...


# 833b8e07 11-Jun-2020 Bob King <Bob_King@wistron.com>

regulators: Add SensorMonitoring::execute()

Implementation and Testing for SensorMonitoring::execute().

Signed-off-by: Bob King <Bob_King@wistron.com>
Change-Id: If2b39b70997cd5cb84adc6c4b601d87556

regulators: Add SensorMonitoring::execute()

Implementation and Testing for SensorMonitoring::execute().

Signed-off-by: Bob King <Bob_King@wistron.com>
Change-Id: If2b39b70997cd5cb84adc6c4b601d87556b82f55

show more ...


# bc47c1b6 10-Mar-2020 Shawn McCarney <shawnmm@us.ibm.com>

regulators: Create SensorMonitoring class

Create C++ class that implements the 'sensor_monitoring' element from
the JSON config file. See sensor_monitoring.md for more information.

The execute() m

regulators: Create SensorMonitoring class

Create C++ class that implements the 'sensor_monitoring' element from
the JSON config file. See sensor_monitoring.md for more information.

The execute() method of this class will be implemented in a future
commit.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: Ifd0530e54d71a5292e8f4e5cad0a13195e801ed8

show more ...