summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/pm/p9_pstate_parameter_block.C
diff options
context:
space:
mode:
authorPrasad Bg Ranganath <prasadbgr@in.ibm.com>2017-11-13 03:45:39 -0600
committerChristian R. Geddes <crgeddes@us.ibm.com>2017-11-16 17:56:14 -0500
commit79acd9f3a8346e5d78c4f6a78264d50298906c5e (patch)
tree66beebd57b3397c708e482564623a60614cee34f /src/import/chips/p9/procedures/hwp/pm/p9_pstate_parameter_block.C
parent5e94a704fe274d6a679ea8f60a725f484393005c (diff)
downloadtalos-hostboot-79acd9f3a8346e5d78c4f6a78264d50298906c5e.tar.gz
talos-hostboot-79acd9f3a8346e5d78c4f6a78264d50298906c5e.zip
P9_pstate_parameter_block: Bug fix in IAC VDN calculation
CQ:SW407692 Change-Id: I57af68b63f617cc53ed93fe6f895a73bb3f63681 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49588 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49591 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/pm/p9_pstate_parameter_block.C')
-rw-r--r--src/import/chips/p9/procedures/hwp/pm/p9_pstate_parameter_block.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/hwp/pm/p9_pstate_parameter_block.C b/src/import/chips/p9/procedures/hwp/pm/p9_pstate_parameter_block.C
index e8c35fc3a..83ddf951a 100644
--- a/src/import/chips/p9/procedures/hwp/pm/p9_pstate_parameter_block.C
+++ b/src/import/chips/p9/procedures/hwp/pm/p9_pstate_parameter_block.C
@@ -4130,7 +4130,7 @@ uint16_t get_iac_vdn_value (uint16_t i_vpd_vdn_mv,
const uint8_t MIN_IDDQ_VALUE = 6; //considering 0.6 as 6 here for easy math
const uint16_t IDDQ_MIN_VOLT_LEVEL = 600;
uint8_t l_measured_temp_C[2] = {0};
- uint8_t l_Ivdnq_5ma[2] = {0};
+ uint16_t l_Ivdnq_5ma[2] = {0};
float l_scaled_leakage_ma[2] = {0};
uint16_t l_Ivdnq_vpd_ma = 0;
uint8_t i = 0;
OpenPOWER on IntegriCloud