Skip to content

Commit 9aa07ed

Browse files
committed
pldm: Numeric sensors & effecters: 0x6c, 0x1d
Create numeric sensor and effecter for id 0x6c (Trigger SW SMI) Signed-off-by: Shirish Pargaonkar <Shirish.Pargaonkar@amd.com>
1 parent 7e94769 commit 9aa07ed

6 files changed

Lines changed: 112 additions & 0 deletions

File tree

configurations/pdr/com.amd.Hardware.Chassis/Processor0/13.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,14 @@
272272
["en", "ResetOnSyncFloodStatus"]
273273
]
274274
},
275+
{
276+
"pdr_type": 13,
277+
"effecter_id": 108,
278+
"effecter_count": 1,
279+
"effecter_names": [
280+
["en", "TriggerSwSmi"]
281+
]
282+
},
275283
{
276284
"pdr_type": 13,
277285
"effecter_id": 112,

configurations/pdr/com.amd.Hardware.Chassis/Processor0/21.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,18 @@
576576
"occurrence_rate": 0,
577577
"range_field_support": 0
578578
},
579+
{
580+
"pdr_type": 21,
581+
"sensor_id": 108,
582+
"entity_type": 135,
583+
"entity_instance_number": 0,
584+
"container_id": 0,
585+
"sensor_name": "TriggerSwSmi",
586+
"base_unit": 0,
587+
"unit_modifier": 0,
588+
"occurrence_rate": 0,
589+
"range_field_support": 0
590+
},
579591
{
580592
"pdr_type": 21,
581593
"sensor_id": 112,

configurations/pdr/com.amd.Hardware.Chassis/Processor0/9.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,6 +1224,42 @@
12241224
"rated_max": 500000,
12251225
"rated_min": 0
12261226
},
1227+
{
1228+
"pdr_type": 9,
1229+
"effecter_id": 108,
1230+
"entity_type": 135,
1231+
"entity_instance_number": 0,
1232+
"container_id": 0,
1233+
"effecter_semantic_id": 0,
1234+
"effecter_init": 1,
1235+
"effecter_auxiliary_names_pdr": true,
1236+
"base_unit": 0,
1237+
"unit_modifier": 0,
1238+
"rate_unit": 0,
1239+
"base_oem_unit_handle": 0,
1240+
"aux_unit": 0,
1241+
"aux_unit_modifier": 0,
1242+
"aux_rate_unit": 0,
1243+
"aux_oem_unit_handle": 0,
1244+
"is_linear": true,
1245+
"effecter_data_size": 4,
1246+
"resolution": 1.0,
1247+
"offset": 0.0,
1248+
"accuracy": 0,
1249+
"plus_tolerance": 0,
1250+
"minus_tolerance": 0,
1251+
"state_transition_interval": 0,
1252+
"transition_interval": 0,
1253+
"max_settable": 500000,
1254+
"min_settable": 0,
1255+
"range_field_format": 1,
1256+
"range_field_support": 1,
1257+
"nominal_value": 250000,
1258+
"normal_max": 400000,
1259+
"normal_min": 0,
1260+
"rated_max": 500000,
1261+
"rated_min": 0
1262+
},
12271263
{
12281264
"pdr_type": 9,
12291265
"effecter_id": 112,

configurations/pdr/com.amd.Hardware.Chassis/Processor1/13.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,14 @@
272272
["en", "ResetOnSyncFloodStatus"]
273273
]
274274
},
275+
{
276+
"pdr_type": 13,
277+
"effecter_id": 108,
278+
"effecter_count": 1,
279+
"effecter_names": [
280+
["en", "TriggerSwSmi"]
281+
]
282+
},
275283
{
276284
"pdr_type": 13,
277285
"effecter_id": 112,

configurations/pdr/com.amd.Hardware.Chassis/Processor1/21.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,18 @@
576576
"occurrence_rate": 0,
577577
"range_field_support": 0
578578
},
579+
{
580+
"pdr_type": 21,
581+
"sensor_id": 108,
582+
"entity_type": 135,
583+
"entity_instance_number": 0,
584+
"container_id": 0,
585+
"sensor_name": "TriggerSwSmi",
586+
"base_unit": 0,
587+
"unit_modifier": 0,
588+
"occurrence_rate": 0,
589+
"range_field_support": 0
590+
},
579591
{
580592
"pdr_type": 21,
581593
"sensor_id": 112,

configurations/pdr/com.amd.Hardware.Chassis/Processor1/9.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,6 +1224,42 @@
12241224
"rated_max": 500000,
12251225
"rated_min": 0
12261226
},
1227+
{
1228+
"pdr_type": 9,
1229+
"effecter_id": 108,
1230+
"entity_type": 135,
1231+
"entity_instance_number": 0,
1232+
"container_id": 0,
1233+
"effecter_semantic_id": 0,
1234+
"effecter_init": 1,
1235+
"effecter_auxiliary_names_pdr": true,
1236+
"base_unit": 0,
1237+
"unit_modifier": 0,
1238+
"rate_unit": 0,
1239+
"base_oem_unit_handle": 0,
1240+
"aux_unit": 0,
1241+
"aux_unit_modifier": 0,
1242+
"aux_rate_unit": 0,
1243+
"aux_oem_unit_handle": 0,
1244+
"is_linear": true,
1245+
"effecter_data_size": 4,
1246+
"resolution": 1.0,
1247+
"offset": 0.0,
1248+
"accuracy": 0,
1249+
"plus_tolerance": 0,
1250+
"minus_tolerance": 0,
1251+
"state_transition_interval": 0,
1252+
"transition_interval": 0,
1253+
"max_settable": 500000,
1254+
"min_settable": 0,
1255+
"range_field_format": 1,
1256+
"range_field_support": 1,
1257+
"nominal_value": 250000,
1258+
"normal_max": 400000,
1259+
"normal_min": 0,
1260+
"rated_max": 500000,
1261+
"rated_min": 0
1262+
},
12271263
{
12281264
"pdr_type": 9,
12291265
"effecter_id": 112,

0 commit comments

Comments
 (0)