History log of /openbmc/pldm/configurations/pdr/4.json (Results 1 – 16 of 16)
Revision Date Author Comments
# b4ef4310 01-Feb-2024 Kamalkumar Patel <kamalkumar.patel@ibm.com>

Adding json support for pdr generation

- Adding json files for pdr generation based on system type.

- In previous scenario pdr generating based on default
configuration but now it will also generat

Adding json support for pdr generation

- Adding json files for pdr generation based on system type.

- In previous scenario pdr generating based on default
configuration but now it will also generate platform
specific pdr.

Change-Id: Ia36dc6bf90fe97eea3ed45880e464fe32083bf0d
Signed-off-by: Kamalkumar Patel <kamalkumar.patel@ibm.com>

show more ...


# 3618064e 08-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

prettier: re-format

Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.

prettier: re-format

Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.

Change-Id: I0d25f27a5e449578967915d9f570cc29246927d7
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# 51290652 06-Dec-2021 Manojkiran Eda <manojkiran.eda@gmail.com>

Change entity type of dimm from 142 to 66

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


# 97296e03 26-Aug-2021 Sagar Srinivas <sagar.srinivas@ibm.com>

pldm: Change Container IDs of Sensors and Effecters

This commit adds change to the container IDs of few PDRs
which had 0 as container ID in the current PDR repository.

Signed-of

pldm: Change Container IDs of Sensors and Effecters

This commit adds change to the container IDs of few PDRs
which had 0 as container ID in the current PDR repository.

Signed-off-by: Sagar Srinivas <sagar.srinivas@ibm.com>
Change-Id: Ia390054580b14bde736a3360fe029fd767da227f

show more ...


# be06bc92 20-Sep-2021 Sridevi Ramesh <sridevra@in.ibm.com>

Update CPU entity info for sensor LEDs

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

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

p

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

show more ...


# 20b5de4a 06-Sep-2021 Sridevi Ramesh <sridevra@in.ibm.com>

Update dimm & pcieslot entity info for sensor LEDs.

Note: separate commit is pushed for effecter LEDs.

Testing Result:
Change-Id: I9df38e10668a83650fd821e4a52f4c010801a2bd
-

Update dimm & pcieslot entity info for sensor LEDs.

Note: separate commit is pushed for effecter LEDs.

Testing Result:
Change-Id: I9df38e10668a83650fd821e4a52f4c010801a2bd
----------------

Example for dimm update:
-----------------------

{
"nextRecordHandle": 263,
"responseCount": 27,
"recordHandle": 262,
"PDRHeaderVersion": 1,
"PDRType": "State Sensor PDR",
"recordChangeNumber": 0,
"dataLength": 17,
"PLDMTerminusHandle": 0,
"sensorID": 55,
"entityType": "[Physical] Memory Chip",
"entityInstanceNumber": 32,
"containerID": 3,
"sensorInit": "noInit",
"sensorAuxiliaryNamesPDR": false,
"compositeSensorCount": 1,
"stateSetID[0]": "Identify State(17)",
"possibleStatesSize[0]": 1,
"possibleStates[0]": [
"Identify State Unasserted(1)",
"Identify State Asserted(2)"
]
}
busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/ddimm31_identify xyz.openbmc_project.Led.Group Asserted b true

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

}

"nextRecordHandle": 364,
"responseCount": 27,
"recordHandle": 363,
"PDRHeaderVersion": 1,
"PDRType": "State Sensor PDR",
"recordChangeNumber": 0,
"dataLength": 17,
"PLDMTerminusHandle": 0,
"sensorID": 156,
"entityType": "[Physical] Memory Chip",
"entityInstanceNumber": 32,
"containerID": 3,
"sensorInit": "noInit",
"sensorAuxiliaryNamesPDR": false,
"compositeSensorCount": 1,
"stateSetID[0]": "Operational Fault Status(10)",
"possibleStatesSize[0]": 1,
"possibleStates[0]": [
"Normal(1)",
"Stressed(2)"
]
}

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

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

Example for cable card update for effecter LED
-------------------------------------------------

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

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

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

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

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

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

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

show more ...


# 2e30eb1a 06-Jul-2021 Sridevi Ramesh <sridevra@in.ibm.com>

pdr: Sensor support for various fault LEDS.

Also, added powersupply 2 and 3 support in 11.json

In this commit sensor fault LEDs support is added for connectors,
cablecard, proce

pdr: Sensor support for various fault LEDS.

Also, added powersupply 2 and 3 support in 11.json

In this commit sensor fault LEDs support is added for connectors,
cablecard, processor, dasd_pyramid, ddimm, nvme, pcieslot,
planar, battery and tpm_wilson.

Testing Result:
Note: Test results are mentioned based on the random LED assert true/false
operation for the specific LED type.

processor
==========

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

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

Power Converter
==============

busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/cpu1_vrm0_fault xyz.openbmc_project.Led.Group Asserted b false
pldmtool platform GetStateSensorReadings -i 117 -r 0
{
"compositeSensorCount": 1,
"sensorOpState[0]": "Sensor Enabled",
"presentState[0]": "Sensor Normal",
"previousState[0]": "Sensor Unknown",
"eventState[0]": "Sensor Normal"
}

Drive backplane
====================

busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/dasd_pyramid0_fault xyz.openbmc_project.Led.Group Asserted b true
pldmtool platform GetStateSensorReadings -i 118 -r 0
{
"compositeSensorCount": 1,
"sensorOpState[0]": "Sensor Enabled",
"presentState[0]": "Sensor Normal",
"previousState[0]": "Sensor Unknown",
"eventState[0]": "Sensor Warning"
}

System Board
=================

busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/planar_fault xyz.openbmc_project.Led.Group Asserted b false
pldmtool platform GetStateSensorReadings -i 196 -r 0 {
"compositeSensorCount": 1,
"sensorOpState[0]": "Sensor Enabled",
"presentState[0]": "Sensor Normal",
"previousState[0]": "Sensor Unknown",
"eventState[0]": "Sensor Normal"
}

Battery
=========

busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/rtc_battery_fault xyz.openbmc_project.Led.Group Asserted b false
pldmtool platform GetStateSensorReadings -i 201 -r 0 {
"compositeSensorCount": 1,
"sensorOpState[0]": "Sensor Enabled",
"presentState[0]": "Sensor Normal",
"previousState[0]": "Sensor Unknown",
"eventState[0]": "Sensor Normal"
}

power supply
==========

busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/powersupply3_fault xyz.openbmc_project.Led.Group Asserted b true
pldmtool platform GetStateSensorReadings -i 200 -r 0 {
"compositeSensorCount": 1,
"sensorOpState[0]": "Sensor Enabled",
"presentState[0]": "Sensor Normal",
"previousState[0]": "Sensor Unknown",
"eventState[0]": "Sensor Warning"
}

Dimm
=========

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

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

NVMe
======

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

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

PCIe slot
=============

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

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

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

show more ...


# 06347d79 27-May-2021 Jayashankar Padath <jayashankar.padath@in.ibm.com>

pdr: sensor/effecter support for power supply fault leds

This is to support sensor/effecter pdrs for power supply
fault leds.

Tested By:

EFFECTER (Power Supply 0):

pdr: sensor/effecter support for power supply fault leds

This is to support sensor/effecter pdrs for power supply
fault leds.

Tested By:

EFFECTER (Power Supply 0):

pldmtool platform GetPDR -d 251
{
"nextRecordHandle": 252,
"responseCount": 29,
"recordHandle": 251,
"PDRHeaderVersion": 1,
"PDRType": "State Effecter PDR",
"recordChangeNumber": 0,
"dataLength": 19,
"PLDMTerminusHandle": 1,
"effecterID": 108,
"entityType": "Power Supply",
"entityInstanceNumber": 1,
"containerID": 3,
"effecterSemanticID": 0,
"effecterInit": "noInit",
"effecterDescriptionPDR": false,
"compositeEffecterCount": 1,
"stateSetID[0]": "10",
"possibleStatesSize[0]": 1,
"possibleStates[0]": " 1 2"
}

Set Fault On:
pldmtool raw -d 0x80 0x02 0x39 0x6C 0x00 0x01 0x01 0x01
Request Message:
08 01 80 02 39 6c 00 01 01 01
Response Message:
08 01 00 02 39 00

busctl get-property xyz.openbmc_project.Inventory.Manager
/xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0
xyz.openbmc_project.State.Decorator.OperationalStatus Functional
b false

Set Fault Off:
pldmtool raw -d 0x80 0x02 0x39 0x6C 0x00 0x01 0x01 0x02
Request Message:
08 01 80 02 39 6c 00 01 01 02
Response Message:
08 01 00 02 39 00

busctl get-property xyz.openbmc_project.Inventory.Manager
/xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0
xyz.openbmc_project.State.Decorator.OperationalStatus Functional
b true

SENSOR (Power Supply 1):

pldmtool platform GetPDR -d 143
{
"nextRecordHandle": 144,
"responseCount": 27,
"recordHandle": 143,
"PDRHeaderVersion": 1,
"PDRType": "State Sensor PDR",
"recordChangeNumber": 0,
"dataLength": 17,
"PLDMTerminusHandle": 0,
"sensorID": 111,
"entityType": "Power Supply",
"entityInstanceNumber": 2,
"containerID": 3,
"sensorInit": "noInit",
"sensorAuxiliaryNamesPDR": false,
"compositeSensorCount": 1,
"stateSetID[0]": "10",
"possibleStatesSize[0]": 1,
"possibleStates[0]": " 1 2"
}

