#
56c78807 |
| 07-May-2024 |
Kamalkumar Patel <kamalkumar.patel@ibm.com> |
oem-ibm: Fix size corruption during DMA transfer
When the remote terminus performs read/write operations on BMC utilizing DMA(Direct Memory Access), the BMC verifies the data length to be transferre
oem-ibm: Fix size corruption during DMA transfer
When the remote terminus performs read/write operations on BMC utilizing DMA(Direct Memory Access), the BMC verifies the data length to be transferred and segments it into chunks if the length exceeds the maximum allowable size (8384512 byte) by DMA. This modification addresses an issue in PLDM where it incorrectly reports data transfer status to the remote terminus, including the leftover length in its response, which is erroneous. With this enhancement, PLDM now delivers accurate responses with the appropriate length specified.
Tested: Tested IPL flow on simulator.
Change-Id: I48d4f825f1e049b06f291e401a02f8dacc1ad970 Signed-off-by: Kamalkumar Patel <kamalkumar.patel@ibm.com>
show more ...
|
#
6da4f91b |
| 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: I61b093f75011417cc9c7acf9605200f4fa429bac Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
5079ac4a |
| 19-Aug-2021 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
treewide: remove 'using namespace' from headers Using namespace at global scope in a header file violates the cpp core guidelines. Quoting the guidelines: "Doing so takes awa
treewide: remove 'using namespace' from headers Using namespace at global scope in a header file violates the cpp core guidelines. Quoting the guidelines: "Doing so takes away an #includer’s ability to effectively disambiguate and to use alternatives. It also makes #included headers order-dependent as they might have different meaning when included in different orders." For further reading: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rs-using-directive The guidelines don't call out using using namespace from namespace scope, but it is only marginally less problematic and still unexpected, so this patch removes those as well. The process used to do the update is roughly: 1 - git grep 'using namespace' **.hpp 2 - For each instance, remove the offending 'using namespace' line 3 - build 4 - add 'using namespace' to cpp files or fully resolve types in hpp files until the project builds again. Further cleanup is possible - for example cpp files could be scrubbed for unnecessary namespace qualification - this was not done here to make review as simple as possible. Change-Id: I4931f5e78a1b5b74b4a4774c035a549f4d59b91a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
d37b4959 |
| 28-Jun-2021 |
George Liu <liuxiwei@inspur.com> |
Support inband write for PELS from HB to bmc also do not delete the temporary file after calling DBus api storePel. The file will be deleted by pel daemon after processing S
Support inband write for PELS from HB to bmc also do not delete the temporary file after calling DBus api storePel. The file will be deleted by pel daemon after processing Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I2d38fc42a2d7127eff22983ca83091d323736e2c
show more ...
|
#
69508503 |
| 08-Sep-2020 |
Sampa Misra <sampmisr@in.ibm.com> |
oem ibm: support reading LIDs based on type This commit reads the LIDs requested by Host. Host sends request as T or P side. This commit evaluates the current boot side and reads the
oem ibm: support reading LIDs based on type This commit reads the LIDs requested by Host. Host sends request as T or P side. This commit evaluates the current boot side and reads the appropriate LIDs. Also this commit stores the image LIDs sent by Host during an inband code update Change-Id: Ia4bae68fa95f19bc228ef7002493d54abab3dc93 Signed-off-by: Sampa Misra <sampmisr@in.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.
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 ...
|
#
18967161 |
| 14-Jan-2020 |
Sampa Misra <sampmisr@in.ibm.com> |
implement commands for dump xfer This commit implements the writeFile command for dumpHandler in PLDM oem. This is for offloading the dump from host memory to an external location
implement commands for dump xfer This commit implements the writeFile command for dumpHandler in PLDM oem. This is for offloading the dump from host memory to an external location via bmc. Also it implements the newfileAvailable notification handler in libpldmresponder.This caters to the new dump notification coming from the Host Change-Id: Ibf7c1facea282ec4f772dfee646cca9f7877bb7d Signed-off-by: Sampa Misra <sampmisr@in.ibm.com>
show more ...
|
#
2da1bfea |
| 14-Dec-2019 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
ibm-oem: add FileAck handler for PELs Extend the FileAck* commands to let the host firmware to ack PELs it has received from the BMC. Signed-off-by: vkaverap <vkaverap@in.ibm.co
ibm-oem: add FileAck handler for PELs Extend the FileAck* commands to let the host firmware to ack PELs it has received from the BMC. Signed-off-by: vkaverap <vkaverap@in.ibm.com> Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> Change-Id: Iafc1c92c64c8ea7a51367c2c36842613af1f46b5
show more ...
|
#
75e02f84 |
| 20-Nov-2019 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
oem-ibm: add readFileByType handler Add a handler for file type 'LID', to be able to read LID files over the LPC channel. Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
oem-ibm: add readFileByType handler Add a handler for file type 'LID', to be able to read LID files over the LPC channel. Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> Change-Id: I9db77f78b0aa4e289fb0ab940121569b431f4dfe
show more ...
|
#
f6d3a830 |
| 19-Nov-2019 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
oem-ibm: add readFileByTypeIntoMemory handler Add a handler for file type 'LID', which are host firmware image files on IBM systems. These would be read by the host firmware as it boots.
oem-ibm: add readFileByTypeIntoMemory handler Add a handler for file type 'LID', which are host firmware image files on IBM systems. These would be read by the host firmware as it boots. Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> Change-Id: I83e3ee398a4c6a4198a40b8b2188a3c11d0e55c4
show more ...
|
#
854e61f2 |
| 22-Aug-2019 |
Sampa Misra <sampmisr@in.ibm.com> |
oem-ibm: implement WriteFileByTypeFromMemory handler This commit implements a framework for handling oem file types received to/from host. Along with that it also implements the responde
oem-ibm: implement WriteFileByTypeFromMemory handler This commit implements a framework for handling oem file types received to/from host. Along with that it also implements the responder for oem command WriteFileByTypeFromMemory and processes PELs received from the host firmware. Change-Id: Ice866aed0343b90769013c4be31a0c730f6e6bcd Signed-off-by: Sampa Misra <sampmisr@in.ibm.com>
show more ...
|