oem-ibm: Adding BIOS attribute for dynamic deallocation of Memory
This commit adds BIOS attribute for allowing user to enable/disable
the dynamic deallocation of memory.
Tested: Verified the BIOS attribute with get bios attribute command from
pldmtool.
Change-Id: Ife96c4544adf142e6c354e0dbd658d96625b8c13
Signed-off-by: Riya Dixit <riyadixitagra@gmail.com>
diff --git a/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Bonnell/enum_attrs.json b/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Bonnell/enum_attrs.json
index 390c75e..92284b4 100644
--- a/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Bonnell/enum_attrs.json
+++ b/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Bonnell/enum_attrs.json
@@ -68,6 +68,21 @@
"readOnly": true
},
{
+ "attribute_name": "hb_predictive_mem_guard",
+ "possible_values": ["Enabled", "Disabled"],
+ "default_values": ["Enabled"],
+ "helpText": "Enable or Disable Predictive Guard for Memory Errors.",
+ "displayName": "Predictive Memory Guard"
+ },
+ {
+ "attribute_name": "hb_predictive_mem_guard_current",
+ "possible_values": ["Enabled", "Disabled"],
+ "default_values": ["Enabled"],
+ "helpText": "Enable or Disable Predictive Guard for Memory Errors.",
+ "displayName": "Predictive Memory Guard",
+ "readOnly": true
+ },
+ {
"attribute_name": "pvm_stop_at_standby",
"possible_values": ["Disabled", "Enabled", "ManualOnly"],
"value_names": ["Disabled", "Enabled", "ManualOnly"],
diff --git a/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Everest/enum_attrs.json b/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Everest/enum_attrs.json
index 8364d20..1a32b20 100644
--- a/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Everest/enum_attrs.json
+++ b/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Everest/enum_attrs.json
@@ -84,6 +84,21 @@
"readOnly": true
},
{
+ "attribute_name": "hb_predictive_mem_guard",
+ "possible_values": ["Enabled", "Disabled"],
+ "default_values": ["Enabled"],
+ "helpText": "Enable or Disable Predictive Guard for Memory Errors.",
+ "displayName": "Predictive Memory Guard"
+ },
+ {
+ "attribute_name": "hb_predictive_mem_guard_current",
+ "possible_values": ["Enabled", "Disabled"],
+ "default_values": ["Enabled"],
+ "helpText": "Enable or Disable Predictive Guard for Memory Errors.",
+ "displayName": "Predictive Memory Guard",
+ "readOnly": true
+ },
+ {
"attribute_name": "pvm_stop_at_standby",
"possible_values": ["Disabled", "Enabled", "ManualOnly"],
"value_names": ["Disabled", "Enabled", "ManualOnly"],
diff --git a/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier1S4U/enum_attrs.json b/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier1S4U/enum_attrs.json
index 8364d20..1a32b20 100644
--- a/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier1S4U/enum_attrs.json
+++ b/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier1S4U/enum_attrs.json
@@ -84,6 +84,21 @@
"readOnly": true
},
{
+ "attribute_name": "hb_predictive_mem_guard",
+ "possible_values": ["Enabled", "Disabled"],
+ "default_values": ["Enabled"],
+ "helpText": "Enable or Disable Predictive Guard for Memory Errors.",
+ "displayName": "Predictive Memory Guard"
+ },
+ {
+ "attribute_name": "hb_predictive_mem_guard_current",
+ "possible_values": ["Enabled", "Disabled"],
+ "default_values": ["Enabled"],
+ "helpText": "Enable or Disable Predictive Guard for Memory Errors.",
+ "displayName": "Predictive Memory Guard",
+ "readOnly": true
+ },
+ {
"attribute_name": "pvm_stop_at_standby",
"possible_values": ["Disabled", "Enabled", "ManualOnly"],
"value_names": ["Disabled", "Enabled", "ManualOnly"],
diff --git a/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier2U/enum_attrs.json b/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier2U/enum_attrs.json
index 8364d20..1a32b20 100644
--- a/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier2U/enum_attrs.json
+++ b/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier2U/enum_attrs.json
@@ -84,6 +84,21 @@
"readOnly": true
},
{
+ "attribute_name": "hb_predictive_mem_guard",
+ "possible_values": ["Enabled", "Disabled"],
+ "default_values": ["Enabled"],
+ "helpText": "Enable or Disable Predictive Guard for Memory Errors.",
+ "displayName": "Predictive Memory Guard"
+ },
+ {
+ "attribute_name": "hb_predictive_mem_guard_current",
+ "possible_values": ["Enabled", "Disabled"],
+ "default_values": ["Enabled"],
+ "helpText": "Enable or Disable Predictive Guard for Memory Errors.",
+ "displayName": "Predictive Memory Guard",
+ "readOnly": true
+ },
+ {
"attribute_name": "pvm_stop_at_standby",
"possible_values": ["Disabled", "Enabled", "ManualOnly"],
"value_names": ["Disabled", "Enabled", "ManualOnly"],
diff --git a/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier4U/enum_attrs.json b/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier4U/enum_attrs.json
index 8364d20..1a32b20 100644
--- a/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier4U/enum_attrs.json
+++ b/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier4U/enum_attrs.json
@@ -84,6 +84,21 @@
"readOnly": true
},
{
+ "attribute_name": "hb_predictive_mem_guard",
+ "possible_values": ["Enabled", "Disabled"],
+ "default_values": ["Enabled"],
+ "helpText": "Enable or Disable Predictive Guard for Memory Errors.",
+ "displayName": "Predictive Memory Guard"
+ },
+ {
+ "attribute_name": "hb_predictive_mem_guard_current",
+ "possible_values": ["Enabled", "Disabled"],
+ "default_values": ["Enabled"],
+ "helpText": "Enable or Disable Predictive Guard for Memory Errors.",
+ "displayName": "Predictive Memory Guard",
+ "readOnly": true
+ },
+ {
"attribute_name": "pvm_stop_at_standby",
"possible_values": ["Disabled", "Enabled", "ManualOnly"],
"value_names": ["Disabled", "Enabled", "ManualOnly"],
diff --git a/oem/ibm/configurations/bios/enum_attrs.json b/oem/ibm/configurations/bios/enum_attrs.json
index 0f0393b..df913b5 100644
--- a/oem/ibm/configurations/bios/enum_attrs.json
+++ b/oem/ibm/configurations/bios/enum_attrs.json
@@ -84,6 +84,21 @@
"readOnly": true
},
{
+ "attribute_name": "hb_predictive_mem_guard",
+ "possible_values": ["Enabled", "Disabled"],
+ "default_values": ["Enabled"],
+ "helpText": "Enable or Disable Predictive Guard for Memory Errors.",
+ "displayName": "Predictive Memory Guard"
+ },
+ {
+ "attribute_name": "hb_predictive_mem_guard_current",
+ "possible_values": ["Enabled", "Disabled"],
+ "default_values": ["Enabled"],
+ "helpText": "Enable or Disable Predictive Guard for Memory Errors.",
+ "displayName": "Predictive Memory Guard",
+ "readOnly": true
+ },
+ {
"attribute_name": "pvm_stop_at_standby",
"possible_values": ["Disabled", "Enabled", "ManualOnly"],
"value_names": ["Disabled", "Enabled", "ManualOnly"],