From 599bd468c95403d703e00aa53fc2176535e287f8 Mon Sep 17 00:00:00 2001 From: Thi Tran Date: Tue, 1 Oct 2019 16:18:38 -0400 Subject: Fix OCC sandbox base address overlapped with SMF in FLIP mode. This is an AXON only issue. Change-Id: I3ba9ccdcce69be80e93141c93fd823288b51ad0c Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/84618 Tested-by: FSP CI Jenkins Tested-by: Jenkins Server Tested-by: Hostboot CI Reviewed-by: Adam S Hale Reviewed-by: Jenny Huynh Reviewed-by: Jennifer A Stofer Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/84626 Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Daniel M Crowell --- src/import/chips/p9/procedures/hwp/nest/p9_mss_eff_grouping.C | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/import/chips/p9') diff --git a/src/import/chips/p9/procedures/hwp/nest/p9_mss_eff_grouping.C b/src/import/chips/p9/procedures/hwp/nest/p9_mss_eff_grouping.C index db3d3e430..0feeff44e 100644 --- a/src/import/chips/p9/procedures/hwp/nest/p9_mss_eff_grouping.C +++ b/src/import/chips/p9/procedures/hwp/nest/p9_mss_eff_grouping.C @@ -1626,7 +1626,8 @@ fapi2::ReturnCode EffGroupingBaseSizeData::set_HTM_OCC_base_addr( } // Update mem sizes with working array values - if (l_numRegions == NUM_NON_MIRROR_REGIONS) + if (i_sysAttrs.iv_selectiveMode == + fapi2::ENUM_ATTR_MEM_MIRROR_PLACEMENT_POLICY_NORMAL) { memcpy(iv_memory_sizes, l_mem_sizes, sizeof(iv_memory_sizes)); } @@ -1827,7 +1828,8 @@ fapi2::ReturnCode EffGroupingBaseSizeData::setSMFBaseSizeData( } // Update mem sizes with working array values - if (l_numRegions == NUM_NON_MIRROR_REGIONS) + if (i_sysAttrs.iv_selectiveMode == + fapi2::ENUM_ATTR_MEM_MIRROR_PLACEMENT_POLICY_NORMAL) { memcpy(iv_memory_sizes, l_mem_sizes, sizeof(iv_memory_sizes)); } -- cgit v1.2.1