#
16275831 |
| 27-Jun-2024 |
Shawn McCarney <shawnmm@us.ibm.com> |
pseq: Check STATUS_VOUT first to find pgood fault
Enhance the support for finding the correct voltage rail when a pgood fault occurs.
First check the PMBus STATUS_VOUT register for all rails. Chec
pseq: Check STATUS_VOUT first to find pgood fault
Enhance the support for finding the correct voltage rail when a pgood fault occurs.
First check the PMBus STATUS_VOUT register for all rails. Check the rails in power-on-sequence order.
Checking STATUS_VOUT is usually the most accurate method. For example, if a pgood fault occurs, the power sequencer device may automatically shut off related rails. Ideally the device will only set fault bits in STATUS_VOUT for the rail with the pgood fault. However, all the related rails will likely appear to be faulted by the other methods.
If no fault is found by checking STATUS_VOUT, then check the GPIOs and output voltage for all rails. Check the rails in power-on-sequence order.
Tested: * Verified all automated test cases run successfully.
Change-Id: Ida8732db573013f1b72edac8ed54e3cfc38da146 Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
show more ...
|
#
fe78c178 |
| 02-May-2024 |
Shawn McCarney <shawnmm@us.ibm.com> |
pseq: Refactor storage of debug data
After a pgood fault is detected, debug data is collected from the power sequencer device. This data is stored in the additional data map used to log an error.
pseq: Refactor storage of debug data
After a pgood fault is detected, debug data is collected from the power sequencer device. This data is stored in the additional data map used to log an error. The data is also written to the journal.
Previously the debug data was stored by one virtual method declared in the StandardDevice class. This method stored all the debug data including the GPIO values.
GPIO values are device-specific, so it is likely that subclasses will need to override this method to provide better formatting of the GPIO values. However, this means they will also be overriding other data storage performed by an ancestor class. This will likely lead to duplicated code.
Refactor the storage of GPIO values to a separate virtual method. This will allow child classes to override just that functionality while inheriting and reusing other data storage from ancestor classes.
Tested: * Verified automated tests ran successfully
Change-Id: I654a6a6a2f5386e06f9e7887cecfbb74523b715f Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
show more ...
|
#
fc3f31fb |
| 23-Apr-2024 |
Shawn McCarney <shawnmm@us.ibm.com> |
pseq: Add Services parameter to getGPIOValues()
Add a Services parameter to the PowerSequencerDevice::getGPIOValues() method in the phosphor-power-sequencer application.
The Services object impleme
pseq: Add Services parameter to getGPIOValues()
Add a Services parameter to the PowerSequencerDevice::getGPIOValues() method in the phosphor-power-sequencer application.
The Services object implements reading GPIO values in the standard way using the libgpiod interface.
Change-Id: Ia6d1f1a0919aa6f45405cbe8375f8cc37800b002 Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
show more ...
|
#
472101c5 |
| 17-Apr-2024 |
Shawn McCarney <shawnmm@us.ibm.com> |
pseq: Standard pgood fault detection algorithm
Create a StandardDevice class for the phosphor-power-sequencer application. This class implements the standard pgood (power good) fault detection algo
pseq: Standard pgood fault detection algorithm
Create a StandardDevice class for the phosphor-power-sequencer application. This class implements the standard pgood (power good) fault detection algorithm.
When adding support for a new power sequencer device type, a sub-class of StandardDevice should be created if possible. This will ensure that pgood fault detection works consistently across device types.
Tested: * Verified all new and existing gtests ran successfully
Change-Id: I80c0b36429f1d84fa1e317889803429927797fdc Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
show more ...
|