Skip to content

Commit b695767

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

6 files changed

Lines changed: 136 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: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,18 @@
216216
"occurrence_rate": 0,
217217
"range_field_support": 0
218218
},
219+
{
220+
"pdr_type": 21,
221+
"sensor_id": 29,
222+
"entity_type": 135,
223+
"entity_instance_number": 0,
224+
"container_id": 0,
225+
"sensor_name": "FuseSamplingInit",
226+
"base_unit": 0,
227+
"unit_modifier": 0,
228+
"occurrence_rate": 0,
229+
"range_field_support": 0
230+
},
219231
{
220232
"pdr_type": 21,
221233
"sensor_id": 30,
@@ -576,6 +588,18 @@
576588
"occurrence_rate": 0,
577589
"range_field_support": 0
578590
},
591+
{
592+
"pdr_type": 21,
593+
"sensor_id": 108,
594+
"entity_type": 135,
595+
"entity_instance_number": 0,
596+
"container_id": 0,
597+
"sensor_name": "TriggerSwSmi",
598+
"base_unit": 0,
599+
"unit_modifier": 0,
600+
"occurrence_rate": 0,
601+
"range_field_support": 0
602+
},
579603
{
580604
"pdr_type": 21,
581605
"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: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,18 @@
216216
"occurrence_rate": 0,
217217
"range_field_support": 0
218218
},
219+
{
220+
"pdr_type": 21,
221+
"sensor_id": 29,
222+
"entity_type": 135,
223+
"entity_instance_number": 0,
224+
"container_id": 0,
225+
"sensor_name": "FuseSamplingInit",
226+
"base_unit": 0,
227+
"unit_modifier": 0,
228+
"occurrence_rate": 0,
229+
"range_field_support": 0
230+
},
219231
{
220232
"pdr_type": 21,
221233
"sensor_id": 30,
@@ -576,6 +588,18 @@
576588
"occurrence_rate": 0,
577589
"range_field_support": 0
578590
},
591+
{
592+
"pdr_type": 21,
593+
"sensor_id": 108,
594+
"entity_type": 135,
595+
"entity_instance_number": 0,
596+
"container_id": 0,
597+
"sensor_name": "TriggerSwSmi",
598+
"base_unit": 0,
599+
"unit_modifier": 0,
600+
"occurrence_rate": 0,
601+
"range_field_support": 0
602+
},
579603
{
580604
"pdr_type": 21,
581605
"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)