Home
last modified time | relevance | path

Searched hist:"2 ccf9617" (Results 1 – 3 of 3) sorted by relevance

/openbmc/phosphor-power/phosphor-regulators/src/
H A Drail.cpp2ccf9617 Fri May 14 11:09:17 CDT 2021 Shawn McCarney <shawnmm@us.ibm.com> regulators: Add clearErrorHistory to Rail class

Add a clearErrorHistory() method to the Rail 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: I41e56162165186acb7a7872a288f0582874aa87d
H A Drail.hpp2ccf9617 Fri May 14 11:09:17 CDT 2021 Shawn McCarney <shawnmm@us.ibm.com> regulators: Add clearErrorHistory to Rail class

Add a clearErrorHistory() method to the Rail 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: I41e56162165186acb7a7872a288f0582874aa87d
/openbmc/phosphor-power/phosphor-regulators/test/
H A Drail_tests.cpp2ccf9617 Fri May 14 11:09:17 CDT 2021 Shawn McCarney <shawnmm@us.ibm.com> regulators: Add clearErrorHistory to Rail class

Add a clearErrorHistory() method to the Rail 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: I41e56162165186acb7a7872a288f0582874aa87d