diff options
Diffstat (limited to 'src/import')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/cache/p9_l3err_extract.C | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/hwp/cache/p9_l3err_extract.C b/src/import/chips/p9/procedures/hwp/cache/p9_l3err_extract.C index f245c3166..d2d1d92a4 100644 --- a/src/import/chips/p9/procedures/hwp/cache/p9_l3err_extract.C +++ b/src/import/chips/p9/procedures/hwp/cache/p9_l3err_extract.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2016,2017 */ +/* Contributors Listed Below - COPYRIGHT 2016,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -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 ..."); |