Home
last modified time | relevance | path

Searched hist:e7e46f58 (Results 1 – 1 of 1) sorted by relevance

/openbmc/pldm/configurations/pdr/
H A D11.jsone7e46f58 Wed Jan 13 03:34:55 CST 2021 Manojkiran Eda <manojkiran.eda@gmail.com> Update State Effecter PDR to support BMC Reboot

- This commit would enable the state effecter PDR on BMC to
support BMC Reboot.

Tested By:

# pldmtool platform getpdr -d 25
{
"nextRecordHandle": 26,
"responseCount": 30,
"recordHandle": 25,
"PDRHeaderVersion": 1,
"PDRType": "State Effecter PDR",
"recordChangeNumber": 0,
"dataLength": 20,
"PLDMTerminusHandle": 1,
"effecterID": 4,
"entityType": "Management Controller",
"entityInstanceNumber": 0,
"containerID": 0,
"effecterSemanticID": 0,
"effecterInit": "noInit",
"effecterDescriptionPDR": false,
"compositeEffecterCount": 1,
"stateSetID[0]": "Availability(2)",
"possibleStatesSize[0]": 2,
"possibleStates[0]": " 8"
}

# pldmtool platform SetStateEffecterStates -v -i 4 -c 1 -d 1 8
Request Message:
08 01 80 02 39 04 00 01 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Success in creating the socket : RC = 4
Success in connecting to socket : RC = 0
Success in sending message type as pldm to mctp : RC = 0
Write to socket successful : RC = 24
Total length:6
Shutdown Socket successful : RC = 0
Response Message:
08 01 00 02 39 00
{
"Response": "SUCCESS"
}

Post receiving SUCCESS, the BMC was rebooted.

Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I6cf802813af84351ec2a59a26e8032b7169d759d