Set Fault On:
busctl set-property xyz.openbmc_project.LED.GroupManager
/xyz/openbmc_project/led/groups/powersupply1_fault
xyz.openbmc_project.Led.Group Asserted b false

pldmtool raw --data 0x80 0x02 0x21 0x6F 0x00 0x01 0x00
Request Message:
08 01 80 02 21 6f 00 01 00
Response Message:
08 01 00 02 21 00 01 00 01 00 01

Set Fault Off:
busctl set-property xyz.openbmc_project.LED.GroupManager
/xyz/openbmc_project/led/groups/powersupply1_fault
xyz.openbmc_project.Led.Group Asserted b true

pldmtool raw --data 0x80 0x02 0x21 0x6F 0x00 0x01 0x00
Request Message:
08 01 80 02 21 6f 00 01 00
Response Message:
08 01 00 02 21 00 01 00 01 00 02

Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
Change-Id: I31b90172a3c891c83f2e66d804599367c2879fa3

show more ...


# 2f4f2202 20-May-2021 Jayashankar Padath <jayashankar.padath@in.ibm.com>

pdr: dimm identify leds sensor/effecter support

This commit contains the addition of sensor/effecter pdrs for
dimm identify leds. Also updated the entity instance numbers
for enclosu

pdr: dimm identify leds sensor/effecter support

This commit contains the addition of sensor/effecter pdrs for
dimm identify leds. Also updated the entity instance numbers
for enclosure identify and enclosure fault leds.

Testing Result:

SENSOR(dimm0):

pldmtool platform GetPDR -d 43
{
"nextRecordHandle": 44,
"responseCount": 27,
"recordHandle": 43,
"PDRHeaderVersion": 1,
"PDRType": "State Sensor PDR",
"recordChangeNumber": 0,
"dataLength": 17,
"PLDMTerminusHandle": 0,
"sensorID": 24,
"entityType": "142(OEM)",
"entityInstanceNumber": 1,
"containerID": 3,
"sensorInit": "noInit",
"sensorAuxiliaryNamesPDR": false,
"compositeSensorCount": 1,
"stateSetID[0]": "17",
"possibleStatesSize[0]": 1,
"possibleStates[0]": " 1 2"
}

Set On:
busctl set-property xyz.openbmc_project.LED.GroupManager
/xyz/openbmc_project/led/groups/ddimm0_identify
xyz.openbmc_project.Led.Group Asserted b true

pldmtool raw --data 0x80 0x02 0x21 0x18 0x00 0x01 0x00
Request Message:
08 01 80 02 21 18 00 01 00
Response Message:
08 01 00 02 21 00 01 00 01 00 02

Set Off:
busctl set-property xyz.openbmc_project.LED.GroupManager
/xyz/openbmc_project/led/groups/ddimm0_identify
xyz.openbmc_project.Led.Group Asserted b false

pldmtool raw --data 0x80 0x02 0x21 0x18 0x00 0x01 0x00
Request Message:
08 01 80 02 21 18 00 01 00
Response Message:
08 01 00 02 21 00 01 00 01 00 01

EFFECTER(dimm31):

pldmtool platform GetPDR -d 181
{
"nextRecordHandle": 182,
"responseCount": 29,
"recordHandle": 181,
"PDRHeaderVersion": 1,
"PDRType": "State Effecter PDR",
"recordChangeNumber": 0,
"dataLength": 19,
"PLDMTerminusHandle": 1,
"effecterID": 53,
"entityType": "142(OEM)",
"entityInstanceNumber": 26,
"containerID": 3,
"effecterSemanticID": 0,
"effecterInit": "noInit",
"effecterDescriptionPDR": false,
"compositeEffecterCount": 1,
"stateSetID[0]": "17",
"possibleStatesSize[0]": 1,
"possibleStates[0]": " 1 2"
}

Set On:
pldmtool platform SetStateEffecterStates -i 53 -c 1 -d 1 2
{
"Response": "SUCCESS"
}

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

Set Off:
pldmtool platform SetStateEffecterStates -i 53 -c 1 -d 1 1
{
"Response": "SUCCESS"
}

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

Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
Change-Id: I2549eb2f8409755f5821dbdd91e75e86e40d34e8

show more ...


# 8dd6fa1b 02-Jun-2021 George Liu <liuxiwei@inspur.com>

pdr: Fix property values corresponding to sensor states

According to: DSP0249_1.1.0 Table 1(Set ID: 17)
--------------------------------------------------------------
|17: | Identify

pdr: Fix property values corresponding to sensor states

According to: DSP0249_1.1.0 Table 1(Set ID: 17)
--------------------------------------------------------------
|17: | Identify State | For entities that have an identify|
| | | function, such as LEDs. |
--------------------------------------------------------------
| | 1: Identity State | The entity's identify function is |
| | Unasserted | not asserted. |
| | 2: Identify State | The entity's identity function is |
| | Asserted | asserted. |
--------------------------------------------------------------

