Skip to content

Commit

Permalink
Turn off 64byte checkbit inversion for simulation in centaur.mbs.scom…
Browse files Browse the repository at this point in the history
….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>
  • Loading branch information
BenAtIBM authored and dcrowell77 committed Feb 25, 2018
1 parent 1d2a738 commit a8bf720
Showing 1 changed file with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2017 */
/* Contributors Listed Below - COPYRIGHT 2017,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -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 ));
Expand Down Expand Up @@ -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));
}
{
Expand All @@ -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));
}
{
Expand Down

0 comments on commit a8bf720

Please sign in to comment.