#
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 ...
|
#
16c2a0a0 |
| 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: I8c84201cb2343a8c8a5507a49de0721a1bee7063 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
ef5c4eb0 |
| 25-Jul-2024 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
fix type deduction failure in gcc-14
Looks like gcc-14 has even more strict & more accurate compile time checks and the current pldm code does not compile with gcc-14 and reports the following error
fix type deduction failure in gcc-14
Looks like gcc-14 has even more strict & more accurate compile time checks and the current pldm code does not compile with gcc-14 and reports the following error:
``` 03:20:47 | ../git/platform-mc/terminus_manager.cpp: In member function 'exec::task<int> pldm::platform_mc::TerminusManager::discoverMctpTerminusTask()': 03:20:47 | ../git/platform-mc/terminus_manager.cpp:173:38: error: use of 'auto pldm::platform_mc::TerminusManager::findTerminusPtr(const pldm::MctpInfo&)' before deduction of 'auto' 03:20:47 | 173 | auto it = findTerminusPtr(mctpInfo); 03:20:47 | | ~~~~~~~~~~~~~~~^~~~~~~~~~ 03:20:47 | ../git/platform-mc/terminus_manager.cpp: In member function 'void pldm::platform_mc::TerminusManager::removeMctpTerminus(const pldm::MctpInfos&)': 03:20:47 | ../git/platform-mc/terminus_manager.cpp:196:34: error: use of 'auto pldm::platform_mc::TerminusManager::findTerminusPtr(const pldm::MctpInfo&)' before deduction of 'auto' 03:20:47 | 196 | auto it = findTerminusPtr(mctpInfo);
```
compiler seems to be confused to decude the type for `auto`. Since we already have a type definition, directly using that to feed some extra information to the compiler at build time.
Change-Id: I4363afb5fc5f6177c96d313ac88be22418805fbd Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
show more ...
|
#
78dd846b |
| 25-Jul-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
platform-mc: terminus_manager: Remove unused 'event' field
``` In file included from ../platform-mc/terminus_manager.cpp:1: ../platform-mc/terminus_manager.hpp:211:25: error: private field 'event' i
platform-mc: terminus_manager: Remove unused 'event' field
``` In file included from ../platform-mc/terminus_manager.cpp:1: ../platform-mc/terminus_manager.hpp:211:25: error: private field 'event' is not used [-Werror,-Wunused-private-field] 211 | sdeventplus::Event& event; | ^ ```
Change-Id: Ibcad959ae4c0272aa2f923ca8c5fa3ee292b06e2 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
#
29d2f4aa |
| 13-Jul-2024 |
Patrick Williams <patrick@stwcx.xyz> |
terminus_manager: fix spelling of Terminus
The function `findTerminusPtr` was missing an "r".
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id5e9eefa6031f459caae076833c6c64161a13d71
|
#
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 ...
|