Skip to content

Commit ff3d5a1

Browse files
authored
PLDM: Reset image activation match (#241)
This commit adds code to reset the image activation signal match every time after sending the end update sensor event PHYP. This is done in order for pldm to receive the image activation after every successful inband code update with or without system reboot. Test: Performed inband code update on IBMi and AIX OS. Signed-off-by: Sagar Srinivas <[email protected]>
1 parent 346ab90 commit ff3d5a1

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

oem/ibm/libpldmresponder/file_io_type_pel.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,6 @@ int PelHandler::fileAck(uint8_t /*fileStatus*/)
230230
}
231231
catch (const std::exception& e)
232232
{
233-
std::cerr << "HostAck D-Bus call failed on PEL ID 0x" << std::hex
234-
<< fileHandle << ", error = " << e.what() << "\n";
235233
return PLDM_ERROR;
236234
}
237235

oem/ibm/libpldmresponder/inband_code_update.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ void CodeUpdate::setVersions()
388388
START));
389389
newImageId.clear();
390390
}
391+
imageActivationMatch.reset();
391392
}
392393
});
393394
}

0 commit comments

Comments
 (0)