summaryrefslogtreecommitdiffstats
path: root/src/import
diff options
context:
space:
mode:
authorSangeetha T S <sangeet2@in.ibm.com>2016-07-28 02:31:26 -0500
committerSachin Gupta <sgupta2m@in.ibm.com>2016-09-20 03:09:45 -0400
commitbe92f66129c6e54d261d08c165b5aded970a4d95 (patch)
treea5ad1acf953bf97c35e3f3a385557e7b96db6310 /src/import
parent16b6723192925bc4d4869d51480ad51e44044c01 (diff)
downloadtalos-sbe-be92f66129c6e54d261d08c165b5aded970a4d95.tar.gz
talos-sbe-be92f66129c6e54d261d08c165b5aded970a4d95.zip
Fix for the EKB build failure caused by hcd constant
Change-Id: Ic2e3cb17cd54a1e4759cc5f267e39ce8349d1b12 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27554 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29921 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/import')
-rw-r--r--src/import/chips/p9/procedures/hwp/cache/p9_hcd_cache_stopclocks.C3
-rw-r--r--src/import/chips/p9/procedures/hwp/cache/p9_hcd_l2_stopclocks.C3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/import/chips/p9/procedures/hwp/cache/p9_hcd_cache_stopclocks.C b/src/import/chips/p9/procedures/hwp/cache/p9_hcd_cache_stopclocks.C
index 3152c98b..ab82ac9d 100644
--- a/src/import/chips/p9/procedures/hwp/cache/p9_hcd_cache_stopclocks.C
+++ b/src/import/chips/p9/procedures/hwp/cache/p9_hcd_cache_stopclocks.C
@@ -79,7 +79,8 @@ p9_hcd_cache_stopclocks(
l_attr_vdm_enable));
FAPI_TRY(FAPI_ATTR_GET(fapi2::ATTR_CHIP_UNIT_POS, l_perv,
l_attr_chip_unit_pos));
- l_attr_chip_unit_pos = l_attr_chip_unit_pos - p9hcd::PERV_TO_QUAD_POS_OFFSET;
+// l_attr_chip_unit_pos = l_attr_chip_unit_pos - p9hcd::PERV_TO_QUAD_POS_OFFSET;
+ l_attr_chip_unit_pos = l_attr_chip_unit_pos - 0x10;
if (i_select_regions & p9hcd::CLK_REGION_EX0_L3)
{
diff --git a/src/import/chips/p9/procedures/hwp/cache/p9_hcd_l2_stopclocks.C b/src/import/chips/p9/procedures/hwp/cache/p9_hcd_l2_stopclocks.C
index 78f2ee94..301debb7 100644
--- a/src/import/chips/p9/procedures/hwp/cache/p9_hcd_l2_stopclocks.C
+++ b/src/import/chips/p9/procedures/hwp/cache/p9_hcd_l2_stopclocks.C
@@ -75,7 +75,8 @@ p9_hcd_l2_stopclocks(
FAPI_TRY(FAPI_ATTR_GET(fapi2::ATTR_CHIP_UNIT_POS, l_perv,
l_attr_chip_unit_pos));
- l_attr_chip_unit_pos = l_attr_chip_unit_pos - p9hcd::PERV_TO_QUAD_POS_OFFSET;
+// l_attr_chip_unit_pos = l_attr_chip_unit_pos - p9hcd::PERV_TO_QUAD_POS_OFFSET;
+ l_attr_chip_unit_pos = l_attr_chip_unit_pos - 0x10;
if (i_select_ex & p9hcd::EVEN_EX)
{
OpenPOWER on IntegriCloud