diff options
author | Caleb Palmer <cnpalmer@us.ibm.com> | 2018-09-28 10:13:45 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-10-11 12:25:56 -0500 |
commit | c6eb349f096c6d2a32c6b47a549425f84e791365 (patch) | |
tree | 21812541565c385c1b2f485809d3f64a4b04a3ad /src/import/chips/centaur | |
parent | bdcb33b8fd844fc71d51e542a3eda9d19ece12cf (diff) | |
download | talos-hostboot-c6eb349f096c6d2a32c6b47a549425f84e791365.tar.gz talos-hostboot-c6eb349f096c6d2a32c6b47a549425f84e791365.zip |
Fix finding paired DIMM in is_sPPR_supported
Change-Id: I0bd90608d1f589b81ac04c51be8b186a5558242c
CQ: SW447072
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66804
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66900
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/centaur')
-rw-r--r-- | src/import/chips/centaur/procedures/hwp/memory/p9c_mss_rowRepairFuncs.C | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/import/chips/centaur/procedures/hwp/memory/p9c_mss_rowRepairFuncs.C b/src/import/chips/centaur/procedures/hwp/memory/p9c_mss_rowRepairFuncs.C index 8beaf3d3f..3374ca723 100644 --- a/src/import/chips/centaur/procedures/hwp/memory/p9c_mss_rowRepairFuncs.C +++ b/src/import/chips/centaur/procedures/hwp/memory/p9c_mss_rowRepairFuncs.C @@ -49,21 +49,21 @@ extern "C" // get connected dimms from mba l_dimms = l_mba.getChildren<TARGET_TYPE_DIMM>(); - // find the paired dimm + // find the paired dimm (different port slct, same dimm slct) for ( auto const& dimm : l_dimms ) { uint8_t l_tmpPs = 0; FAPI_TRY( FAPI_ATTR_GET(fapi2::ATTR_CEN_MBA_PORT, dimm, l_tmpPs) ); - // DIMM on same port slct - if ( l_tmpPs == l_curPs ) + // DIMM on different port slct + if ( l_tmpPs != l_curPs ) { uint8_t l_tmpDs = 0; FAPI_TRY( FAPI_ATTR_GET(fapi2::ATTR_CEN_MBA_DIMM, dimm, l_tmpDs) ); - // different DIMM from the current one - if ( l_tmpDs != l_curDs ) + // same DIMM select as the current DIMM + if ( l_tmpDs == l_curDs ) { // found the paired DIMM o_pairedDimm = dimm; |