Home
last modified time | relevance | path

Searched hist:"371 e244abdf1bf4bdaef27f5a3597af831655c85" (Results 1 – 3 of 3) sorted by relevance

/openbmc/phosphor-power/phosphor-regulators/src/
H A Ddevice.cppdiff 371e244abdf1bf4bdaef27f5a3597af831655c85 Fri May 14 14:18:07 CDT 2021 Shawn McCarney <shawnmm@us.ibm.com> regulators: Add clearErrorHistory to Device class

Add a clearErrorHistory() method to the Device class. The method should
clear all data on previously logged errors. If the error occurs again
in the future, it will be logged again.

This method is normally called when the system is being powered on. For
code that runs repeatedly, errors are only logged once per boot.

When the system is powered off, hardware may be replaced that fixes the
problem. Thus, errors are cleared during power on.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: I6683b0c7b9abd61748ccb3512dda9111daed4929
H A Ddevice.hppdiff 371e244abdf1bf4bdaef27f5a3597af831655c85 Fri May 14 14:18:07 CDT 2021 Shawn McCarney <shawnmm@us.ibm.com> regulators: Add clearErrorHistory to Device class

Add a clearErrorHistory() method to the Device class. The method should
clear all data on previously logged errors. If the error occurs again
in the future, it will be logged again.

This method is normally called when the system is being powered on. For
code that runs repeatedly, errors are only logged once per boot.

When the system is powered off, hardware may be replaced that fixes the
problem. Thus, errors are cleared during power on.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: I6683b0c7b9abd61748ccb3512dda9111daed4929
/openbmc/phosphor-power/phosphor-regulators/test/
H A Ddevice_tests.cppdiff 371e244abdf1bf4bdaef27f5a3597af831655c85 Fri May 14 14:18:07 CDT 2021 Shawn McCarney <shawnmm@us.ibm.com> regulators: Add clearErrorHistory to Device class

Add a clearErrorHistory() method to the Device class. The method should
clear all data on previously logged errors. If the error occurs again
in the future, it will be logged again.

This method is normally called when the system is being powered on. For
code that runs repeatedly, errors are only logged once per boot.

When the system is powered off, hardware may be replaced that fixes the
problem. Thus, errors are cleared during power on.

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