summaryrefslogtreecommitdiffstats
path: root/src/import/chips/centaur/procedures/hwp/memory/p9c_mss_row_repair.C
diff options
context:
space:
mode:
authorLouis Stermole <stermole@us.ibm.com>2018-10-10 16:24:30 -0500
committerChristian R. Geddes <crgeddes@us.ibm.com>2018-10-18 11:12:01 -0500
commite5eb14043e5dee87618875f178c5af0c90f5166a (patch)
tree795cf6dd6aac256ade91fdd83f3384fbd7774d3c /src/import/chips/centaur/procedures/hwp/memory/p9c_mss_row_repair.C
parenta04dc7a75506e8668457b150e8a799f70105d843 (diff)
downloadtalos-hostboot-e5eb14043e5dee87618875f178c5af0c90f5166a.tar.gz
talos-hostboot-e5eb14043e5dee87618875f178c5af0c90f5166a.zip
Fix attribute access errors in p9c row_repair
Change-Id: Ibaaf1be76b716f529ce1c50a354735ceb68d35df CQ:SW447633 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67316 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67327 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/chips/centaur/procedures/hwp/memory/p9c_mss_row_repair.C')
-rw-r--r--src/import/chips/centaur/procedures/hwp/memory/p9c_mss_row_repair.C14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/import/chips/centaur/procedures/hwp/memory/p9c_mss_row_repair.C b/src/import/chips/centaur/procedures/hwp/memory/p9c_mss_row_repair.C
index 64e67f33f..6b18508b7 100644
--- a/src/import/chips/centaur/procedures/hwp/memory/p9c_mss_row_repair.C
+++ b/src/import/chips/centaur/procedures/hwp/memory/p9c_mss_row_repair.C
@@ -329,7 +329,7 @@ extern "C"
if (valid_row_repair_entry(l_row_repair_entry, l_dram, l_srank, l_bg, l_bank, l_row))
{
FAPI_INF("Found valid row repair request in VPD for DIMM %s, DRAM %d, mrank %d, srank %d, bg %d, bank %d, row 0x%05x",
- mss::c_str(i_target), l_dram, l_rank, l_srank, l_bg, l_bank, l_row);
+ mss::spd::c_str(i_target), l_dram, l_rank, l_srank, l_bg, l_bank, l_row);
// Do some sanity checking here
FAPI_ASSERT(l_dram < l_num_dram,
@@ -342,7 +342,7 @@ extern "C"
set_BANK(l_bank).
set_ROW(l_row),
"%s VPD contained out of bounds row repair entry: DRAM: %d mrank %d srank %d bg %d bank %d row 0x%05x",
- mss::c_str(i_target), l_dram, l_rank, l_srank, l_bg, l_bank, l_row);
+ mss::spd::c_str(i_target), l_dram, l_rank, l_srank, l_bg, l_bank, l_row);
// Add this rank to the total number of ranks this DRAM appears in
++io_dram_bad_in_ranks[l_dram];
@@ -411,7 +411,7 @@ extern "C"
set_DIMM_TARGET(i_target).
set_RANK(i_rank),
"%s Row repair valid for rank %d but DRAM repairs are disabled in MNFG flags",
- mss::c_str(i_target), i_rank);
+ mss::spd::c_str(i_target), i_rank);
return fapi2::FAPI2_RC_SUCCESS;
fapi_try_exit:
@@ -593,13 +593,13 @@ extern "C"
FAPI_TRY(l_dram_bitmap.setBit(DRAM_START_BIT + l_dram));
- FAPI_INF("Deploying row repair on DIMM %s, DRAM %d, mrank %d, srank %d, bg %d, bank %d, row 0x%05x",
- mss::c_str(l_dimm), l_dram, l_rank, l_srank, l_bg, l_bank, l_row);
+ FAPI_INF("%s Deploying row repair on DRAM %d, mrank %d, srank %d, bg %d, bank %d, row 0x%05x",
+ mss::spd::c_str(l_dimm), l_dram, l_rank, l_srank, l_bg, l_bank, l_row);
FAPI_TRY(p9c_mss_row_repair(i_target_mba, l_port, l_port_rank, l_srank, l_bg, l_bank, l_row, l_dram_bitmap));
// Clear bad DQ bits for this port, DIMM, rank that will be fixed by this row repair
- FAPI_INF("Updating bad bits on DIMM %s, DRAM %d, mrank %d, srank %d, bg %d, bank %d, row 0x%05x",
- mss::c_str(l_dimm), l_dram, l_rank, l_srank, l_bg, l_bank, l_row);
+ FAPI_INF("%s Updating bad bits on Port %d, DIMM %d, DRAM %d, mrank %d, srank %d, bg %d, bank %d, row 0x%05x",
+ mss::c_str(i_target_mba), l_port, l_dimm_index, l_dram, l_rank, l_srank, l_bg, l_bank, l_row);
FAPI_TRY(dimmGetBadDqBitmap(i_target_mba, l_port, l_dimm_index, l_rank, l_bad_bits),
"Error from dimmGetBadDqBitmap on %s.", mss::c_str(i_target_mba));
OpenPOWER on IntegriCloud