Skip to content

Commit c6eb349

Browse files
cnpalmerdcrowell77
authored andcommitted
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>
1 parent bdcb33b commit c6eb349

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/import/chips/centaur/procedures/hwp/memory/p9c_mss_rowRepairFuncs.C

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,21 +49,21 @@ extern "C"
4949
// get connected dimms from mba
5050
l_dimms = l_mba.getChildren<TARGET_TYPE_DIMM>();
5151

52-
// find the paired dimm
52+
// find the paired dimm (different port slct, same dimm slct)
5353
for ( auto const& dimm : l_dimms )
5454
{
5555
uint8_t l_tmpPs = 0;
5656
FAPI_TRY( FAPI_ATTR_GET(fapi2::ATTR_CEN_MBA_PORT, dimm, l_tmpPs) );
5757

58-
// DIMM on same port slct
59-
if ( l_tmpPs == l_curPs )
58+
// DIMM on different port slct
59+
if ( l_tmpPs != l_curPs )
6060
{
6161
uint8_t l_tmpDs = 0;
6262
FAPI_TRY( FAPI_ATTR_GET(fapi2::ATTR_CEN_MBA_DIMM, dimm,
6363
l_tmpDs) );
6464

65-
// different DIMM from the current one
66-
if ( l_tmpDs != l_curDs )
65+
// same DIMM select as the current DIMM
66+
if ( l_tmpDs == l_curDs )
6767
{
6868
// found the paired DIMM
6969
o_pairedDimm = dimm;

0 commit comments

Comments
 (0)