diff options
author | Andres Lugo-Reyes <aalugore@us.ibm.com> | 2017-08-28 09:50:55 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-09-22 09:45:44 -0400 |
commit | c17f8e44c48c17c7ea9f049011e3151eede8d9aa (patch) | |
tree | f1e9f56a6b578f0cec5d1b319ce7b48dd7707bca /src/usr/htmgt/htmgt_cfgdata.H | |
parent | 72cf61348b47dfa2be0de8467ce4cceb113d3a62 (diff) | |
download | talos-hostboot-c17f8e44c48c17c7ea9f049011e3151eede8d9aa.tar.gz talos-hostboot-c17f8e44c48c17c7ea9f049011e3151eede8d9aa.zip |
Support for detecting a WOF requested reset
Change-Id: I385b20538230b152828075f695e8352f969d5cf2
RTC:174543
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45986
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Reviewed-by: Christopher J. Cain <cjcain@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.H | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/usr/htmgt/htmgt_cfgdata.H b/src/usr/htmgt/htmgt_cfgdata.H index 9d632889d..82eb05a35 100644 --- a/src/usr/htmgt/htmgt_cfgdata.H +++ b/src/usr/htmgt/htmgt_cfgdata.H @@ -80,6 +80,13 @@ namespace HTMGT CFDATA_DVFS_NOT_DEFINED = 0xFF, }; + enum // WOF disabled reasons + { + WOF_MISSING_ULTRA_TURBO = 0x0000, + WOF_SYSTEM_DISABLED = 0x0001, + WOF_RESET_COUNT_REACHED = 0x0002, + WOF_UNSUPPORTED_FREQ = 0x0003, + }; enum cfgTargets { @@ -249,10 +256,13 @@ namespace HTMGT * * @param[out] o_data - preallocated buffer to fill in * @param[out] o_size - set to the message size + * @param[in] i_wofResetCount - Number of times OCC requested a reset + * due to WOF * @pre o_data is large enough. */ void getFrequencyPointMessageData(uint8_t* o_data, - uint64_t & o_size); + uint64_t & o_size, + uint8_t i_wofResetCount ); /** * Generate the APSS configuration message |