From 9aa07ed0b3abbda111682d6024b7918b2e8aa858 Mon Sep 17 00:00:00 2001 From: Shirish Pargaonkar Date: Wed, 20 May 2026 12:55:34 -0500 Subject: [PATCH] pldm: Numeric sensors & effecters: 0x6c, 0x1d Create numeric sensor and effecter for id 0x6c (Trigger SW SMI) Signed-off-by: Shirish Pargaonkar --- .../Processor0/13.json | 8 +++++ .../Processor0/21.json | 12 +++++++ .../Processor0/9.json | 36 +++++++++++++++++++ .../Processor1/13.json | 8 +++++ .../Processor1/21.json | 12 +++++++ .../Processor1/9.json | 36 +++++++++++++++++++ 6 files changed, 112 insertions(+) diff --git a/configurations/pdr/com.amd.Hardware.Chassis/Processor0/13.json b/configurations/pdr/com.amd.Hardware.Chassis/Processor0/13.json index acfe244941..fed613e215 100644 --- a/configurations/pdr/com.amd.Hardware.Chassis/Processor0/13.json +++ b/configurations/pdr/com.amd.Hardware.Chassis/Processor0/13.json @@ -272,6 +272,14 @@ ["en", "ResetOnSyncFloodStatus"] ] }, + { + "pdr_type": 13, + "effecter_id": 108, + "effecter_count": 1, + "effecter_names": [ + ["en", "TriggerSwSmi"] + ] + }, { "pdr_type": 13, "effecter_id": 112, diff --git a/configurations/pdr/com.amd.Hardware.Chassis/Processor0/21.json b/configurations/pdr/com.amd.Hardware.Chassis/Processor0/21.json index bf64ccb796..2708f947e5 100644 --- a/configurations/pdr/com.amd.Hardware.Chassis/Processor0/21.json +++ b/configurations/pdr/com.amd.Hardware.Chassis/Processor0/21.json @@ -576,6 +576,18 @@ "occurrence_rate": 0, "range_field_support": 0 }, + { + "pdr_type": 21, + "sensor_id": 108, + "entity_type": 135, + "entity_instance_number": 0, + "container_id": 0, + "sensor_name": "TriggerSwSmi", + "base_unit": 0, + "unit_modifier": 0, + "occurrence_rate": 0, + "range_field_support": 0 + }, { "pdr_type": 21, "sensor_id": 112, diff --git a/configurations/pdr/com.amd.Hardware.Chassis/Processor0/9.json b/configurations/pdr/com.amd.Hardware.Chassis/Processor0/9.json index 143d82a505..cee421b8a9 100644 --- a/configurations/pdr/com.amd.Hardware.Chassis/Processor0/9.json +++ b/configurations/pdr/com.amd.Hardware.Chassis/Processor0/9.json @@ -1224,6 +1224,42 @@ "rated_max": 500000, "rated_min": 0 }, + { + "pdr_type": 9, + "effecter_id": 108, + "entity_type": 135, + "entity_instance_number": 0, + "container_id": 0, + "effecter_semantic_id": 0, + "effecter_init": 1, + "effecter_auxiliary_names_pdr": true, + "base_unit": 0, + "unit_modifier": 0, + "rate_unit": 0, + "base_oem_unit_handle": 0, + "aux_unit": 0, + "aux_unit_modifier": 0, + "aux_rate_unit": 0, + "aux_oem_unit_handle": 0, + "is_linear": true, + "effecter_data_size": 4, + "resolution": 1.0, + "offset": 0.0, + "accuracy": 0, + "plus_tolerance": 0, + "minus_tolerance": 0, + "state_transition_interval": 0, + "transition_interval": 0, + "max_settable": 500000, + "min_settable": 0, + "range_field_format": 1, + "range_field_support": 1, + "nominal_value": 250000, + "normal_max": 400000, + "normal_min": 0, + "rated_max": 500000, + "rated_min": 0 + }, { "pdr_type": 9, "effecter_id": 112, diff --git a/configurations/pdr/com.amd.Hardware.Chassis/Processor1/13.json b/configurations/pdr/com.amd.Hardware.Chassis/Processor1/13.json index acfe244941..fed613e215 100644 --- a/configurations/pdr/com.amd.Hardware.Chassis/Processor1/13.json +++ b/configurations/pdr/com.amd.Hardware.Chassis/Processor1/13.json @@ -272,6 +272,14 @@ ["en", "ResetOnSyncFloodStatus"] ] }, + { + "pdr_type": 13, + "effecter_id": 108, + "effecter_count": 1, + "effecter_names": [ + ["en", "TriggerSwSmi"] + ] + }, { "pdr_type": 13, "effecter_id": 112, diff --git a/configurations/pdr/com.amd.Hardware.Chassis/Processor1/21.json b/configurations/pdr/com.amd.Hardware.Chassis/Processor1/21.json index bf64ccb796..2708f947e5 100644 --- a/configurations/pdr/com.amd.Hardware.Chassis/Processor1/21.json +++ b/configurations/pdr/com.amd.Hardware.Chassis/Processor1/21.json @@ -576,6 +576,18 @@ "occurrence_rate": 0, "range_field_support": 0 }, + { + "pdr_type": 21, + "sensor_id": 108, + "entity_type": 135, + "entity_instance_number": 0, + "container_id": 0, + "sensor_name": "TriggerSwSmi", + "base_unit": 0, + "unit_modifier": 0, + "occurrence_rate": 0, + "range_field_support": 0 + }, { "pdr_type": 21, "sensor_id": 112, diff --git a/configurations/pdr/com.amd.Hardware.Chassis/Processor1/9.json b/configurations/pdr/com.amd.Hardware.Chassis/Processor1/9.json index 143d82a505..cee421b8a9 100644 --- a/configurations/pdr/com.amd.Hardware.Chassis/Processor1/9.json +++ b/configurations/pdr/com.amd.Hardware.Chassis/Processor1/9.json @@ -1224,6 +1224,42 @@ "rated_max": 500000, "rated_min": 0 }, + { + "pdr_type": 9, + "effecter_id": 108, + "entity_type": 135, + "entity_instance_number": 0, + "container_id": 0, + "effecter_semantic_id": 0, + "effecter_init": 1, + "effecter_auxiliary_names_pdr": true, + "base_unit": 0, + "unit_modifier": 0, + "rate_unit": 0, + "base_oem_unit_handle": 0, + "aux_unit": 0, + "aux_unit_modifier": 0, + "aux_rate_unit": 0, + "aux_oem_unit_handle": 0, + "is_linear": true, + "effecter_data_size": 4, + "resolution": 1.0, + "offset": 0.0, + "accuracy": 0, + "plus_tolerance": 0, + "minus_tolerance": 0, + "state_transition_interval": 0, + "transition_interval": 0, + "max_settable": 500000, + "min_settable": 0, + "range_field_format": 1, + "range_field_support": 1, + "nominal_value": 250000, + "normal_max": 400000, + "normal_min": 0, + "rated_max": 500000, + "rated_min": 0 + }, { "pdr_type": 9, "effecter_id": 112,