So states [1, 2] => [false, true]

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I104fea89d17e4dee4a60732e9f16bec1973f1e7a

show more ...


# 144ef2bd 10-May-2021 Jayashankar Padath <jayashankar.padath@in.ibm.com>

pdr: Sensor/Effecter support for identify leds

This commit contains the addition of sensor/effecter pdrs for
remaining supported identify leds like cable cards, dasd backplane,
nvme

pdr: Sensor/Effecter support for identify leds

This commit contains the addition of sensor/effecter pdrs for
remaining supported identify leds like cable cards, dasd backplane,
nvme drives, pcie slots, planar, powersupplys and the tod battery.

Testing Result:

EFFECTERS:

1) pldmtool platform GetPDR -d 26
{
"nextRecordHandle": 27,
"responseCount": 29,
"recordHandle": 26,
"PDRHeaderVersion": 1,
"PDRType": "State Effecter PDR",
"recordChangeNumber": 0,
"dataLength": 19,
"PLDMTerminusHandle": 1,
"effecterID": 5,
"entityType": "0(OEM)",
"entityInstanceNumber": 0,
"containerID": 0,
"effecterSemanticID": 0,
"effecterInit": "noInit",
"effecterDescriptionPDR": false,
"compositeEffecterCount": 1,
"stateSetID[0]": "17",
"possibleStatesSize[0]": 1,
"possibleStates[0]": " 1 2"
}

Set On:
pldmtool platform SetStateEffecterStates -i 5 -c 1 -d 1 1
{
"Response": "SUCCESS"
}

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

Set Off:
pldmtool platform SetStateEffecterStates -i 5 -c 1 -d 1 2
{
"Response": "SUCCESS"
}

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

2) pldmtool platform GetPDR -d 66
{
"nextRecordHandle": 67,
"responseCount": 29,
"recordHandle": 66,
"PDRHeaderVersion": 1,
"PDRType": "State Effecter PDR",
"recordChangeNumber": 0,
"dataLength": 19,
"PLDMTerminusHandle": 1,
"effecterID": 45,
"entityType": "0(OEM)",
"entityInstanceNumber": 0,
"containerID": 0,
"effecterSemanticID": 0,
"effecterInit": "noInit",
"effecterDescriptionPDR": false,
"compositeEffecterCount": 1,
"stateSetID[0]": "17",
"possibleStatesSize[0]": 1,
"possibleStates[0]": " 1 2"
}

Set On:
pldmtool platform SetStateEffecterStates -i 45 -c 1 -d 1 1
{
"Response": "SUCCESS"
}

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

Set Off:
pldmtool platform SetStateEffecterStates -i 45 -c 1 -d 1 2

{
"Response": "SUCCESS"
}

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

SENSOR:

3) pldmtool platform GetPDR -d 126
{
"nextRecordHandle": 127,
"responseCount": 27,
"recordHandle": 126,
"PDRHeaderVersion": 1,
"PDRType": "State Sensor PDR",
"recordChangeNumber": 0,
"dataLength": 17,
"PLDMTerminusHandle": 0,
"sensorID": 47,
"entityType": "0(OEM)",
"entityInstanceNumber": 0,
"containerID": 0,
"sensorInit": "noInit",
"sensorAuxiliaryNamesPDR": false,
"compositeSensorCount": 1,
"stateSetID[0]": "17",
"possibleStatesSize[0]": 1,
"possibleStates[0]": " 1 2"
}

Set On:
busctl set-property xyz.openbmc_project.LED.GroupManager
/xyz/openbmc_project/led/groups/rtc_battery_identify
xyz.openbmc_project.Led.Group Asserted b true

pldmtool raw --data 0x80 0x02 0x21 0x2F 0x00 0x01 0x00
Request Message:
08 01 80 02 21 2f 00 01 00
Response Message:
08 01 00 02 21 00 01 00 01 00 01

Set Off:
busctl set-property xyz.openbmc_project.LED.GroupManager
/xyz/openbmc_project/led/groups/rtc_battery_identify
xyz.openbmc_project.Led.Group Asserted b false

pldmtool raw --data 0x80 0x02 0x21 0x2F 0x00 0x01 0x00
Request Message:
08 01 80 02 21 2f 00 01 00
Response Message:
08 01 00 02 21 00 01 00 01 00 02

Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
Change-Id: I9f0f226847e880bbdeccc4f77f89a8f3da04e070

show more ...


# df2fa47b 04-May-2021 Jayashankar Padath <jayashankar.padath@in.ibm.com>

pdr: Sensor/Effecter support for fan fault leds

This is to support sensor/effecter pdrs for fan fault leds.

Testing Result:
Note: sensor/effecter ids may change in the testing r

pdr: Sensor/Effecter support for fan fault leds

This is to support sensor/effecter pdrs for fan fault leds.

