#
06594229 |
| 01-May-2023 |
Matt Spinler <spinler@us.ibm.com> |
psu-ng: Fix chassis association call
The association name from a power supply to its chassis changed from 'chassis' to 'powering', so change that in the code.
Also update the code to find the assoc
psu-ng: Fix chassis association call
The association name from a power supply to its chassis changed from 'chassis' to 'powering', so change that in the code.
Also update the code to find the association using the new GetAssociatedSubTreePaths mapper method which is like the existing GetSubTreePaths but also ensures the results are an endpoint of the passed in association path. This way if the 'powering' association is used to show the power supply powers other things it will still work.
Change-Id: I9076a6b1502ba43a29404a191bd8bc56a9c5df45 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
ca1e9ea1 |
| 18-Feb-2022 |
Matt Spinler <spinler@us.ibm.com> |
psu-ng: Handle health rollup based on availability
When a PSU is set to not available, create an association between the power supply and its chassis as a way to 'roll up' the health status to that
psu-ng: Handle health rollup based on availability
When a PSU is set to not available, create an association between the power supply and its chassis as a way to 'roll up' the health status to that chassis. It looks like:
<chassis>/critical endpoints: <power supply> <power supply>/health_rollup endpoints: <chassis>
There is Redfish code that look at the endpoints in that chassis association object to determine if the chassis health is OK or not.
Note that some systems, such as IBM's, have other code that will fill in that association when it is called out in an event log, which is why this code doesn't have to do it for every single fault.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I262dd738ebadb72aa207011941066fc282bfe4df
show more ...
|
#
0975eaf4 |
| 14-Feb-2022 |
Matt Spinler <spinler@us.ibm.com> |
psu-ng: Add Availability support to power supplies
Add support for determining if a power supply is considered 'available' or not, and set the Available D-Bus property on the xyz.openbmc_project.Sta
psu-ng: Add Availability support to power supplies
Add support for determining if a power supply is considered 'available' or not, and set the Available D-Bus property on the xyz.openbmc_project.State.Decorator.Availability interface with the result.
A power supply is considered unavailable if any of the following are true: - it isn't present - there is a input fault active - there is a Vin UV fault active - there is a PS KILL fault active - there is a Iout OC fault active
The latter four faults are the faults where it can't provide good output power, hence the PS is unavailable. These faults also don't call out the power supply directly, so the Functional property won't get set to false, unlike other faults.
The Available D-Bus property is then able to be used in Redfish responses for the heath and state properties in the power supply schema.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I349eddb8c052cf238276c832af0dde9e49f6d3f0
show more ...
|
#
070c1bc6 |
| 11-Oct-2020 |
George Liu <liuxiwei@inspur.com> |
Update OperationalStatus interface according to the Present property value
When the Present property value changes, the corresponding OperationalStatus interface needs to be updated at the same time
Update OperationalStatus interface according to the Present property value
When the Present property value changes, the corresponding OperationalStatus interface needs to be updated at the same time. Refer to: https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/ openbmc_project/State/Decorator/OperationalStatus.interface.yaml
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I9eee9196125cf82605b20009b49a3ed7f65be53a
show more ...
|
#
1d7a7df8 |
| 26-Mar-2020 |
Brandon Wyman <bjwyman@gmail.com> |
psu-ng: Updates to get VPD data to inventory
Add in code to retrieve the VPD data and populate that data to the D-Bus inventory properties.
Use the PMBus utilities to retrieve the model (CCIN for I
psu-ng: Updates to get VPD data to inventory
Add in code to retrieve the VPD data and populate that data to the D-Bus inventory properties.
Use the PMBus utilities to retrieve the model (CCIN for IBM power supplies), part number, serial number, and firmware version information from the sysfs "files" provided via the device driver.
Only build in IBM VPD data collection and reporting if meson ran with -Dibm-vpd=true.
Tested: Copied SDK build of phospor-psu-monitor with -Dibm-vpd=true to Rainier hardware system, verified inventory properties updated/added.
Signed-off-by: Brandon Wyman <bjwyman@gmail.com> Change-Id: I61688b154ead570e9d9390342596bf7d840f4dce
show more ...
|
#
3d1ebcb4 |
| 05-Jan-2020 |
Lei YU <mine260309@gmail.com> |
power-supply: Remove version interface
In power supply monitor, a version interface is created in the PSU object in inventory (/xyz/openbmc_project/inventory).
With PSU code manager implemented in
power-supply: Remove version interface
In power supply monitor, a version interface is created in the PSU object in inventory (/xyz/openbmc_project/inventory).
With PSU code manager implemented in OpenBMC, the version object is created under software (/xyz/openbmc_project/software), so the version interface in inventory is not necessary anymore.
Tested: Verify the version and purpose do not exist anymore in /xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply[0|1] on Witherspoon, after factory reset.
Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: If61762a79195998a25c56aeec50af724f049ab4f
show more ...
|
#
e83604be |
| 08-Jan-2020 |
Cheng C Yang <cheng.c.yang@linux.intel.com> |
Add feature Cold Redundancy
Add an Intel specific feature PSU Cold Redundancy. This is the first patch which will get PSU information and PSU Event from D-Bus interfaces. Cold Redundancy design docu
Add feature Cold Redundancy
Add an Intel specific feature PSU Cold Redundancy. This is the first patch which will get PSU information and PSU Event from D-Bus interfaces. Cold Redundancy design document is in https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/27637
Signed-off-by: Cheng C Yang <cheng.c.yang@linux.intel.com> Change-Id: Ic039118e4cebc8b0ff6ba80493180a1d8af0096b
show more ...
|
#
e8c9cd64 |
| 04-Nov-2019 |
Lei YU <mine260309@gmail.com> |
power-utils: Implement isReadyToUpdate
Check other PSUs' status word and status vout, return false when the status has input/output fault.
Tested: Verify on Witherspoon that the update is not start
power-utils: Implement isReadyToUpdate
Check other PSUs' status word and status vout, return false when the status has input/output fault.
Tested: Verify on Witherspoon that the update is not started and log Unable to update PSU when other PSU has input/ouput fault when the other PSU has input/output error; And the update continues when the other PSU has no errors.
Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: Ia2a4a23a43c18a417b8a85fbd5339f487984e689
show more ...
|
#
cfc040c7 |
| 29-Oct-2019 |
Lei YU <mine260309@gmail.com> |
Refactor: Move isPoweredOn to utility
The check of power on will be used by other components, so move it to utility. There are several constexpr definitions are used by multiple components, move the
Refactor: Move isPoweredOn to utility
The check of power on will be used by other components, so move it to utility. There are several constexpr definitions are used by multiple components, move them into types.hpp so that we do not have duplicated constexprs.
Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I42ad142d6e7ae8da9c0cf6d8f5cb21dee229eba2
show more ...
|