#
f5402197 |
| 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: I7b90380845efee6bf6a1fe342a793d71aa9ff181 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
768d2269 |
| 09-Jul-2024 |
Shawn McCarney <shawnmm@us.ibm.com> |
Move to std::format
The OpenBMC project is moving from the fmt project to the built-in std::format() support.
Update source files and meson files to move to std::format().
Tested: * Verified build
Move to std::format
The OpenBMC project is moving from the fmt project to the built-in std::format() support.
Update source files and meson files to move to std::format().
Tested: * Verified builds cleanly in local CI * Verified all automated tests run successfully * Verified builds cleanly in bitbake * Verified an affected phosphor-psu-monitor journal message still works correctly. * Verified an affected phosphor-power-sequencer journal message still works correctly.
Change-Id: I97b63cf9d132e2b6f173afb30953a9083d68133f Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
show more ...
|
#
7354ce62 |
| 22-Jul-2022 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are for: * bus_t * exception_t * manager_t * match_t * message_t * object_t * slot_t
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ief05bd757cffb1453e058a719ee4b060861752e7
show more ...
|
#
213ffe99 |
| 03-Jun-2022 |
Jim Wright <jlwright@us.ibm.com> |
pseq: Create dump on runtime pgood failure
Currently no dump is created when a power good failure occurs at runtime. Add the call to create a dump.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> C
pseq: Create dump on runtime pgood failure
Currently no dump is created when a power good failure occurs at runtime. Add the call to create a dump.
Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I1effbf13f0b2fd234deea96171efa289f9fa2380
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 ...
|
#
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 ...
|
#
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 ...
|