#
0387a74e |
| 01-Jul-2024 |
Lakshmi Yadlapati <lakshmiy@us.ibm.com> |
openpower-pels: Move to libpldm pldm_transport APIs
- Replaced the deprecated pldm transport APIs with the new libpldm pldm_transport APIs. - Updated the receive function to pass pldm_transport as
openpower-pels: Move to libpldm pldm_transport APIs
- Replaced the deprecated pldm transport APIs with the new libpldm pldm_transport APIs. - Updated the receive function to pass pldm_transport as a parameter. - Modified the function signatures and their calls to ensure the pldm_transport parameter is properly passed.
This change migrates the application off of the deprecated "requester" APIs in libpldm.
We don't currently have the infrastructure in place to get the correct TIDs, so to keep everything working as before use the EID as the TID in the EID-to-TID mapping.
Change-Id: Ib143dc122637ef7e390fceb64f1f94c65172ae39 Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>
show more ...
|
#
1b41886d |
| 29-Jun-2023 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Use lg2 in PLMD related files
There are a lot of debug traces in the code that uses PLDM to send PELs up to the OS. Convert the files that deal with that to lg2 so that the debug traces can be
PEL: Use lg2 in PLMD related files
There are a lot of debug traces in the code that uses PLDM to send PELs up to the OS. Convert the files that deal with that to lg2 so that the debug traces can be seen by just running phosphor-log-manager from the command line where lg2 will print to the console as opposed to having to change the journal priority in an overlay file.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I818bab1bf636fe83d3e7ff64c1bc31ad5e09705e
show more ...
|
#
2544b419 |
| 04-Oct-2022 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: update with latest
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I329396457b83bb2eb8740629b4ac1fbe9106bced
|
#
e5f7508b |
| 24-Jan-2022 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Wait a bit after host up before sending PELs
Wait a minute after the host state switches to running before sending any PELs to the host. This applies both on a normal boot and also when the BM
PEL: Wait a bit after host up before sending PELs
Wait a minute after the host state switches to running before sending any PELs to the host. This applies both on a normal boot and also when the BMC is rebooted when the host is already up.
This is being done for 2 reasons: 1) Give some relief to the PLDM traffic and CPU load that occurs after a BMC reboot when the host is already up, because the host will also be exchanging PLDM PDRs with the BMC then and pretty much every application is also starting up at the time as well. 2) A lot of times on a normal boot the host notifier code ends up having to do a few retries when it first starts sending the PELs because the first few commands fail, possibly because the code on the receiving end isn't quite ready yet.
I arrived at that amount of time by deciding 30 seconds was reasonable, and then doubling it just to be sure. During testing of the reboots the minute timeout gave plenty of time for the BMC to get back to BMC ready.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I0929a4acdda0a9fe8fbdcd624c5821a642ad83a6
show more ...
|
#
3a4243a6 |
| 03-Mar-2020 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Decrease the PLDM send failure retry time The original desire for waiting 6s before retrying on a PLDM send failure was in the hopes that the PLDM daemon would free up PLDM instance
PEL: Decrease the PLDM send failure retry time The original desire for waiting 6s before retrying on a PLDM send failure was in the hopes that the PLDM daemon would free up PLDM instance IDs after that time in case they were all taken. However, the PLDM daemon did not end up implementing that feature, and even if it did now that the D-Bus call to get that is asynchronous the send function would succeed in that case anyway. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I442e7259fe731d13eb8c0502936bfb5b7ac2ccd6
show more ...
|
#
a44efe48 |
| 03-Mar-2020 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Common function to call host iface response Add a function to the HostInterface class to invoke the user defined command response function if there is one, and then change the code
PEL: Common function to call host iface response Add a function to the HostInterface class to invoke the user defined command response function if there is one, and then change the code to use this new function. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ia376923df70863bcd46120cf23918c2f255f984f
show more ...
|
#
99196688 |
| 11-Dec-2019 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Add HostInterface base class This is an abstract base class that is overridden to send a command to the host (such as a hypervisor) to notify it of new PELs. The only concr
PEL: Add HostInterface base class This is an abstract base class that is overridden to send a command to the host (such as a hypervisor) to notify it of new PELs. The only concrete implementation is using the 'New File Available' PLDM command. Using this base class allows the PLDM aspects to be mocked in testcases that involve queuing and sending PELs. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I830298d0fd949b4268c31c83acafe2afd90dd4cb
show more ...
|