Skip to content

Commit

Permalink
Maintain opcg_reg1 SCAN_CLK_USE_EVEN in p9_putRingUtils.C
Browse files Browse the repository at this point in the history
Use putScomUnderMask.

Change-Id: I85de10c1f0afee4e8b571a81bc2e50464ae680f5
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41764
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.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/41771
Reviewed-by: Hostboot Team <hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
  • Loading branch information
BenAtIBM authored and sgupta2m committed Jun 15, 2017
1 parent b686df0 commit 58d8705
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/import/chips/p9/utils/p9_putRingUtils.C
Expand Up @@ -747,9 +747,12 @@ fapi2::ReturnCode setupScanRegionForSetPulse(
// Add the chiplet ID in the Scom Address
l_scomAddress |= l_chiplet;

// Maintain SCAN_CLK_USE_EVEN bit 49
fapi2::buffer<uint64_t> l_opcgReg1Mask(0xFFFFFFFFFFFFBFFFull);

fapi2::buffer<uint64_t> l_opcgReg1(l_opcg_reg1);

l_rc = fapi2::putScom(l_parent, l_scomAddress, l_opcgReg1);
l_rc = fapi2::putScomUnderMask(l_parent, l_scomAddress, l_opcgReg1, l_opcgReg1Mask);

if(l_rc != fapi2::FAPI2_RC_SUCCESS)
{
Expand Down

0 comments on commit 58d8705

Please sign in to comment.