b4ad95dd | 08-Mar-2022 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Observe minimum power off time
In order to give hardware components an appropriate time to discharge and prevent thrashing during brownouts, enforce a minimum power off time. A 25 second minim
pseq: Observe minimum power off time
In order to give hardware components an appropriate time to discharge and prevent thrashing during brownouts, enforce a minimum power off time. A 25 second minimum delay will be enforced after power off before the next power on. A minimum of 15 seconds must pass after cold start until a power on will start.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: Ib0cd0bcda1ca492548ee7912bab9a46181337098
show more ...
|
f6f0da9d | 28-Feb-2022 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Refactor on failure method
Refactor onFailure() method to consolidate logic and improve amount of device information captured as additional data.
Signed-off-by: Jim Wright <jlwright@us.ibm.co
pseq: Refactor on failure method
Refactor onFailure() method to consolidate logic and improve amount of device information captured as additional data.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: Id8ab37343ce9c9a98a2e52f360b552c2af7c4848
show more ...
|
7f20c5d0 | 28-Feb-2022 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Issue failures as system terminating
Power sequencing failures are system terminating, add the additional data values that so indicate.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-
pseq: Issue failures as system terminating
Power sequencing failures are system terminating, add the additional data values that so indicate.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I5a3acdcdb159bcc653bd3ffc38e4f275d294ccbf
show more ...
|
48752626 | 28-Feb-2022 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Prevent multiple failures
Multiple failures can occur when the power down sequence is slow. Add a flag to threshold the failures. Clear the flag at power on.
Signed-off-by: Jim Wright <jlwrig
pseq: Prevent multiple failures
Multiple failures can occur when the power down sequence is slow. Add a flag to threshold the failures. Clear the flag at power on.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I1b476feff1967b4fa60f29bd719bf6ee14fba103
show more ...
|
abd64b94 | 11-Feb-2022 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Clear power supply error at power on
After a successful tranisition to power on state, clear any set power supply error. This resets the monitoring and follows the usual assumption that hardwa
pseq: Clear power supply error at power on
After a successful tranisition to power on state, clear any set power supply error. This resets the monitoring and follows the usual assumption that hardware could have changed while the power was off.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I75f0f4cff91bb914d8edc422b13b4ff71267029a
show more ...
|
71a14131 | 28-Jan-2022 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Add UCD90320 specific error handling
Add device specific handling for voltage and power good failures to UCD90320 device subclass.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I
pseq: Add UCD90320 specific error handling
Add device specific handling for voltage and power good failures to UCD90320 device subclass.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I0ed7657320f4944d64ee434c1d02ce25d5cdc43b
show more ...
|
930458c2 | 24-Jan-2022 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Add generic failure handling to base class
Use the power sequencer base class to handle failure cases where the device is not found or a device specific failure can not determined. Add a error
pseq: Add generic failure handling to base class
Use the power sequencer base class to handle failure cases where the device is not found or a device specific failure can not determined. Add a error logging convience method. Move the D-Bus object to the base class.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I6f7c2951e83cb892ec0c63018d65d5e241ebe6f0
show more ...
|
d8fc0685 | 11-Jan-2022 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Setup UCD90320 device GPIOs
Setup GPIOs for UCD90320 device. GPIOs will be used for power good fault isolation. Use libgpiod.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I9c104
pseq: Setup UCD90320 device GPIOs
Setup GPIOs for UCD90320 device. GPIOs will be used for power good fault isolation. Use libgpiod.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I9c104e3fddcb1847a95f6fb67bf6c139745f2d0c
show more ...
|
ccea2d2b | 10-Dec-2021 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Add setPowerSupplyError D-Bus method
Add a setPowerSupplyError method to the org.openbmc.control.Power D-Bus interface. When a power supply error is detected which is severe enough to cause a
pseq: Add setPowerSupplyError D-Bus method
Add a setPowerSupplyError method to the org.openbmc.control.Power D-Bus interface. When a power supply error is detected which is severe enough to cause a power good failure, that error should be used in preference to the power good error. Add a D-Bus method to allow this to be communicated between the applications. The parameter passed should be the power supply error to log, for example "xyz.openbmc_project.Power.PowerSupply.Error.PSKillFault".
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I8500ace4638236dda2d7ff4361b61efa30a50ac1
show more ...
|
d8a8617a | 08-Dec-2021 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Find and parse configuaration file
Use the compatible systems information from entity manager to find the correct system specific configuration file. Then parse the rail and pin data from the
pseq: Find and parse configuaration file
Use the compatible systems information from entity manager to find the correct system specific configuration file. Then parse the rail and pin data from the configuration file.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: Ie7a13bece9c6cc1246cca733e2275b084bac95c8
show more ...
|
56ae78e1 | 01-Dec-2021 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Retrieve compatible systems from EM
Retrieve compatible systems value from entity manager using appropriate D-Bus methods. Will be used to load correct configuration file containing system ra
pseq: Retrieve compatible systems from EM
Retrieve compatible systems value from entity manager using appropriate D-Bus methods. Will be used to load correct configuration file containing system rail and pin information.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I040b4fcb182f752e5ac1a3c930b53464eebef2da
show more ...
|
7945dd27 | 06-Apr-2021 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Add base and UCD90320 device monitor classes
Add a power sequencer device monitoring base class and a UCD90320 subclass. Update power controller class to construct and pass device information
pseq: Add base and UCD90320 device monitor classes
Add a power sequencer device monitoring base class and a UCD90320 subclass. Update power controller class to construct and pass device information to device class. Update build file to support.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: Idf3ef53011b23f15841d93795f9f0995892b10b9
show more ...
|
2d99bf7d | 19-Nov-2021 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Retrieve device info from entity manager
Retrieve power sequencer device information from entity manager using appropriate DBUS methods.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change
pseq: Retrieve device info from entity manager
Retrieve power sequencer device information from entity manager using appropriate DBUS methods.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I4b0f821345fa9be9146e1a480d2b4e8aabd2c267
show more ...
|
4e25df5e | 17-Nov-2021 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Add logging of power on/off timeout entries
When power on or power off times out, create log entries.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I458f43c3c44f0540819d71e3b5530
pseq: Add logging of power on/off timeout entries
When power on or power off times out, create log entries.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I458f43c3c44f0540819d71e3b55309d486e8e62d
show more ...
|
9d7d95c7 | 16-Nov-2021 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Call chassis hard power off on pgood fail
When chassis power good fails, call the chassis hard power off target. This allows the components within to recognize that the power is now off.
Sign
pseq: Call chassis hard power off on pgood fail
When chassis power good fails, call the chassis hard power off target. This allows the components within to recognize that the power is now off.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I0adf6da3f9c1f0c84255b53c6abf0b3d66ef6e4c
show more ...
|
209690b5 | 11-Nov-2021 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Add two second wait to power off
In order to allow host and other BMC applications time to complete power off processing, add a two second wait before initiating power off to the power sequenc
pseq: Add two second wait to power off
In order to allow host and other BMC applications time to complete power off processing, add a two second wait before initiating power off to the power sequencer.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I84517bfa776e0b321a47ae4986b5fc84b2682926
show more ...
|
7a5dd99b | 31-Aug-2021 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Add GPIOs to power control application
Add power control GPIOs for power on / off control and chassis power good monitoring. Use libgpiod and make neccessary meson changes.
Signed-off-by: Jim
pseq: Add GPIOs to power control application
Add power control GPIOs for power on / off control and chassis power good monitoring. Use libgpiod and make neccessary meson changes.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I4f44552e855547fea466a98cb71acdb315aa26f5
show more ...
|
c1d4de5e | 06-Oct-2021 |
Patrick Williams <patrick@stwcx.xyz> |
catch exceptions as const
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: If6aba71f482f75143e6d669763b8853db22318cf |
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 ...
|
22318a32 | 27-Aug-2021 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Implement power interface in control app
Have the power control application be an implementer of the power interface. Override methods and emit signals as appropriate.
Signed-off-by: Jim Wrig
pseq: Implement power interface in control app
Have the power control application be an implementer of the power interface. Override methods and emit signals as appropriate.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I96109d3278001c2fe9fd78f69ce69fe83c542ead
show more ...
|
1992083a | 25-Aug-2021 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Add power control dbus server interface
Add the PowerInterface class which provides a server interface for the "org.openbmc.control.Power" dbus service.
Update meson.build file to support.
T
pseq: Add power control dbus server interface
Add the PowerInterface class which provides a server interface for the "org.openbmc.control.Power" dbus service.
Update meson.build file to support.
The "org.openbmc.control.Power" interface is currently used by the Chassis component to control power on and off as well as by a number of other OBMC applications which use the pgood property and associated signals to determine the power state of the system. Some desire to move to a "xyz.openbmc_project.control.Power" interface has been expressed. The following is a proposed plan to accomplish this: 1. Create a compatible "org.openbmc.control.Power" application (this commit). 2. Add "xyz..." interface to this application (future commit). 3. Begin transition of existing applications to new interface (future commits).
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: Ia9a6bbb58b5e439623d3931426cb91cb8948da7a
show more ...
|
539b608f | 02-Aug-2021 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Begin power control implementation
Fill in the power control main method. Introduce the power control class and header file. Introduce the power good polling loop. Update meson file to support
pseq: Begin power control implementation
Fill in the power control main method. Introduce the power control class and header file. Introduce the power good polling loop. Update meson file to support.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I9a5f9d71a65fa4916c701e3aad334be2989b1b16
show more ...
|
10eb00f6 | 21-Jul-2021 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Create phosphor-power-control application
Create the initial version of the phosphor-power-control application.
Update meson.build file to support.
Signed-off-by: Jim Wright <jlwright@us.ibm
pseq: Create phosphor-power-control application
Create the initial version of the phosphor-power-control application.
Update meson.build file to support.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I07e1389672236856deadf3452c2485b152d6b57d
show more ...
|
1553cd9a | 31-Mar-2021 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Create phosphor-power-sequencer application
Create the initial version of the phosphor-power-sequencer application.
Update or create meson and README files to support.
Signed-off-by: Jim Wri
pseq: Create phosphor-power-sequencer application
Create the initial version of the phosphor-power-sequencer application.
Update or create meson and README files to support.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I385358cc601448a35b3aae9bfa1c6488f1512c59
show more ...
|