- Jun 17, 2019
-
-
Jinu Joy Thomas authored
Create folder structure (oem/ibm) for ibm pldm oem commands. Move the files from the ibm-pldm-oem repo [https://github.com/openbmc/ibm-pldm-oem ] to the folder oem/ibm/ under the pldm repo and enable conditional compilation for it. The test files are also conditionally compiled. You would need to provide --enable-oem-ibm to configure. This is done to simplify the build time and runtime dependencies between the standard and oem implementations. Signed-off-by:
Jinu Joy Thomas <jinu.joy.thomas@in.ibm.com> Change-Id: Iaa93c73faff87290e3d3d5d155d9ecae6e7ee6f9
-
- Jun 11, 2019
-
-
Zahed Hossain authored
Updated to code so that the response params in encode_xxx_resp() functions were encoded only if response was a success, not otherwise. Change-Id: Ie74ed11c77b481814ff08cea600a4c9a9aa3ae6a Signed-off-by:
Zahed Hossain <zahzahed@in.ibm.com>
-
- Jun 10, 2019
-
-
vkaverap authored
With this change, PLDM code is optimised. The PLDM payload message structure previously consisted of a pointer to the payload message and the payload length, this structure is removed with this commit and the PLDM message structure now has the PLDM header structure and an array of size 1 whose address is the starting byte of message payload. Therefore, pldm msg struct can represent a request/response message in contiguous memory, thereby enabling simple casts and avoiding memcpys to get from a uint8_t* to pldm msg or vice versa. This commit also introduces a change to have the response handlers allocate memory for responses. This is aligned with the message struct change, and enables varying length responses. Change-Id: Ia46d852b8b16bfc7cf04f38435bd4079ad33c66b Signed-off-by:
vkaverap <vkaverap@in.ibm.com>
-
- May 28, 2019
-
-
Zahed Hossain authored
The bitfield8_t was missing the bit 4 field - added the same. Change-Id: I4b5be334f0c0b604053c911ca8e9168e35b43875 Signed-off-by:
Zahed Hossain <zahzahed@in.ibm.com>
-
- May 09, 2019
-
-
vkaverap authored
This commit implements the encode request and decode response APIs for the SetStateEffecterStates command. This enables BMC requester apps to send this command and process the received response. Change-Id: I1436c8730553b5a1aed8cda1fa90b8742e5be228 Signed-off-by:
vkaverap <vkaverap@in.ibm.com>
-
- Apr 30, 2019
-
-
Deepak Kodihalli authored
Replace inclusion of phosphor-logging elog-errors.hpp by log.hpp. The latter was what was just needed. Signed-off-by:
Deepak Kodihalli <dkodihal@in.ibm.com> Change-Id: I0781aec734d5afb54369d9961085413ed755629d
-
Deepak Kodihalli authored
The section describing the pldm daemon was added a bit prematurely. This is still work in progress alongwith the MCTP design. This will be described later on once the design is finalised. Signed-off-by:
Deepak Kodihalli <dkodihal@in.ibm.com> Change-Id: I0a13c8e561acce64b74ec5f69e6dcab881d087b7
-
Deepak Kodihalli authored
Install headers to $(includedir)/libpldm instead of $(includedir). This is considered an autoconf best practice. Signed-off-by:
Deepak Kodihalli <dkodihal@in.ibm.com> Change-Id: I5c84f0b13da58531e6cf5e6967910ec5a0517dd6
-
Deepak Kodihalli authored
The libpldmresponder Makefile.am needs to add top_srcdir to the include path to enable out-of-tree builds. This way the code can continue to include something like "libpldm/foo.h". Signed-off-by:
Deepak Kodihalli <dkodihal@in.ibm.com> Change-Id: If4fa6f1fdac3395dfb389989f18d5de4d259de46
-
- Apr 25, 2019
-
-
Deepak Kodihalli authored
Change-Id: I9fb85f56900519478e3c777901beea1ed4af2b5f Signed-off-by:
Deepak Kodihalli <dkodihal@in.ibm.com>
-
- Apr 16, 2019
-
-
Sampa Misra authored
This commit implements the GetDateTime command which is defined in PLDM Bios Control and Configuration Specification. Change-Id: Iced21bbad7be07d357b6885b1b1e03b07a3da165 Signed-off-by:
Sampa Misra <sampmisr@in.ibm.com>
-
- Apr 12, 2019
-
-
Sampa Misra authored
This commit implements the decode of the request and encode of the response for the setStateEffecterStates command. Change-Id: Idc5f1316386dc650564d9859a63fbeade24d82d8 Signed-off-by:
Sampa Misra <sampmisr@in.ibm.com>
-
- Apr 10, 2019
-
-
Tom Joseph authored
Change-Id: I0068fb8266f742ddfb271447558f28e308e30ccd Signed-off-by:
Tom Joseph <tomjoseph@in.ibm.com>
-
- Mar 26, 2019
-
-
Priyanga authored
To enable: './configure --enable-code-coverage' To build and generate report: 'make check-code-coverage' Tested: Verified that 'make check-code-coverage' generates lcov report. Signed-off-by:
Priyanga <priyram1@in.ibm.com> Change-Id: I36a9b501c441ef25595808ce77fc1ca36c1ac323
-
- Mar 05, 2019
-
-
Jinu Joy Thomas authored
Make this a once-only header. Change-Id: Ib6cd915de8d97a1ba25fb632c45299c7593068ca Signed-off-by:
Jinu Joy Thomas <jthomas7@in.ibm.com>
-
- Feb 27, 2019
-
-
Sampa Misra authored
This commit adds additional bad path tests for the command GetPLDMVersion. Change-Id: I0c88bfbb2f40829cc84f4e29ce632dc1e5e53aec Signed-off-by:
Sampa Misra <sampmisr@in.ibm.com>
-
Deepak Kodihalli authored
Have the decode APIs decode PLDM completion code as well, instead on relying on the caller to do this. If the code indicates failure, bail out from further decoding. Change-Id: I43c9cc924b1d182df40fbf05702cd89a7d5e5a3f Signed-off-by:
Deepak Kodihalli <dkodihal@in.ibm.com>
-
Deepak Kodihalli authored
This commit defines some data types as per PLDM DSP0240. Only types that are used are defined. Change-Id: Id932d638587b4b34c2941d6d0714cd0e1f1be264 Signed-off-by:
Deepak Kodihalli <dkodihal@in.ibm.com>
-
Deepak Kodihalli authored
Document high level API for responder's message handler registration with the PLDM daemon. Change-Id: I4c388cefbde7d6599ced214c1e8633b8980da944 Signed-off-by:
Deepak Kodihalli <dkodihal@in.ibm.com>
-
- Feb 22, 2019
-
-
Deepak Kodihalli authored
Change-Id: I22014a2aa7ad18972c509162cba846047300457a Signed-off-by:
Deepak Kodihalli <dkodihal@in.ibm.com>
-
Deepak Kodihalli authored
Pack the PLDM header while encoding the GetPLDMTypes and GetPLDMCommands messages. Change-Id: Ic2413064a63c1a204738c2e0db78ee1537a4f7c3 Signed-off-by:
Deepak Kodihalli <dkodihal@in.ibm.com>
-
Sampa Misra authored
This commit implements the GetPLDMVersion which is required as part of the base PLDM support to know the version of a given PLDM type. Change-Id: I1bcbd938c5b6833f62e0ee2f474b04d76b6970d9 Signed-off-by:
Sampa Misra <sampmisr@in.ibm.com>
-
- Feb 21, 2019
-
-
Tom Joseph authored
- The pack_pldm_header API packs the PLDM header into the PLDM message. - The unpack_pldm_header API unpacks the PLDM header from the PLDM message. Change-Id: I60b96954395cdcd1cecf306b7aee4c4de6c0f35a Signed-off-by:
Tom Joseph <tomjoseph@in.ibm.com>
-
Deepak Kodihalli authored
This commit does the following - Implements the GetPLDMTypes and GetPLDMCommands commands. These are commands that need to be handled by a PLDM device as part of the initial PLDM discovery. - Sets up the build infrastructure: separate libraries for PLDM encode/decode libs and the PLDM responder. Change-Id: I65fa222d2a681c473f579c8e30d84faaf94fe754 Signed-off-by:
Deepak Kodihalli <dkodihal@in.ibm.com>
-
Deepak Kodihalli authored
Add requester and responder flows. Change-Id: I57ef227b1db52b42c9de26a84f1051b2772b6da8 Signed-off-by:
Deepak Kodihalli <dkodihal@in.ibm.com>
-
- Feb 19, 2019
-
-
Tom Joseph authored
Change-Id: I2feeef07d65eab4be83fee761d67c831917d2281 Signed-off-by:
Tom Joseph <tomjoseph@in.ibm.com>
-
Deepak Kodihalli authored
Propose myself as a maintainer. Change-Id: Id5612146d1c54125af10dae0abd0aa39c117eb7d Signed-off-by:
Deepak Kodihalli <dkodihal@in.ibm.com>
-
Tom Joseph authored
Change-Id: I7cea674ea9de77d6f00c16ae86139cf4f4a562f7 Signed-off-by:
Tom Joseph <tomjoseph@in.ibm.com>
-
Tom Joseph authored
The libpldm is written in C and can be shared with projects other than OpenBMC. The code written in C follows the Linux kernel coding guidelines. The libpldmresponder and the application code follows the modern C++ and the clang format follows the OpenBMC coding guidelines. clang-format for each input file will try to find the .clang-format file located in the closest parent directory of the input file. Since the C code is in libpldm directory it has a specific .clang-format. Change-Id: I9346d454cb20009c6daf526d4ceb722d7400a8d1 Signed-off-by:
Tom Joseph <tomjoseph@in.ibm.com>
-
Deepak Kodihalli authored
Describe code organization in the README. Change-Id: Iaa180fd5663c9f7fa0eba4778cb2ae7bc936a369 Signed-off-by:
Deepak Kodihalli <dkodihal@in.ibm.com>
-
- Jan 28, 2019
-
-
Brad Bishop authored
-