Skip to content

Commit

Permalink
Mask off bit 26 of TP_LFIR on FSP machines
Browse files Browse the repository at this point in the history
Change-Id: Ided77a0645e4f657b326ba5ec63f7c35ab6b2029
CQ: SW421112
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55906
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55908
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
Soma BhanuTej authored and dcrowell77 committed Mar 26, 2018
1 parent fe61cf0 commit c4bd760
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/import/chips/p9/procedures/hwp/perv/p9_sbe_common.C
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,7 @@ fapi2::ReturnCode p9_sbe_common_configure_chiplet_FIR(
{
uint8_t l_unit_idx;
fapi2::buffer<uint64_t> l_scom_data;

FAPI_INF("p9_sbe_common_configure_chiplet_FIR: Entering ...");

FAPI_TRY(FAPI_ATTR_GET(fapi2::ATTR_CHIP_UNIT_POS, i_target_chiplet, l_unit_idx),
Expand Down Expand Up @@ -770,7 +771,13 @@ fapi2::ReturnCode p9_sbe_common_configure_chiplet_FIR(

if(l_unit_idx == 0) //TP chiplet
{
l_scom_data.clearBit<26>(); //Clear LFIR Mask bit 26 of TP
auto l_target_chip = i_target_chiplet.getParent<fapi2::TARGET_TYPE_PROC_CHIP>();
fapi2::buffer<uint8_t> l_has_sp;
FAPI_DBG("Reading ATTR_IS_SP_MODE");
FAPI_TRY(FAPI_ATTR_GET(fapi2::ATTR_IS_SP_MODE, l_target_chip, l_has_sp));

//Clear LFIR Mask bit 26 of TP only in FSP less system
l_scom_data.writeBit<26>(l_has_sp.getBit<7>());
}

#endif
Expand Down

0 comments on commit c4bd760

Please sign in to comment.