Skip to content

Commit

Permalink
Reset L3 error status register for next CE/UE capture
Browse files Browse the repository at this point in the history
Change-Id: I92320a6bc869b9cd1df05483f2d58afdb0bfad13
CQ:SW419528
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55041
Reviewed-by: Kevin F. Reick <reick@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55051
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
Jenny Huynh authored and dcrowell77 committed Mar 8, 2018
1 parent e80082e commit 3d8051b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/import/chips/p9/procedures/hwp/cache/p9_l3err_extract.C
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2016,2017 */
/* Contributors Listed Below - COPYRIGHT 2016,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -355,6 +355,13 @@ fapi2::ReturnCode p9_l3err_extract(
o_err_data.hashed_real_address_45_56 = real_address45_56;
o_err_data.cache_read_address = err_stat_ra;

// Reset error status register for next capture
FAPI_DBG("Clearing error status register for next capture");

FAPI_TRY(fapi2::putScom(i_target, EX_ED_RD_ERR_STAT_REG0, 0x0000000000000000),
"Error from clearing L3 error status register (L3_eDRAM_RD_ERR_STAT_Register_0)");


fapi_try_exit:
// mark HWP exit
FAPI_DBG("Exiting ...");
Expand Down

0 comments on commit 3d8051b

Please sign in to comment.