Testing Result:
Note: sensor/effecter ids may change in the testing result as
testing was done with reduced pdrs for simplicity. Also test
result only mentioned below for corner scenarios that is for
fan0 and fan5.

SENSORS:

pldmtool platform GetPDR -d 25 (fan0)
{
"nextRecordHandle": 26,
"responseCount": 27,
"recordHandle": 25,
"PDRHeaderVersion": 1,
"PDRType": "State Sensor PDR",
"recordChangeNumber": 0,
"dataLength": 17,
"PLDMTerminusHandle": 0,
"sensorID": 6,
"entityType": "0(OEM)",
"entityInstanceNumber": 0,
"containerID": 0,
"sensorInit": "noInit",
"sensorAuxiliaryNamesPDR": false,
"compositeSensorCount": 1,
"stateSetID[0]": "10",
"possibleStatesSize[0]": 1,
"possibleStates[0]": " 1 2"
}

fsn 0 Set On:
busctl set-property xyz.openbmc_project.LED.GroupManager
/xyz/openbmc_project/led/groups/fan0_fault
xyz.openbmc_project.Led.Group Asserted b true

pldmtool raw --data 0x80 0x02 0x21 0x06 0x00 0x01 0x00
Request Message:
08 01 80 02 21 06 00 01 00
Response Message:
08 01 00 02 21 00 01 00 01 00 01

fan0 Set Off:
busctl set-property xyz.openbmc_project.LED.GroupManager
/xyz/openbmc_project/led/groups/fan0_fault
xyz.openbmc_project.Led.Group Asserted b false

pldmtool raw --data 0x80 0x02 0x21 0x06 0x00 0x01 0x00
Request Message:
08 01 80 02 21 06 00 01 00
Response Message:
08 01 00 02 21 00 01 00 01 00 02

pldmtool platform GetPDR -d 30 (fan5)
{
"nextRecordHandle": 31,
"responseCount": 27,
"recordHandle": 30,
"PDRHeaderVersion": 1,
"PDRType": "State Sensor PDR",
"recordChangeNumber": 0,
"dataLength": 17,
"PLDMTerminusHandle": 0,
"sensorID": 11,
"entityType": "0(OEM)",
"entityInstanceNumber": 0,
"containerID": 0,
"sensorInit": "noInit",
"sensorAuxiliaryNamesPDR": false,
"compositeSensorCount": 1,
"stateSetID[0]": "10",
"possibleStatesSize[0]": 1,
"possibleStates[0]": " 1 2"
}

fan 5 Set On:
busctl set-property xyz.openbmc_project.LED.GroupManager
/xyz/openbmc_project/led/groups/fan5_fault
xyz.openbmc_project.Led.Group Asserted b true

pldmtool raw --data 0x80 0x02 0x21 0x0B 0x00 0x01 0x00
Request Message:
08 01 80 02 21 0b 00 01 00
Response Message:
08 01 00 02 21 00 01 00 01 00 01

fan5 Set Off:
busctl set-property xyz.openbmc_project.LED.GroupManager
/xyz/openbmc_project/led/groups/fan5_fault
xyz.openbmc_project.Led.Group Asserted b false

pldmtool raw --data 0x80 0x02 0x21 0x0B 0x00 0x01 0x00
Request Message:
08 01 80 02 21 0b 00 01 00
Response Message:
08 01 00 02 21 00 01 00 01 00 02

EFFECTER:

pldmtool platform GetPDR -d 34 (fan0)
{
"nextRecordHandle": 35,
"responseCount": 29,
"recordHandle": 34,
"PDRHeaderVersion": 1,
"PDRType": "State Effecter PDR",
"recordChangeNumber": 0,
"dataLength": 19,
"PLDMTerminusHandle": 1,
"effecterID": 4,
"entityType": "0(OEM)",
"entityInstanceNumber": 0,
"containerID": 0,
"effecterSemanticID": 0,
"effecterInit": "noInit",
"effecterDescriptionPDR": false,
"compositeEffecterCount": 1,
"stateSetID[0]": "10",
"possibleStatesSize[0]": 1,
"possibleStates[0]": " 1 2"
}

fan0 Set On:
pldmtool raw -d 0x80 0x02 0x39 0x04 0x00 0x01 0x01 0x01
Request Message:
08 01 80 02 39 04 00 01 01 01
Response Message:
08 01 00 02 39 00

busctl get-property xyz.openbmc_project.Inventory.Manager
/xyz/openbmc_project/inventory/system/chassis/motherboard/fan0
xyz.openbmc_project.State.Decorator.OperationalStatus Functional
b true

fan0 Set Off:
pldmtool raw -d 0x80 0x02 0x39 0x04 0x00 0x01 0x01 0x02
Request Message:
08 01 80 02 39 04 00 01 01 02
Response Message:
08 01 00 02 39 00

