summaryrefslogtreecommitdiffstats
path: root/src/import
diff options
context:
space:
mode:
authorBen Gass <bgass@us.ibm.com>2018-01-17 14:24:34 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-02-24 21:31:14 -0500
commita8bf720f689010e964ec817732238196701d7e83 (patch)
treec0cfb30803cb45a3fd0dc7297877c07ceef27def /src/import
parent1d2a738923414693d7c567479c5f85f436b1c416 (diff)
downloadtalos-hostboot-a8bf720f689010e964ec817732238196701d7e83.tar.gz
talos-hostboot-a8bf720f689010e964ec817732238196701d7e83.zip
Turn off 64byte checkbit inversion for simulation in centaur.mbs.scom.initfile
Change-Id: I6e9deb6110fd19c55fa87422fbbd40b999c1e688 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52123 Reviewed-by: LUCAS W. MULKEY <lwmulkey@us.ibm.com> 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: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52131 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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import')
-rw-r--r--src/import/chips/centaur/procedures/hwp/initfiles/centaur_mbs_scom.C16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/import/chips/centaur/procedures/hwp/initfiles/centaur_mbs_scom.C b/src/import/chips/centaur/procedures/hwp/initfiles/centaur_mbs_scom.C
index bd4c808cc..215b0b231 100644
--- a/src/import/chips/centaur/procedures/hwp/initfiles/centaur_mbs_scom.C
+++ b/src/import/chips/centaur/procedures/hwp/initfiles/centaur_mbs_scom.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2017 */
+/* Contributors Listed Below - COPYRIGHT 2017,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -736,6 +736,10 @@ fapi2::ReturnCode centaur_mbs_scom(const fapi2::Target<fapi2::TARGET_TYPE_MEMBUF
l_TGT1_ATTR_CEN_EFF_NUM_RANKS_PER_DIMM[literal_0][literal_1]) +
l_TGT1_ATTR_CEN_EFF_NUM_RANKS_PER_DIMM[literal_1][literal_0]) +
l_TGT1_ATTR_CEN_EFF_NUM_RANKS_PER_DIMM[literal_1][literal_1]);
+ fapi2::ATTR_IS_SIMULATION_Type l_TGT3_ATTR_IS_SIMULATION;
+ FAPI_TRY(FAPI_ATTR_GET(fapi2::ATTR_IS_SIMULATION, TGT3, l_TGT3_ATTR_IS_SIMULATION));
+ uint64_t l_def_mba01_dis_checkbit_inv = (l_def_mba01 && (l_TGT3_ATTR_IS_SIMULATION == literal_1));
+ uint64_t l_def_mba23_dis_checkbit_inv = (l_def_mba23 && (l_TGT3_ATTR_IS_SIMULATION == literal_1));
fapi2::buffer<uint64_t> l_scom_buffer;
{
FAPI_TRY(fapi2::getScom( TGT0, 0x201080aull, l_scom_buffer ));
@@ -1421,6 +1425,11 @@ fapi2::ReturnCode centaur_mbs_scom(const fapi2::Target<fapi2::TARGET_TYPE_MEMBUF
l_scom_buffer.insert<16, 1, 63, uint64_t>(literal_0b1 );
}
+ if ((l_def_mba01_dis_checkbit_inv == literal_1))
+ {
+ l_scom_buffer.insert<3, 1, 63, uint64_t>(literal_0b0 );
+ }
+
FAPI_TRY(fapi2::putScom(TGT0, 0x201144aull, l_scom_buffer));
}
{
@@ -1436,6 +1445,11 @@ fapi2::ReturnCode centaur_mbs_scom(const fapi2::Target<fapi2::TARGET_TYPE_MEMBUF
l_scom_buffer.insert<16, 1, 63, uint64_t>(literal_0b1 );
}
+ if ((l_def_mba23_dis_checkbit_inv == literal_1))
+ {
+ l_scom_buffer.insert<3, 1, 63, uint64_t>(literal_0b0 );
+ }
+
FAPI_TRY(fapi2::putScom(TGT0, 0x201148aull, l_scom_buffer));
}
{
OpenPOWER on IntegriCloud