Home
last modified time | relevance | path

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

/openbmc/pldm/configurations/pdr/
H A D4.jsondiff be06bc920c007254d5ffd52adb9d2ba4a111c20e Mon Sep 20 03:58:42 CDT 2021 Sridevi Ramesh <sridevra@in.ibm.com> Update CPU entity info for sensor LEDs

Testing Results:
Change-Id: I4f6740bd38d8debfef50c73e59fe31ac63ab0fc8
----------------

CPU Identify LED
==============

pldmtool platform getpdr -d 224
{
"nextRecordHandle": 225,
"responseCount": 27,
"recordHandle": 224,
"PDRHeaderVersion": 1,
"PDRType": "State Sensor PDR",
"recordChangeNumber": 0,
"dataLength": 17,
"PLDMTerminusHandle": 0,
"sensorID": 17,
"entityType": "[Physical] Processor",
"entityInstanceNumber": 3,
"containerID": 4,
"sensorInit": "noInit",
"sensorAuxiliaryNamesPDR": false,
"compositeSensorCount": 1,
"stateSetID[0]": "Identify State(17)",
"possibleStatesSize[0]": 1,
"possibleStates[0]": [
"Identify State Unasserted(1)",
"Identify State Asserted(2)"
]
}

pldmtool platform GetStateSensorReadings -i 17 -r 0
{
"compositeSensorCount": 1,
"sensorOpState[0]": "Sensor Enabled",
"presentState[0]": "Sensor Normal",
"previousState[0]": "Sensor Unknown",
"eventState[0]": "Sensor Normal"
}

busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/cpu1_identify xyz.openbmc_project.Led.Group Asserted b true

pldmtool platform GetStateSensorReadings -i 17 -r 0 {
"compositeSensorCount": 1,
"sensorOpState[0]": "Sensor Enabled",
"presentState[0]": "Sensor Normal",
"previousState[0]": "Sensor Unknown",
"eventState[0]": "Sensor Warning"
}

CPU fault LED
=============

pldmtool platform getpdr -d 323
{
"nextRecordHandle": 324,
"responseCount": 27,
"recordHandle": 323,
"PDRHeaderVersion": 1,
"PDRType": "State Sensor PDR",
"recordChangeNumber": 0,
"dataLength": 17,
"PLDMTerminusHandle": 0,
"sensorID": 116,
"entityType": "[Physical] Processor",
"entityInstanceNumber": 1,
"containerID": 4,
"sensorInit": "noInit",
"sensorAuxiliaryNamesPDR": false,
"compositeSensorCount": 1,
"stateSetID[0]": "Operational Fault Status(10)",
"possibleStatesSize[0]": 1,
"possibleStates[0]": [
"Normal(1)",
"Stressed(2)"
]
}

pldmtool platform GetStateSensorReadings -i 116 -r 0 {
"compositeSensorCount": 1,
"sensorOpState[0]": "Sensor Enabled",
"presentState[0]": "Sensor Normal",
"previousState[0]": "Sensor Unknown",
"eventState[0]": "Sensor Warning"
}

busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/cpu0_fault xyz.openbmc_project.Led.Group Asserted b false

pldmtool platform GetStateSensorReadings -i 116 -r 0 {
"compositeSensorCount": 1,
"sensorOpState[0]": "Sensor Enabled",
"presentState[0]": "Sensor Normal",
"previousState[0]": "Sensor Unknown",
"eventState[0]": "Sensor Normal"

Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
Change-Id: Idea70b18a994923e8d6d13416a09c9b8bc0a384e