summaryrefslogtreecommitdiffstats
path: root/src/usr/htmgt/htmgt_cfgdata.H
diff options
context:
space:
mode:
authorChris Cain <cjcain@us.ibm.com>2017-06-05 11:48:32 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-06-22 09:30:04 -0400
commit7d4cab0615138ae20cc02013b595f36f02e21a63 (patch)
treea23cd06845aba746e8194fadc0f7cc4652cad51b /src/usr/htmgt/htmgt_cfgdata.H
parentccb74685e3205a1f74e4a2264f27775144600d2c (diff)
downloadtalos-hostboot-7d4cab0615138ae20cc02013b595f36f02e21a63.tar.gz
talos-hostboot-7d4cab0615138ae20cc02013b595f36f02e21a63.zip
HTMGT: Memory Throttling and Power Capping support
- Enable DIMM thermal monitoring - Implement VRM thermal monitoring support - Implement memory throttle calculations - Move HTMGT only attributes to _openpower xml files System owner will need to update the following for full support: OPEN_POWER_MIN_MEM_UTILIZATION_POWER_CAP OPEN_POWER_VRM_READ_TIMEOUT_SEC Change-Id: Ib7f31e58c62af4b66edc3989156ebc6e636cc741 RTC: 153942 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41982 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/htmgt/htmgt_cfgdata.H')
-rw-r--r--src/usr/htmgt/htmgt_cfgdata.H3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/htmgt/htmgt_cfgdata.H b/src/usr/htmgt/htmgt_cfgdata.H
index 2e0fde5bb..126b5f4c7 100644
--- a/src/usr/htmgt/htmgt_cfgdata.H
+++ b/src/usr/htmgt/htmgt_cfgdata.H
@@ -71,6 +71,7 @@ namespace HTMGT
CFGDATA_FRU_TYPE_PROC = 0x00,
CFGDATA_FRU_TYPE_MEMBUF = 0x01,
CFGDATA_FRU_TYPE_DIMM = 0x02,
+ CFGDATA_FRU_TYPE_VRM = 0x03,
CFDATA_DVFS_NOT_DEFINED = 0xFF,
};
@@ -146,11 +147,13 @@ namespace HTMGT
* including the format and version numbers.
*
* @param[in] i_occ - the OCC to gather data for
+ * @param[in] i_occ_instance - OCC instance number
* @param[in] o_data - preallocated buffer to fill in
* @param[out] o_size - set to the message size
* @pre o_data is large enough.
*/
void getMemThrottleMessageData(const TARGETING::TargetHandle_t i_occ,
+ const uint8_t i_occ_instance,
uint8_t* o_data, uint64_t & o_size);
OpenPOWER on IntegriCloud