busctl get-property xyz.openbmc_project.Inventory.Manager
/xyz/openbmc_project/inventory/system/chassis/motherboard/fan0
xyz.openbmc_project.State.Decorator.OperationalStatus Functional
b false

pldmtool platform GetPDR -d 39 (fan5)
{
"nextRecordHandle": 40,
"responseCount": 29,
"recordHandle": 39,
"PDRHeaderVersion": 1,
"PDRType": "State Effecter PDR",
"recordChangeNumber": 0,
"dataLength": 19,
"PLDMTerminusHandle": 1,
"effecterID": 9,
"entityType": "0(OEM)",
"entityInstanceNumber": 0,
"containerID": 0,
"effecterSemanticID": 0,
"effecterInit": "noInit",
"effecterDescriptionPDR": false,
"compositeEffecterCount": 1,
"stateSetID[0]": "10",
"possibleStatesSize[0]": 1,
"possibleStates[0]": " 1 2"
}

fan5 Set Off:
pldmtool raw -d 0x80 0x02 0x39 0x09 0x00 0x01 0x01 0x02
Request Message:
08 01 80 02 39 09 00 01 01 02
Response Message:
08 01 00 02 39 00

busctl get-property xyz.openbmc_project.Inventory.Manager
/xyz/openbmc_project/inventory/system/chassis/motherboard/fan5
xyz.openbmc_project.State.Decorator.OperationalStatus Functional
b false

fan5 Set On:
pldmtool raw -d 0x80 0x02 0x39 0x09 0x00 0x01 0x01 0x01
Request Message:
08 01 80 02 39 09 00 01 01 01
Response Message:
08 01 00 02 39 00

busctl get-property xyz.openbmc_project.Inventory.Manager
/xyz/openbmc_project/inventory/system/chassis/motherboard/fan5
xyz.openbmc_project.State.Decorator.OperationalStatus Functional
b true

Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
Change-Id: Id92230f55d788b008a80701a6108e41981b95aea

show more ...


# 50304da5 14-Apr-2021 Jayashankar Padath <jayashankar.padath@in.ibm.com>

pdr: Sensor/Effecter support for enc fault and identify leds

This is to support sensor/effecter pdrs for enclosure fault led
and enclosure identify led.

Testing Result:

pdr: Sensor/Effecter support for enc fault and identify leds

This is to support sensor/effecter pdrs for enclosure fault led
and enclosure identify led.

Testing Result:

EFFECTER:

Enclosure Identify Use Cases:

pldmtool platform GetPDR -d 55
{
"nextRecordHandle": 56,
"responseCount": 29,
"recordHandle": 55,
"PDRHeaderVersion": 1,
"PDRType": "State Effecter PDR",
"recordChangeNumber": 0,
"dataLength": 19,
"PLDMTerminusHandle": 1,
"effecterID": 2,
"entityType": "System chassis (main enclosure)",
"entityInstanceNumber": 0,
"containerID": 0,
"effecterSemanticID": 0,
"effecterInit": "noInit",
"effecterDescriptionPDR": false,
"compositeEffecterCount": 1,
"stateSetID[0]": "17",
"possibleStatesSize[0]": 1,
"possibleStates[0]": " 1 2"
}

Set On:
pldmtool raw -d 0x80 0x02 0x39 0x02 0x00 0x01 0x01 0x01
Request Message:
08 01 80 02 39 02 00 01 01 01
Response Message:
08 01 00 02 39 00

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

Set Off:
pldmtool raw -d 0x80 0x02 0x39 0x02 0x00 0x01 0x01 0x02
Request Message:
08 01 80 02 39 02 00 01 01 02
Response Message:
08 01 00 02 39 00

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

Enclosure Fault Use Cases:

pldmtool platform GetPDR -d 56
{
"nextRecordHandle": 57,
"responseCount": 29,
"recordHandle": 56,
"PDRHeaderVersion": 1,
"PDRType": "State Effecter PDR",
"recordChangeNumber": 0,
"dataLength": 19,
"PLDMTerminusHandle": 1,
"effecterID": 3,
"entityType": "System chassis (main enclosure)",
"entityInstanceNumber": 0,
"containerID": 0,
"effecterSemanticID": 0,
"effecterInit": "noInit",
"effecterDescriptionPDR": false,
"compositeEffecterCount": 1,
"stateSetID[0]": "10",
"possibleStatesSize[0]": 1,
"possibleStates[0]": " 1 2"
}

Set state as On:
pldmtool raw -d 0x80 0x02 0x39 0x03 0x00 0x01 0x01 0x01
Request Message:
08 01 80 02 39 03 00 01 01 01
Response Message:
08 01 00 02 39 00

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

Set state as Off:
pldmtool raw -d 0x80 0x02 0x39 0x03 0x00 0x01 0x01 0x02
Request Message:
08 01 80 02 39 03 00 01 01 02
Response Message:
08 01 00 02 39 00

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

