summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/cache/p9_l2err_extract.C
diff options
context:
space:
mode:
authorChen Qian <qianqc@cn.ibm.com>2017-03-30 04:27:44 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-05-24 22:36:09 -0400
commit071e5f08a8c3402d7e464406dcbb81998dd99f64 (patch)
tree8b9047d5efc6c3e2891cedd74403448977b072ff /src/import/chips/p9/procedures/hwp/cache/p9_l2err_extract.C
parent7738208e04ad42fd8f9e5d4e3e51d8f27eb4c95f (diff)
downloadtalos-hostboot-071e5f08a8c3402d7e464406dcbb81998dd99f64.tar.gz
talos-hostboot-071e5f08a8c3402d7e464406dcbb81998dd99f64.zip
P9 L2err line delete HWP
--- fix bugs April 25th, 2017--- Add the busy bit poll after writing the PRD Purge Engine Command Register ----------------------------------------- 1) Add the trigger(bit0) value and type(bit1:4) value of PRD Purge Engine Command Register wrriten actions which is missed in the previous HWP. 2) Take the reg_busy(bit9) into consideration. The purge engine command register is set only when reg_busy is 0. 3) When executing the line delete procedure, if the reg_busy is non-zero, we wait for 10ms and poll reg_busy again for a maximum count of 100. 4) Fix a bug for restart trace array option. 5) Report no error found if the start header is reached during the trace array searching. Change-Id: I716601a68b5f8c3458e3085cc99a84fbee6f8c7b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38616 Reviewed-by: Peng Fei Gou <shgoupf@cn.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40876 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/cache/p9_l2err_extract.C')
-rw-r--r--src/import/chips/p9/procedures/hwp/cache/p9_l2err_extract.C11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/cache/p9_l2err_extract.C b/src/import/chips/p9/procedures/hwp/cache/p9_l2err_extract.C
index d3b9ab6d7..68370f008 100644
--- a/src/import/chips/p9/procedures/hwp/cache/p9_l2err_extract.C
+++ b/src/import/chips/p9/procedures/hwp/cache/p9_l2err_extract.C
@@ -205,6 +205,17 @@ extern "C"
{
trace_index--;
+ if (p9_tracearray_is_trace_start_marker(trace_array[trace_index]) == fapi2::FAPI2_RC_SUCCESS)
+ {
+
+ FAPI_DBG("Head found at trace index %i, no error is found!", trace_index);
+ FAPI_DBG("%2X: 0x%016llX%016llX", trace_index, trace_array[trace_index].get<uint64_t>( 0 ),
+ trace_array[trace_index].get<uint64_t>( 1 ));
+ error_found = false;
+ ce_ue = true;
+ break;
+ }
+
//Only look at data entries (ie ignore compression entries for now)
if( !trace_array[trace_index].isBitClear( 88, 7 ) )
{
OpenPOWER on IntegriCloud