pldmbios: Adding a BIOS attribute that can limit the number of cores activated
Adding attribute "hb_field_core_override" that can be used to limit
the number of cores HB activates. The default is 0 which is interpreted
as to activate all cores. If given value N which is not 0, then
for a fused core system 2N cores will be activated. For a non-fused
core system then N cores will be activated.
This is useful if a customer only wishes to activate N cores and not
activate all cores available.
Signed-off-by: Roland Veloz <rveloz@us.ibm.com>
Change-Id: Icca120b445810e1b7b8d41f0699ef87a4f0b6037
diff --git a/oem/ibm/configurations/bios/integer_attrs.json b/oem/ibm/configurations/bios/integer_attrs.json
index 791d33d..fdaa6b9 100644
--- a/oem/ibm/configurations/bios/integer_attrs.json
+++ b/oem/ibm/configurations/bios/integer_attrs.json
@@ -44,6 +44,15 @@
"default_value" : 4,
"helpText" : "Specifies the size of the logical memory block the system uses to read memory, requires a reboot for a change to be applied. Encoded: 3=128MB 4=256MB.",
"displayName" : "Memory Region Size"
- }
+ },
+ {
+ "attribute_name" : "hb_field_core_override",
+ "lower_bound" : 0,
+ "upper_bound" : 255,
+ "scalar_increment" : 1,
+ "default_value" : 0,
+ "helpText" : "The number of cores to activate where 0 being to activate all available cores. Where N, for fused cores, is to activate 2N cores. Where N, for non-fused cores, is to activate N cores.",
+ "displayName" : "Field Core Override"
+ }
]
}