commit | 2b78eb0ef42c49fde43684f542832576db07253b | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Wed Apr 06 19:38:47 2022 +0000 |
committer | Adriana Kobylak <anoo@us.ibm.com> | Fri Apr 08 01:52:26 2022 +0000 |
tree | 5f1f5705e21bd3744e1c1a740985ab53ddbe7bdc | |
parent | 267c413f6d487341dbc674102dfea7eddc7d92c8 [diff] |
functions: Remove GetObject to check if PLDM is running In order to check if PLDM is running, the code was subscribing to Name Owner change and calling GetObject to see if PLDM was running, but PLDM starts and does not immediately create its Object Manager, therefore there is a time window when if PLDM starts but hasn't created its Object Manager, and the openpower service starts, it'll hang forever waiting for the Name Owner change signal that will not be sent because PLDM already started. Instead of calling GetObject, just attempt to run the callback, in this case setting the bios attribute, and forward the exception if it fails (due to PLDM not running and the property not existing in D-Bus yet), so that the openpower service continues to wait. Change the log severity to informational since setting the bios attribute will fail if PLDM has not started yet. Tested: Stopped the PLDM and Entity Manager services and started these services and the openpower service in various different orders to verify the openpower service ran when both PLDM and EM had started. Change-Id: Idd2f344beda8dfcf2b987b3cab6f8967c63cab4c Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
OpenPower PNOR (Processor NOR) Code Management provides a set of host software management applications for OpenPower systems. The host firmware is stored on the PNOR chip. More information can be found at Software Architecture or Host Code Update
To build this package, do the following steps:
meson build
ninja -C build
To clean the repository run rm -r build
.