History log of /openbmc/witherspoon-pfault-analysis/power-supply/main.cpp (Results 1 – 15 of 15)
Revision Date Author Comments
# befec58b 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: Iee5e9ffc9cdaefb7db5577a9c422c1e9646253f2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# b7ed5773 10-May-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

Change-Id: I3edadffec0ea11e0a52d9b060167e9a9a38f1972
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# 1426a10b 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: Ic0fe1ed7e19cf114b8666d49d4d670c7d9ec595d

show more ...


# 2c4fbc4c 26-Jun-2020 Patrick Williams <patrick@stwcx.xyz>

clang-format: update to latest version

Pick up latest .clang-format file from the docs repository.
Fix formatting on all files.
Minor compile fixes due to GCC10 and sdbusplus changes

clang-format: update to latest version

Pick up latest .clang-format file from the docs repository.
Fix formatting on all files.
Minor compile fixes due to GCC10 and sdbusplus changes.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie1f7a4e59b6cf015310effef50d558ff59731024

show more ...


# f0f02b9a 25-Oct-2018 Matt Spinler <spinler@us.ibm.com>

Start using .clang-format

Used the one from docs/style/cpp.

Change-Id: I3bdc2b353bf18a437266b362d8205b8463a9ce2b
Signed-off-by: Matt Spinler <spinler@us.ibm.com>


# e5a8b473 18-Oct-2018 William A. Kennington III <wak@google.com>

event: Remove in favor of sdeventplus

Use the new library provided to all openbmc projects instead of rolling
our own managed pointer.

Tested: Compiled

Change-Id: I4993

event: Remove in favor of sdeventplus

Use the new library provided to all openbmc projects instead of rolling
our own managed pointer.

Tested: Compiled

Change-Id: I4993d4340e0e0aa5898e73ef815baa81b0e8a2bc
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


# c87eb826 18-Jan-2018 Matt Spinler <spinler@us.ibm.com>

Add input history collection support to main()

Will call enableHistory() on the PowerSupply instance
to start collection, and also start the D-Bus server
to host the objects that hol

Add input history collection support to main()

Will call enableHistory() on the PowerSupply instance
to start collection, and also start the D-Bus server
to host the objects that hold the history.

Change-Id: If3d95bae1ce4a773bcdba10496d904ecc32c9102
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...


# b08efa4f 16-Nov-2017 Brandon Wyman <bjwyman@gmail.com>

Increase the power on delay timer to 5 seconds

The current level of ship-level Witherspoon power supplies are not
always asserting the POWER_GOOD bit in the STATUS_WORD within the
ex

Increase the power on delay timer to 5 seconds

The current level of ship-level Witherspoon power supplies are not
always asserting the POWER_GOOD bit in the STATUS_WORD within the
expected 2 second window. Increasing the power on delay timer from 2
seconds to 5 seconds.

Change-Id: I980fefcd67c092b694ef482f89928f2bd9f82857
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>

show more ...


# 590fc28a 01-Nov-2017 Brandon Wyman <bjwyman@gmail.com>

Add in a delay before setting present to true

When a power supply is inserted, allow for a time delay before starting
the fault checks. This will give the individual servicing a power su

Add in a delay before setting present to true

When a power supply is inserted, allow for a time delay before starting
the fault checks. This will give the individual servicing a power supply
some time to insert the supply and then apply power.

Change-Id: Ic957be927cea26a6c011a0a634f84093e040b454
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>

show more ...


# 1dd3c9ae 10-Oct-2017 Brandon Wyman <bjwyman@gmail.com>

Update the delay from state=1 to powerOn=true

Increasing the power on delay timer from 1 second to 2 seconds, rounding
up from the 1250ms that should be the max from BMC_POWER_UP to DC_G

Update the delay from state=1 to powerOn=true

Increasing the power on delay timer from 1 second to 2 seconds, rounding
up from the 1250ms that should be the max from BMC_POWER_UP to DC_GOOD.

Resolves: openbmc/openbmc#2439

Change-Id: I90f363d31514c38efec8b3594ba705aea7ccb2bc
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>

show more ...


# 431fbe43 18-Aug-2017 Brandon Wyman <bjwyman@gmail.com>

Add support for tracking system power state

Change-Id: Ie0f27f696082ff3ee60c955992f3c2e55f4b5e57
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>


# 10295547 09-Aug-2017 Brandon Wyman <bjwyman@gmail.com>

Add STATUS_WORD to metadata for VIN_UV_FAULT

Change-Id: Iaa6001f7c5d0c558ad3bc01e209dc316236fea93
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>


# 442035f0 08-Aug-2017 Brandon Wyman <bjwyman@gmail.com>

Update analyze to check VIN_UV_FAULT

The function is a pure virtual function in DeviceMonitor, add in the
implementation of that for PowerSupply. Read the file that represents
that b

Update analyze to check VIN_UV_FAULT

The function is a pure virtual function in DeviceMonitor, add in the
implementation of that for PowerSupply. Read the file that represents
that bit from the STATUS_WORD. If fault is on, report a fault.

Change-Id: I05a4bff997bb0c8b8b71db444e9db0e506765689
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>

show more ...


# 1db9a9e2 26-Jul-2017 Brandon Wyman <bjwyman@gmail.com>

Update PowerSupply to be derived from Device

The PowerSupply will pass a name and instance number down to the Device
class it is derived from, but will also have an inventory path and a

Update PowerSupply to be derived from Device

The PowerSupply will pass a name and instance number down to the Device
class it is derived from, but will also have an inventory path and a
path to monitor for PMBus interfaces.

Change-Id: I29f875fda1f07d031b58ec7ffd381d655495f248
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>

show more ...


# 24e422fe 25-Jul-2017 Brandon Wyman <bjwyman@gmail.com>

Update build framework for PowerSupply fault app

Change-Id: I98a75efc88d92de0ab016a77d5dd4a1e9345df83
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>