SENSOR:

Enc Identify Use Cases:

pldmtool platform GetPDR -d 24
{
"nextRecordHandle": 25,
"responseCount": 27,
"recordHandle": 24,
"PDRHeaderVersion": 1,
"PDRType": "State Sensor PDR",
"recordChangeNumber": 0,
"dataLength": 17,
"PLDMTerminusHandle": 0,
"sensorID": 3,
"entityType": "System chassis (main enclosure)",
"entityInstanceNumber": 0,
"containerID": 0,
"sensorInit": "noInit",
"sensorAuxiliaryNamesPDR": false,
"compositeSensorCount": 1,
"stateSetID[0]": "17",
"possibleStatesSize[0]": 1,
"possibleStates[0]": " 1 2"
}

Set On:
busctl set-property xyz.openbmc_project.LED.Controller.virtual_enc_id
/xyz/openbmc_project/led/physical/virtual_enc_id xyz.openbmc_project.Led.Physical
State s "xyz.openbmc_project.Led.Physical.Action.On"
pldmtool raw --data 0x80 0x02 0x21 0x03 0x00 0x01 0x00
Request Message:
08 01 80 02 21 03 00 01 00
Response Message:
08 01 00 02 21 00 01 00 01 00 01

Set Off:
busctl set-property xyz.openbmc_project.LED.Controller.virtual_enc_id
/xyz/openbmc_project/led/physical/virtual_enc_id xyz.openbmc_project.Led.Physical
State s "xyz.openbmc_project.Led.Physical.Action.Off"

pldmtool raw --data 0x80 0x02 0x21 0x03 0x00 0x01 0x00
Request Message:
08 01 80 02 21 03 00 01 00
Response Message:
08 01 00 02 21 00 01 00 01 00 02

Enc Fault Use Cases:

pldmtool platform GetPDR -d 25
{
"nextRecordHandle": 26,
"responseCount": 27,
"recordHandle": 25,
"PDRHeaderVersion": 1,
"PDRType": "State Sensor PDR",
"recordChangeNumber": 0,
"dataLength": 17,
"PLDMTerminusHandle": 0,
"sensorID": 4,
"entityType": "System chassis (main enclosure)",
"entityInstanceNumber": 0,
"containerID": 0,
"sensorInit": "noInit",
"sensorAuxiliaryNamesPDR": false,
"compositeSensorCount": 1,
"stateSetID[0]": "10",
"possibleStatesSize[0]": 1,
"possibleStates[0]": " 1 2"
}

Set On:
busctl set-property xyz.openbmc_project.LED.Controller.virtual_enc_fault
/xyz/openbmc_project/led/physical/virtual_enc_fault xyz.openbmc_project.Led.Physical
State s "xyz.openbmc_project.Led.Physical.Action.On"
pldmtool raw --data 0x80 0x02 0x21 0x04 0x00 0x01 0x00
Request Message:
08 01 80 02 21 04 00 01 00
Response Message:
08 01 00 02 21 00 01 00 01 00 01

Set Off:
busctl set-property xyz.openbmc_project.LED.Controller.virtual_enc_fault
/xyz/openbmc_project/led/physical/virtual_enc_fault xyz.openbmc_project.Led.Physical
State s "xyz.openbmc_project.Led.Physical.Action.Off"
pldmtool raw --data 0x80 0x02 0x21 0x04 0x00 0x01 0x00
Request Message:
08 01 80 02 21 04 00 01 00
Response Message:
08 01 00 02 21 00 01 00 01 00 02

Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
Change-Id: Id9ae0ce5bba1c1a63d3de20daa22571d24a8d9f2

show more ...


# 06f34416 01-Mar-2021 Varsha Kaverappa <vkaverap@in.ibm.com>

PDR/Sensor/Effecter for BMC owned LEDs

