Support BIOS control of max freq setting (for HANA)
hb_cap_hana_freq_mhz_max (read-only) - provided by Hostboot during IPL
hb_cap_hana_freq_mhz_min (read-only) - provided by Hostboot during IPL
hb_cap_hana_freq_mhz_request (latched attribute) - used to override max freq
Signed-off-by: Matt Derksen <mderkse1@us.ibm.com>
Change-Id: Idc8967868d2922514e1876fa1ce67b3a58b2bf9b
diff --git a/oem/ibm/configurations/bios/integer_attrs.json b/oem/ibm/configurations/bios/integer_attrs.json
index 19b7634..e0dc0cc 100644
--- a/oem/ibm/configurations/bios/integer_attrs.json
+++ b/oem/ibm/configurations/bios/integer_attrs.json
@@ -143,6 +143,44 @@
"readOnly":true,
"helpText" : "Specifies the effective secure version of the host FW. In secure mode, the secure version value of a driver must be greater than or equal to this effective secure version to allow the system to boot.",
"displayName" : "Effective Secure Version"
+ },
+ {
+ "attribute_name" : "hb_cap_hana_freq_mhz_min",
+ "lower_bound" : 0,
+ "upper_bound" : 4294967295,
+ "scalar_increment" : 1,
+ "default_value" : 0,
+ "readOnly":true,
+ "helpText" : "Specifies the lowest floor frequency across all chips in the system.",
+ "displayName" : "Minimum Core Freq MHZ"
+ },
+ {
+ "attribute_name" : "hb_cap_hana_freq_mhz_max",
+ "lower_bound" : 0,
+ "upper_bound" : 4294967295,
+ "scalar_increment" : 1,
+ "default_value" : 0,
+ "readOnly":true,
+ "helpText" : "Specifies the highest ceiling frequency across all chips in the system.",
+ "displayName" : "Maximum Core Freq MHZ"
+ },
+ {
+ "attribute_name" : "hb_cap_hana_freq_mhz_request",
+ "lower_bound" : 0,
+ "upper_bound" : 4294967295,
+ "scalar_increment" : 1,
+ "default_value" : 0,
+ "helpText" : "Specifies the desired frequency across all chips in the system. Requires a reboot for a change to be applied.",
+ "displayName" : "Requested Core Freq MHZ (pending)"
+ },
+ {
+ "attribute_name" : "hb_cap_hana_freq_mhz_request_current",
+ "lower_bound" : 0,
+ "upper_bound" : 4294967295,
+ "scalar_increment" : 1,
+ "default_value" : 0,
+ "helpText" : "Specifies the desired frequency across all chips in the system. Do not set this attribute directly; set hb_cap_hana_freq_mhz_request instead.",
+ "displayName" : "Requested Core Freq MHZ (current)"
}
]
}