diff options
author | Joachim Fenkes <fenkes@de.ibm.com> | 2016-04-04 17:51:23 +0200 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2016-08-16 12:50:25 -0400 |
commit | 07c9917070c47b025e4dccca01834c75a4d0d134 (patch) | |
tree | 24acf20c6ddb14d844f060dcce83ebe3117e08a6 | |
parent | 67672ae5b7cdc76dfb32495c44e1c477a199b1b2 (diff) | |
download | talos-sbe-07c9917070c47b025e4dccca01834c75a4d0d134.tar.gz talos-sbe-07c9917070c47b025e4dccca01834c75a4d0d134.zip |
Add p9_proc_gettracearray procedure
Generic procedure to dump a trace array. The API is similar to the P8 procedure,
but the procedure takes trace _bus_ IDs as opposed to trace _array_ IDs and uses
these to check the trace array's primary trace MUXes prior to dumping. There is
also a flag to skip this check if you want to dump a specific trace array no
matter which bus is muxed into it.
The FAPI2 target supplied must match the trace array; most will just need a
TARGET_TYPE_PROC_CHIP target, but some are targeted at OBUS, MCBIST, EX or CORE
granularity. There's an inline function proc_gettracearray_target_type() that
will help determine the target type.
Change-Id: Ib2bec3d83b18c51f438f1bee1bf07f719371fce8
Original-Change-Id: I093cd03bc90fbe93ed8fff3d18cd0676359fa5d1
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22847
Dev-Ready: Joachim Fenkes <fenkes@de.ibm.com>
Tested-by: Jenkins Server
Tested-by: PPE CI
Tested-by: Hostboot CI
Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
Reviewed-by: Jenny Huynh <jhuynh@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/28321
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
-rw-r--r-- | import/chips/p9/common/include/p9_quad_scom_addresses_fixes.H | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/import/chips/p9/common/include/p9_quad_scom_addresses_fixes.H b/import/chips/p9/common/include/p9_quad_scom_addresses_fixes.H index 86fe46ae..5e132947 100644 --- a/import/chips/p9/common/include/p9_quad_scom_addresses_fixes.H +++ b/import/chips/p9/common/include/p9_quad_scom_addresses_fixes.H @@ -59,4 +59,10 @@ REG64( C_PPM_CGCR_CLEAR , RULL(0x200F0166 REG64( C_PPM_CGCR_OR , RULL(0x200F0167), SH_UNT_C , SH_ACS_SCOM2_OR ); +FIXREG64( EQ_TPLC20_TR0_TRACE_HI_DATA_REG, RULL(0x10012800), SH_UNT_EQ, SH_ACS_SCOM_RO, RULL(0x10012900)); +FIXREG64( EQ_TPLC20_TR1_TRACE_HI_DATA_REG, RULL(0x10012840), SH_UNT_EQ, SH_ACS_SCOM_RO, RULL(0x10012940)); +FIXREG64( EQ_TPLC21_TR0_TRACE_HI_DATA_REG, RULL(0x10012C00), SH_UNT_EQ, SH_ACS_SCOM_RO, RULL(0x10012D00)); +FIXREG64( EQ_TPLC21_TR1_TRACE_HI_DATA_REG, RULL(0x10012C40), SH_UNT_EQ, SH_ACS_SCOM_RO, RULL(0x10012D40)); + + #endif |