summaryrefslogtreecommitdiffstats
path: root/src/import/chips/centaur/procedures/hwp/memory/p9c_mss_maint_cmds.C
diff options
context:
space:
mode:
authorRichard J. Knight <rjknight@us.ibm.com>2018-08-20 09:18:58 -0500
committerChristian R. Geddes <crgeddes@us.ibm.com>2018-08-24 11:22:52 -0500
commitcdc84edda8ba1afa142739abf465e6ba15539b35 (patch)
tree39b52350092a17db427279652c4f3600c52a47ab /src/import/chips/centaur/procedures/hwp/memory/p9c_mss_maint_cmds.C
parenta9697e7b95a63efdc2c36dc864be88e1c08cdf46 (diff)
downloadtalos-hostboot-cdc84edda8ba1afa142739abf465e6ba15539b35.tar.gz
talos-hostboot-cdc84edda8ba1afa142739abf465e6ba15539b35.zip
Restore DRAM repairs function not deploying port0 spare
-Stack variable was being overwriten by memset, this chnages adjusts the length in memset to correct value. Change-Id: I16c164ac1cca23adf559f79e983192e6ceeefb42 CQ:SW439017 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64948 Tested-by: Jenkins Server <pfd-jenkins+hostboot@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/64968 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_maint_cmds.C')
-rw-r--r--src/import/chips/centaur/procedures/hwp/memory/p9c_mss_maint_cmds.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import/chips/centaur/procedures/hwp/memory/p9c_mss_maint_cmds.C b/src/import/chips/centaur/procedures/hwp/memory/p9c_mss_maint_cmds.C
index c66025091..2291bdc79 100644
--- a/src/import/chips/centaur/procedures/hwp/memory/p9c_mss_maint_cmds.C
+++ b/src/import/chips/centaur/procedures/hwp/memory/p9c_mss_maint_cmds.C
@@ -4703,7 +4703,7 @@ fapi2::ReturnCode mss_restore_DRAM_repairs_asm( const fapi2::Target<fapi2::TARGE
}
memset(l_steer, MSS_INVALID_SYMBOL, 8 * 3);
- memset(l_mark_store, MSS_INVALID_SYMBOL, 8 * 3);
+ memset(l_mark_store, MSS_INVALID_SYMBOL, 8 * 2);
// For each port in the given MBA:0,1
for(l_port = 0; l_port < MAX_PORTS_PER_MBA; l_port++ )
OpenPOWER on IntegriCloud