History log of /openbmc/phosphor-power/services/phosphor-psu-monitor.service (Results 1 – 5 of 5)
Revision Date Author Comments
# 6ff01ae8 30-Mar-2023 Andrew Geissler <geissonator@yahoo.com>

psu-monitor: adapt do chassis state instance change

phosphor-state-manager moved to a multi chassis and multi host design
point. This made their corresponding service files instance based. For
backw

psu-monitor: adapt do chassis state instance change

phosphor-state-manager moved to a multi chassis and multi host design
point. This made their corresponding service files instance based. For
backwards support, instance 0 will always represent the entire system,
so utilize that as the dependency in this service file.

Tested:
- Verified in other similar commits that this type of relationship
works as expected

Change-Id: If8ed9abcbb6752ed86c801755df18467cf1e9fe8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# e367ded8 12-Apr-2022 Brandon Wyman <bjwyman@gmail.com>

psu-ng: Remove system from inventory mapper-wait

Update the service file for phosphor-psu-monitor to just wait for the
inventory service, not the /system inventory object specifically.
Waiting for t

psu-ng: Remove system from inventory mapper-wait

Update the service file for phosphor-psu-monitor to just wait for the
inventory service, not the /system inventory object specifically.
Waiting for the /system inventory object is unnecessary and can cause
delays in reaching BMC_READY state.

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

show more ...


# e5b1e087 02-Mar-2022 Adriana Kobylak <anoo@us.ibm.com>

psu-ng: Set the PowerSystemInputs status on Brownout condition

When a brownout condition is detected, set the PowerSystemInputs status
property to Fault to avoid an autorestart, reference design doc

psu-ng: Set the PowerSystemInputs status on Brownout condition

When a brownout condition is detected, set the PowerSystemInputs status
property to Fault to avoid an autorestart, reference design doc:
https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/48015

Add a Before=xyz.openbmc_project.State.Chassis.service to the psu
monitor service file since the chassis service is the one that will be
reading the property.

Add additional data to the Blackout error log.

Tested: On simulation:

1. Clear brownout at runtime:
- At power on, inject a power fault to all PSUs to trigger a brownout
and verify the CurrentPowerStatus is set to Fault:

Mar 20 19:49:14 p10bmc phosphor-log-manager[318]: Created PEL 0x5000000d
(BMC ID 13) with SRC 110000AC
Mar 20 19:49:14 p10bmc phosphor-power-control[307]:
callbackSetPowerSupplyError:
xyz.openbmc_project.State.Shutdown.Power.Error.Blackout

‣ Type=signal Endian=l Flags=1 Version=1 Cookie=94 Timestamp="Sun
2022-03-20 19:49:14.241856 UTC"
Sender=:1.1296
Path=/xyz/openbmc_project/power/power_supplies/chassis0/psus
Interface=org.freedesktop.DBus.Properties Member=PropertiesChanged
...
STRING
"xyz.openbmc_project.State.Decorator.PowerSystemInputs";
...
STRING
"xyz.openbmc_project.State.Decorator.PowerSystemInputs.Status.Fault";

- Additional data on the error log:

"User Data 1": {
"Section Version": "1",
"Sub-section type": "1",
"Created by": "0x2000",
"NOT_PRESENT_COUNT": "2",
"VIN_FAULT_COUNT": "2",
"_PID": "10244"
}

- Clear the brownout condition and verify the status is set to Good.

Change-Id: I29695b641fb81515680a478e872bac29a6de560a
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...


# 9b86852e 24-Nov-2020 Brandon Wyman <bjwyman@gmail.com>

psu-ng: Wait for inventory manager

The phosphor-psu-monitor application should wait for the inventory
manager service. It more specifically needs to wait until the inventory
manager

psu-ng: Wait for inventory manager

The phosphor-psu-monitor application should wait for the inventory
manager service. It more specifically needs to wait until the inventory
manager service has created the object path that the power supplies will
be under. Those are needed by the phosphor-gpio-presence service(s) in
order to create/update power supply objects with an updated Present
property based on the GPIO presence line state.

Remove the unnecessary wait for obmc-mapper.target.

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

show more ...


# bd1c4ffa 14-Jan-2020 Brandon Wyman <bjwyman@gmail.com>

psu: Add phosphor-psu-monitor.service

Creating a new service file for the phosphor-psu-monitor application
created by the phosphor-power-supply subdirectory tree.

Signed-off-by:

psu: Add phosphor-psu-monitor.service

Creating a new service file for the phosphor-psu-monitor application
created by the phosphor-power-supply subdirectory tree.

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

show more ...