#
c14fb4bd |
| 25-Jul-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
pldm: Drop pessimizing moves
Fixes issues such as:
``` ../host-bmc/host_pdr_handler.cpp:684:9: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] 684 | st
pldm: Drop pessimizing moves
Fixes issues such as:
``` ../host-bmc/host_pdr_handler.cpp:684:9: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] 684 | std::move(std::vector<uint8_t>(1, PLDM_PDR_ENTITY_ASSOCIATION)), | ^ ../host-bmc/host_pdr_handler.cpp:684:9: note: remove std::move call here 684 | std::move(std::vector<uint8_t>(1, PLDM_PDR_ENTITY_ASSOCIATION)), | ^~~~~~~~~~ ~ ```
Change-Id: Id26f0d6fc21837e1eb76ae3c294c222782a4e69f Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
#
fc84f634 |
| 06-Apr-2024 |
Riya Dixit <riyadixitagra@gmail.com> |
oem-ibm: Improving logs (lg2)
This commit corrects the severity level of logs and also formats the message string, fixing the ill-defined message string of the logs as mentioned in the anti-pattern
oem-ibm: Improving logs (lg2)
This commit corrects the severity level of logs and also formats the message string, fixing the ill-defined message string of the logs as mentioned in the anti-pattern document [1]. Additionally, based on the requirement this commit adds more debug information to logs.
[1]: https://github.com/openbmc/docs/blob/master/anti-patterns.md#ill-defined-data-structuring-in-lg2-message-strings
Change-Id: I24ca21de35d5a1a9b3cc64b28a149e4c213055f9 Signed-off-by: Riya Dixit <riyadixitagra@gmail.com>
show more ...
|
#
cbe68b2d |
| 23-Feb-2024 |
Sagar Srinivas <sagar.srinivas@ibm.com> |
Remove iostream references
With the adoption of LG2 we do not need iostream prints to the journal. The library was referred but never used in these cases.
Signed-off-by: Sagar Srinivas <sagar.srini
Remove iostream references
With the adoption of LG2 we do not need iostream prints to the journal. The library was referred but never used in these cases.
Signed-off-by: Sagar Srinivas <sagar.srinivas@ibm.com> Change-Id: I11d3f00284e4f16b63cddb8da2fed14d59672ba1
show more ...
|
#
49cfb138 |
| 02-Mar-2023 |
Riya Dixit <riyadixitagra@gmail.com> |
PLDM: Implementing Phosphor-Logging/LG2 logging
This commit adds changes in PLDM for implementing structured LG2 logging, thereby moving away from std::cout/cerr practice of logging which are output
PLDM: Implementing Phosphor-Logging/LG2 logging
This commit adds changes in PLDM for implementing structured LG2 logging, thereby moving away from std::cout/cerr practice of logging which are output streams and not logging mechanism.
PLDM now can make use of lg2 features like accurate CODE LINE Number and CODE_FUNCTION Name and better detailing in json object values which can be used in log tracking.
More detailed logging change: https://gist.github.com/riyadixitagra/c251685c1ba84248181891f7bc282395
Tested: Ran a power off, on, cycle, and reset-reload.
Change-Id: I0485035f15f278c3fd172f0581b053c1c37f3a5b Signed-off-by: Riya Dixit <riyadixitagra@gmail.com>
show more ...
|
#
c453e164 |
| 21-Dec-2022 |
George Liu <liuxiwei@inspur.com> |
libpldm: Correct reference to libpldm header files
When relying on header files from external libraries, #include<> should be used instead of #include "" to avoid ambiguity.
Tested: Built pldm succ
libpldm: Correct reference to libpldm header files
When relying on header files from external libraries, #include<> should be used instead of #include "" to avoid ambiguity.
Tested: Built pldm successfully after enabling ibm-oem
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ia1997de7e0f61564055bbd837f4e24c8f14e55a5
show more ...
|
#
3249a90e |
| 08-May-2021 |
Christian Geddes <crgeddes@us.ibm.com> |
Support a list of CSVs for a file table entry path's value
This commit adds support to the FileTable constructor to accept a list of comma separated values for the value of the "path" property in th
Support a list of CSVs for a file table entry path's value
This commit adds support to the FileTable constructor to accept a list of comma separated values for the value of the "path" property in the file entry records declared in fileTable.json. The list's order defines the priority, meaning the first path, if it exists will be used, then the next is considered, and so on. This will allow the file table to support files who should consider patch directories.
Change-Id: Id543946ef93a9f380576def9d68c1c4ab13bf7fc Signed-off-by: Christian Geddes <crgeddes@us.ibm.com>
show more ...
|
#
6492f524 |
| 15-Jun-2020 |
George Liu <liuxiwei@inspur.com> |
clang-format: update to latest from docs repo
Since `Cpp11` is an alias for `Latest` and we should tend towards using the latest C++ standard, update the C++ standard to Latest.
https://github.com/
clang-format: update to latest from docs repo
Since `Cpp11` is an alias for `Latest` and we should tend towards using the latest C++ standard, update the C++ standard to Latest.
https://github.com/llvm/llvm-project/commit/e5032567903de19962333c4bf7d2edceaf4f9824#diff-b49a097415dff2837d9626d422c58ba8R82 https://github.com/openbmc/docs/blob/master/style/cpp/.clang-format
Also, other OpenBMC repos are doing the same.
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I449e88bb4e1e262060110e1a8f3e8db3ddfc74cf
show more ...
|
#
077fea24 |
| 08-Apr-2020 |
George Liu <liuxiwei@inspur.com> |
pldm: Remove boost related code in pldm daemon
Use the crc32 method in libpldm/utils.h instead of boost::crc_32_type and remove boost related code.
Signed-off-by: George Liu <liuxiwei@inspur.com> C
pldm: Remove boost related code in pldm daemon
Use the crc32 method in libpldm/utils.h instead of boost::crc_32_type and remove boost related code.
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I114eb83a73c5c47bdd44d5ad53f3ff6101235558
show more ...
|
#
aa8ae72f |
| 12-Dec-2019 |
Sampa Misra <sampmisr@in.ibm.com> |
remove phosphor-logging dependency
This commit removes pldm's dependency on phosphor-logging and instead uses stdout and stdcerr for logging purpose.This is to break the build time circular dependen
remove phosphor-logging dependency
This commit removes pldm's dependency on phosphor-logging and instead uses stdout and stdcerr for logging purpose.This is to break the build time circular dependency between pldm and phosphor-logging.
Change-Id: I8cffa3c99eb34efad5f186b3452a86ebadec2074 Signed-off-by: Sampa Misra <sampmisr@in.ibm.com>
show more ...
|
#
0c6d22cc |
| 25-Jun-2019 |
Tom Joseph <tomjoseph@in.ibm.com> |
Sync ibm-pldm-oem repository changes to pldm repository
Change-Id: I6f30b39f483647ad84fe2fbe1c24298841040801 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|