Skip to content

Commit

Permalink
Restore DRAM repairs function not deploying port0 spare
Browse files Browse the repository at this point in the history
    -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>
  • Loading branch information
rjknight authored and crgeddes committed Aug 24, 2018
1 parent a9697e7 commit cdc84ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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++ )
Expand Down

0 comments on commit cdc84ed

Please sign in to comment.