Skip to content

Commit

Permalink
Add p9_proc_gettracearray procedure
Browse files Browse the repository at this point in the history
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: Ied7602b05a7441e4d2610b96ea77026d7a40b3c7
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/55426
CI-Ready: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
fenkes-ibm authored and dcrowell77 committed Mar 13, 2018
1 parent d72d879 commit d4ea0e3
Showing 1 changed file with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,32 @@
-->

<attributes>
<!-- ********************************************************************* -->
<attribute>
<id>ATTR_CHIP_EC_FEATURE_CORE_TRACE_SCOMABLE</id>
<targetType>TARGET_TYPE_PROC_CHIP</targetType>
<description>
Returns true if the core trace arrays are dumpable via SCOM.
Nimbus EC 0x20 or greater
</description>
<chipEcFeature>
<chip>
<name>ENUM_ATTR_NAME_NIMBUS</name>
<ec>
<value>0x20</value>
<test>GREATER_THAN_OR_EQUAL</test>
</ec>
</chip>
</chipEcFeature>
</attribute>
<!-- ********************************************************************* -->
<attribute>
<id>ATTR_CHIP_EC_FEATURE_TEST1</id>
<targetType>TARGET_TYPE_PROC_CHIP, TARGET_TYPE_MEMBUF_CHIP</targetType>
<description>
Returns if a chip contains the TEST1 feature. True if either:
Centaur EC 10
Venice EC greater than 30
Cumulus EC greater than 30
</description>
<chipEcFeature>
<chip>
Expand Down

0 comments on commit d4ea0e3

Please sign in to comment.