summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/pm/p9_pstate_parameter_block.C
diff options
context:
space:
mode:
authorChristopher M. Riedl <cmriedl@us.ibm.com>2017-08-02 12:51:51 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-08-04 10:45:21 -0400
commitfbd778df77648843f831e1b9bacae3e4a9fbf35b (patch)
tree928e0f84241dfbd1fd5f3e3283cea6b6c68cb796 /src/import/chips/p9/procedures/hwp/pm/p9_pstate_parameter_block.C
parentb868cefe62ded995a0db0e791bc88796cf26a8c5 (diff)
downloadtalos-hostboot-fbd778df77648843f831e1b9bacae3e4a9fbf35b.tar.gz
talos-hostboot-fbd778df77648843f831e1b9bacae3e4a9fbf35b.zip
PM: Fix VDM Greycode-to-Index Mapping in PPB
Change-Id: Ided28d8c69d82a42764fac5675bbaf38260fd9d7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44114 Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44121 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@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: Daniel M. Crowell <dcrowell@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.C17
1 files changed, 16 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 29f6f6908..21aede9f6 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
@@ -54,7 +54,22 @@
//the value in this table are in Index format
uint8_t g_GreyCodeIndexMapping [] =
{
- 0, 1, 3, 2, 6, 7, 5, 4, 12, 13, 15, 14, 10, 11, 9, 8,
+/* 0x00*/ 0,
+/* 0x01*/ 1,
+/* 0x02*/ 3,
+/* 0x03*/ 2,
+/* 0x04*/ 7,
+/* 0x05*/ 6,
+/* 0x06*/ 4,
+/* 0x07*/ 5,
+/* 0x08*/ 12,
+/* 0x09*/ 12,
+/* 0x0a*/ 12,
+/* 0x0b*/ 12,
+/* 0x0c*/ 8,
+/* 0x0d*/ 9,
+/* 0x0e*/ 11,
+/* 0x0f*/ 10
};
fapi2::vdmData_t g_vpdData = {1,
OpenPOWER on IntegriCloud