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>
Loading
Please register or sign in to comment