#
8b169dc5 |
| 24-Nov-2024 |
Unive Tien <unive.tien.wiwynn@gmail.com> |
fw_update: InventoryManager: Add Downstream Devices Support
In DSP0267_1.1.0, a Firmware Device can supports one or more Downstream Devices to perform get firmware version or firmware update. Add di
fw_update: InventoryManager: Add Downstream Devices Support
In DSP0267_1.1.0, a Firmware Device can supports one or more Downstream Devices to perform get firmware version or firmware update. Add discovery of Downstream Devices, query the Downstream Devices Descriptor if the Firmware Device support it.
The code is developed based on DSP0267_1.1.0 Section 10.3 QueryDownstreamDevices command format, Section 10.4 QueryDownstreamIdentifiers command format.
Tested: Add unit tests for the new command handlers.
Change-Id: Iad28b898b5a0799b2b145d38958bba78e9719f4e Signed-off-by: Unive Tien <unive.tien.wiwynn@gmail.com>
show more ...
|
#
9027497f |
| 17-Jul-2024 |
Thu Nguyen <thu@os.amperecomputing.com> |
mctp-discovery: Get endpoint UUID from D-Bus
Getting the MCTP endpoint UUID from `UUID` D-Bus property in `xyz.openbmc_project.Common.UUID` D-Bus interface of MCTP Endpoint object. Update the endpoi
mctp-discovery: Get endpoint UUID from D-Bus
Getting the MCTP endpoint UUID from `UUID` D-Bus property in `xyz.openbmc_project.Common.UUID` D-Bus interface of MCTP Endpoint object. Update the endpoint MCTPInfo with that UUID.
Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com> Change-Id: I35e83eac11fafafdad57cdc0285b344650caefbd
show more ...
|
#
77e6fe7a |
| 06-Aug-2024 |
Gilbert Chen <gilbertc@nvidia.com> |
platform-mc: Added EventManager
Added eventManager to handle sensor event class(00h) which is defined in table 11 of DSP0248 v1.3.0. In this commit, the eventManager supports to receive event asynch
platform-mc: Added EventManager
Added eventManager to handle sensor event class(00h) which is defined in table 11 of DSP0248 v1.3.0. In this commit, the eventManager supports to receive event asynchronously. The commit will also log the Ipmitool SEL log and Redfish log for PLDM sensor event messages.
Change-Id: I1b337ccae454067841ffbbd8754631216a995542 Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com> Signed-off-by: Gilbert Chen <gilbertc@nvidia.com>
show more ...
|
#
b3b84b49 |
| 23-Aug-2024 |
Pavithra Barithaya <pavithrabarithaya07@gmail.com> |
clang-tidy: Enable modernize-deprecated-headers check
Some headers from C library were deprecated in C++ and are no longer welcome in C++ codebases. Some have no effect in C++ [1].
[1]: https://rel
clang-tidy: Enable modernize-deprecated-headers check
Some headers from C library were deprecated in C++ and are no longer welcome in C++ codebases. Some have no effect in C++ [1].
[1]: https://releases.llvm.org/13.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/modernize-deprecated-headers.html
Change-Id: Ia3b1df10175e2e661c8fffb82e357c9db81b2e9c Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
show more ...
|
#
51d66b59 |
| 06-Aug-2024 |
Thu Nguyen <thu@os.amperecomputing.com> |
platform-mc: Set the local terminus as event receiver
Send `SetEventReceiver` to the discoveried terminus with the configurable local EID to set the local terminus as event receiver. Before send `Se
platform-mc: Set the local terminus as event receiver
Send `SetEventReceiver` to the discoveried terminus with the configurable local EID to set the local terminus as event receiver. Before send `SetEventReceiver` the local terminus also send `EventMessageSupported` to get the `synchronyConfigurationSupported`. The `eventMessageGlobalEnable` and `heartbeatTimer` options in the `SetEventReceiver` command will depend on the responded `synchronyConfigurationSupported`.
Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com> Signed-off-by: Gilbert Chen <gilbertc@nvidia.com> Change-Id: Ia798c1cd5d946ac519933bca60620e970fe10b0a
show more ...
|
#
eac61a4b |
| 23-Feb-2022 |
Gilbert Chen <gilbert.chen@arm.com> |
platform-mc: Add sensor manager
Added sensor_manager class. The sensor_manager class manages the timing of sensor polling.
tested: Verified on ast2600 EVB which is connected to a PLDM device over I
platform-mc: Add sensor manager
Added sensor_manager class. The sensor_manager class manages the timing of sensor polling.
tested: Verified on ast2600 EVB which is connected to a PLDM device over I2C. bmcweb can display the state of numeric sensor.
Signed-off-by: Gilbert Chen <gilbert.chen@arm.com> Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com> Change-Id: I4257f823ea26d7fdb322cc82d847e94db056258c
show more ...
|
#
de2a132a |
| 24-May-2022 |
Gilbert Chen <gilbert.chen@arm.com> |
platform-mc: PDR handling
Get PDRs of new terminus if it supports GetPDR PLDM command. It doesn't handle the event receiver related initialization steps, and either doesn't support primary PDR repos
platform-mc: PDR handling
Get PDRs of new terminus if it supports GetPDR PLDM command. It doesn't handle the event receiver related initialization steps, and either doesn't support primary PDR repository to maintain terminus locator PDR information yet. Added parse PDR member functions to terminus class for parsing Numeric sensor PDR and sensor auxiliary names PDR. Added sensor auxiliary names PDR and numeric sensor PDR struct in libpldm/platform.h
Signed-off-by: Gilbert Chen <gilbert.chen@arm.com> Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com> Change-Id: I30a0cc594a3c08fc17f2dad861b5c5d41c80ebdd
show more ...
|
#
079e7769 |
| 21-Jun-2024 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://githu
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://github.com/codespell-project/codespell
Change-Id: I16082f7e664541e98fa1cae2b2bcce59dd9cb250 Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
show more ...
|
#
6c7fed4c |
| 22-Feb-2022 |
Gilbert Chen <gilbert.chen@arm.com> |
platform-mc: Added Terminus/TerminusManager class
Added requester::sendRecvPldmMsg awaiter type to be able to send and receive PLDM message by coroutine. Added TerminusManager to discover terminus f
platform-mc: Added Terminus/TerminusManager class
Added requester::sendRecvPldmMsg awaiter type to be able to send and receive PLDM message by coroutine. Added TerminusManager to discover terminus from EID list updated by MCTPDiscovery class. The TerminusManager will initialize TID.
Signed-off-by: Gilbert Chen <gilbert.chen@arm.com> Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com> Change-Id: Ifa5bdfff50648f1d7fba8710e160de662e8f9e06
show more ...
|
#
44524a5f |
| 14-Feb-2022 |
Gilbert Chen <gilbert.chen@arm.com> |
requester: Modified MctpDiscovery class
Modified MctpDiscovery class to take list of managers instead of single fwManager. The change is for adding platform-mc manager. Added loadStaticEndpoints API
requester: Modified MctpDiscovery class
Modified MctpDiscovery class to take list of managers instead of single fwManager. The change is for adding platform-mc manager. Added loadStaticEndpoints API for MCTP layer which doesn't implement /xyz/openbmc_project/MCTP/Endpoint.Interface
The patch is part of implementation of design document below. https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/47252
Signed-off-by: Gilbert Chen <gilbert.chen@arm.com> Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com> Change-Id: I1e1673504583a87f2a9bc3adf76fb49c2dc30254
show more ...
|
#
92fb0b55 |
| 17-Apr-2024 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Revert "Adding severity when reporting an error"
This reverts commit d28f08cf0238435ac92184fabaafd9c76bff62cf.
Reason for revert : Pel severity is completely openpower-specific , we should not poll
Revert "Adding severity when reporting an error"
This reverts commit d28f08cf0238435ac92184fabaafd9c76bff62cf.
Reason for revert : Pel severity is completely openpower-specific , we should not polluting common code with IBM specific things, hence reverting this change for now.
Change-Id: If11721b1522097460ba07d51335b7ebbe821311a Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
show more ...
|
#
d28f08cf |
| 15-Dec-2021 |
Pavithra Barithaya <pavithra.b@ibm.com> |
Adding severity when reporting an error
Severity is part of the PEL User Header section, and is used to specify the PEL severity. This commit adds an option to pass severity parameter while logging
Adding severity when reporting an error
Severity is part of the PEL User Header section, and is used to specify the PEL severity. This commit adds an option to pass severity parameter while logging PEL. This will help to classify PELs based on their severity. The commit also maintains uniformity in the PEL Error logged.
Tested: By creating the error logs(pel) in error scenarios.
Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com> Change-Id: Ic084d49b8ffe9aaea2c36c9fefa95a10a9c1c3ec
show more ...
|
#
e3607a3c |
| 16-Feb-2024 |
Sagar Srinivas <sagar.srinivas@ibm.com> |
Add state set id support for remote sensor events
In the current state, PLDM does not support having a state set ID field in the event JSONs, this commit would add that support in PLDM there by allo
Add state set id support for remote sensor events
In the current state, PLDM does not support having a state set ID field in the event JSONs, this commit would add that support in PLDM there by allowing hosts to have multiple sensors with the same entity instance number, type and container id, but with different state sets.
TESTED: with pldmtool raw commands sending sensor events to the BMC.
Signed-off-by: Sagar Srinivas <sagar.srinivas@ibm.com> Change-Id: If9bb9bde27d6b35f5904ac199801dbdffde0f57e
show more ...
|
#
fb3bc06f |
| 17-Aug-2021 |
Tom Joseph <rushtotom@gmail.com> |
fw-update: Firmware discovery of MCTP endpoints
Tested:
a) Verified MCTP endpoints are discovered by PLDM and fetching the firmware inventory commands. b) PLDM firmware update successful after u
fw-update: Firmware discovery of MCTP endpoints
Tested:
a) Verified MCTP endpoints are discovered by PLDM and fetching the firmware inventory commands. b) PLDM firmware update successful after uploading the package, which depends on the firmware inventory commands. c) Verified MCTP endpoints are discovered irrespective of the startup order with the MCTP control application.
Signed-off-by: Tom Joseph <rushtotom@gmail.com> Change-Id: I7ee9aed40433a8e5a4ebb8e61f917ec82dde9c35
show more ...
|
#
1630f399 |
| 29-Jun-2021 |
Tom Joseph <rushtotom@gmail.com> |
fw-update: Implement firmware update package parser
PackageParser implements parsing the common elements across version 1 and version 2 of the PackageHeader. PackageParserV1 handles parsing the pack
fw-update: Implement firmware update package parser
PackageParser implements parsing the common elements across version 1 and version 2 of the PackageHeader. PackageParserV1 handles parsing the package header version 1 as defined in DSP0267_1.0.0 and DSP0267_1.0.1.
Tested: Unit tests added
Signed-off-by: Tom Joseph <rushtotom@gmail.com> Change-Id: Iddabd435755f462c042a85a286b1b0a50eb346b1
show more ...
|
#
75356c1a |
| 20-Jun-2021 |
Tom Joseph <rushtotom@gmail.com> |
fw-update: Implement inventory manager
1. Discover firmware devices that implement fw update specification 2. Implements request/response for QueryDeviceIdentifiers command 3. Implements request/res
fw-update: Implement inventory manager
1. Discover firmware devices that implement fw update specification 2. Implements request/response for QueryDeviceIdentifiers command 3. Implements request/response for GetFirmwareParameters command 4. Enumerates device identifiers and component information to be used for fw-update
Signed-off-by: Tom Joseph <rushtotom@gmail.com> Change-Id: Ifa035c801a7c62bac9a7e947ed4a43d48f85a4ed
show more ...
|
#
60e1fe91 |
| 08-Oct-2021 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Make Terminus info a class variable
The terminus information is needed at various places in pldm and instead of passing that structure around via function arguments, it is cheaper to maintain it as
Make Terminus info a class variable
The terminus information is needed at various places in pldm and instead of passing that structure around via function arguments, it is cheaper to maintain it as a class variable.
And this commit also removes the redundant structure that stores partial terminus information.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: If34cfe1c47bdeceaabdae779ee7cd8569beedf5d
show more ...
|
#
70a47baf |
| 02-Sep-2021 |
Patrick Williams <patrick@stwcx.xyz> |
dos2unix conversion
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I78a4c2f28285ea30d66895b352402bfd12f95c00
|
#
74f27c73 |
| 16-May-2021 |
Tom Joseph <rushtotom@gmail.com> |
requester: PLDM handler for async request/response
PLDM request handler provides APIs to register PLDM request message, handle retries and instance ID expiration. Sending the PLDM request and handli
requester: PLDM handler for async request/response
PLDM request handler provides APIs to register PLDM request message, handle retries and instance ID expiration. Sending the PLDM request and handling response is handled in an async manner. On receiving the response the corresponding response handler registered for the request is invoked.
Tested: Ran unit tests
Signed-off-by: Tom Joseph <rushtotom@gmail.com> Change-Id: I9f0a9dfcf0fbc9a84eefad375b92d40dd8b48d3d
show more ...
|
#
aea5dde1 |
| 31-Aug-2020 |
Sampa Misra <sampmisr@in.ibm.com> |
oem ibm: infrastructure for oem handlers
1. This commit adds the framework for an oem handler which can be used by specific oem use-cases for implementing various commands.
2. This commit adds impl
oem ibm: infrastructure for oem handlers
1. This commit adds the framework for an oem handler which can be used by specific oem use-cases for implementing various commands.
2. This commit adds implementation for getStateSensorReadings and setStateEffecterStates commands for oem state sets.
3. Also adds implementation for inband code update.
Change-Id: Ib38a66ee381dd06b93f6a9313d51de1c23e6ee65 Signed-off-by: Sampa Misra <sampmisr@in.ibm.com>
show more ...
|
#
868c879a |
| 26-May-2020 |
Sampa Misra <sampmisr@in.ibm.com> |
host-bmc: Process host TL PDR
Process host TL PDR and build TLPDRMap for easy lookup based on PLDMTerminusHandle, the parsing of the host state sensors is done after the TL PDR's are processed.
Tes
host-bmc: Process host TL PDR
Process host TL PDR and build TLPDRMap for easy lookup based on PLDMTerminusHandle, the parsing of the host state sensors is done after the TL PDR's are processed.
Tested:
Tested on Rainier simics and sensor event from host is handled and the D-Bus object is updated.
Change-Id: I3b5903c4e6a071465ac84cedb9723019dc6d06fa Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com> Signed-off-by: Sampa Misra <sampmisr@in.ibm.com>
show more ...
|
#
d130e1a3 |
| 17-Jun-2020 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
common: code re-org
Move common files under a common/ directory.
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> Change-Id: I0eaf91d4ee94c1e78228da0c50892f82e91912fa
|