PLDM: Implement host-condition interface
This commit implements the PDI interface defined at https://gerrit.openbmc-project.xyz/c/openbmc /phosphor-dbus-interfaces/+/42435
pldmd hosts the new xyz.o
PLDM: Implement host-condition interface
This commit implements the PDI interface defined at https://gerrit.openbmc-project.xyz/c/openbmc /phosphor-dbus-interfaces/+/42435
pldmd hosts the new xyz.openbmc_project.Condition.HostFirmware interface so it's difficult for it to have other code within pldmd to also set this during startup.
The solution proposed in this commit is to provide the hostPDRHandler object to the HostFirmware interface implementation. This then allows reads of the HostFirmware property to just ask the hostPDRHandler for the current state of the host.
Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com> Change-Id: I3f7d4f573332e96fcd3ae594dc25750070cd6e62
show more ...
|