PDR:
root@witherspoon-tacoma-YA30UF043011:/usr/bin# ./pldmtool platform GetPDR -d 9
{
"nextRecordHandle": 10,
"responseCount":

PDR/Sensor/Effecter for BMC owned LEDs

PDR:
root@witherspoon-tacoma-YA30UF043011:/usr/bin# ./pldmtool platform GetPDR -d 9
{
"nextRecordHandle": 10,
"responseCount": 29,
"recordHandle": 9,
"PDRHeaderVersion": 1,
"PDRType": "State Effecter PDR",
"recordChangeNumber": 0,
"dataLength": 19,
"PLDMTerminusHandle": 1,
"effecterID": 2,
"entityType": "19(OEM)",
"entityInstanceNumber": 0,
"containerID": 0,
"effecterSemanticID": 0,
"effecterInit": "noInit",
"effecterDescriptionPDR": false,
"compositeEffecterCount": 1,
"stateSetID": "17",
"possibleStatesSize": 1,
"possibleStates": " 1 1 2"
}
root@witherspoon-tacoma-YA30UF043011:/usr/bin# ./pldmtool platform GetPDR -d 10
{
"nextRecordHandle": 11,
"responseCount": 29,
"recordHandle": 10,
"PDRHeaderVersion": 1,
"PDRType": "State Effecter PDR",
"recordChangeNumber": 0,
"dataLength": 19,
"PLDMTerminusHandle": 1,
"effecterID": 3,
"entityType": "19(OEM)",
"entityInstanceNumber": 0,
"containerID": 0,
"effecterSemanticID": 0,
"effecterInit": "noInit",
"effecterDescriptionPDR": false,
"compositeEffecterCount": 1,
"stateSetID": "10",
"possibleStatesSize": 1,
"possibleStates": " 1 1 2"
}

root@w80:~# pldmtool platform GetPDR -d 14
{
"nextRecordHandle": 15,
"responseCount": 23,
"recordHandle": 14,
"PDRHeaderVersion": 1,
"PDRType": "State Sensor PDR",
"recordChangeNumber": 0,
"dataLength": 13,
"PLDMTerminusHandle": 0,
"sensorID": 1,
"entityType": "19(OEM)",
"entityInstanceNumber": 0,
"containerID": 0,
"sensorInit": "noInit",
"sensorAuxiliaryNamesPDR": false,
"compositeSensorCount": 0
}
root@w80:~# pldmtool platform GetPDR -d 15
{
"nextRecordHandle": 0,
"responseCount": 23,
"recordHandle": 15,
"PDRHeaderVersion": 1,
"PDRType": "State Sensor PDR",
"recordChangeNumber": 0,
"dataLength": 13,
"PLDMTerminusHandle": 0,
"sensorID": 2,
"entityType": "19(OEM)",
"entityInstanceNumber": 0,
"containerID": 0,
"sensorInit": "noInit",
"sensorAuxiliaryNamesPDR": false,
"compositeSensorCount": 0
}

Write Effecter test:
root@w56:~# busctl get-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/base_blyth_identify xyz.openbmc_project.Led.Group Asserted
b false
root@w56:~# pldmtool platform SetStateEffecterStates -i 2 -c 1 -d 1 1 --verbose
Request Message:
08 01 80 02 39 02 00 01 01 01 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"
}
root@w56:~# busctl get-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/base_blyth_identify xyz.openbmc_project.Led.Group Asserted
b true

Sensor Read
root@rain104bmc:~# busctl get-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/base_blyth_identify xyz.openbmc_project.Led.Group Asserted
b false
root@rain104bmc:~# pldmtool raw --data 0x80 0x02 0x21 0x01 0x00 0x01 0x00
Request Message:
08 01 80 02 21 01 00 01 00
Response Message:
08 01 00 02 21 00 01 00 00 00 02
root@rain104bmc:~# busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/base_blyth_identify xyz.openbmc_project.Led.Group Asserted b true
root@rain104bmc:~# busctl get-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/base_blyth_identify xyz.openbmc_project.Led.Group Asserted
b true
root@rain104bmc:~# pldmtool raw --data 0x80 0x02 0x21 0x01 0x00 0x01 0x00
Request Message:
08 01 80 02 21 01 00 01 00
Response Message:
08 01 00 02 21 00 01 00 00 00 01

Signed-off-by: Varsha Kaverappa <vkaverap@in.ibm.com>
Change-Id: Idbe765eeeaf229838f721918da01a15d5391cab2

show more ...


# 3103e44e 22-Jan-2021 Matt Spinler <spinler@us.ibm.com>

Add emergency power off alert state sensor defs

Add PDR definitions for new state sensors for power off alerts due to
high ambient temperatures. These sensors have entity ID 5, external

Add emergency power off alert state sensor defs

Add PDR definitions for new state sensors for power off alerts due to
high ambient temperatures. These sensors have entity ID 5, external
environment, and use the 'health state' state set 1

The hard shutdown alert uses value 9, upper fatal, and the soft
shutdown alert uses value 7, upper critical.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I8c3a99b622baa6398fc9f9c6fbd3100137e75e77

show more ...


# c0d48759 14-Jan-2021 Matt Spinler <spinler@us.ibm.com>

Add thermal fault state sensor definition

Add a PDR definition for a new state sensor that is used to describe a
thermal fault. This sensor has entity ID 91, cooling subsystem, and

Add thermal fault state sensor definition

Add a PDR definition for a new state sensor that is used to describe a
thermal fault. This sensor has entity ID 91, cooling subsystem, and
uses the thermal trip state set, 21.

The D-Bus property behind it is provided by the phosphor-fan-monitor
application. On IBM systems, this will be used to notify the host of
impending shutdowns due to fan faults.

At the current time, phosphor-fan-monitor only runs when system power is
on.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ia0fb8829fc602a40c7901b41223a54fc408461ea

show more ...