summaryrefslogtreecommitdiffstats
path: root/import/chips/p9/common/include
diff options
context:
space:
mode:
authorJoachim Fenkes <fenkes@de.ibm.com>2016-04-04 17:51:23 +0200
committerJoshua Hunsberger <jahunsbe@us.ibm.com>2017-10-23 16:06:03 -0500
commit03e830ca28410a010c7265d96985dab923a479d6 (patch)
tree96a8e5df05e359bdceb4ca0d5d983961e3348b3b /import/chips/p9/common/include
parent54583aa7ca45ebd28726adc539225f76bc8bc5fb (diff)
downloadtalos-hcode-03e830ca28410a010c7265d96985dab923a479d6.tar.gz
talos-hcode-03e830ca28410a010c7265d96985dab923a479d6.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: 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>
Diffstat (limited to 'import/chips/p9/common/include')
-rw-r--r--import/chips/p9/common/include/p9_quad_scom_addresses_fixes.H6
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 f6316552..6635bad5 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
OpenPOWER on IntegriCloud