diff options
| author | Mike Baiocchi <baiocchi@us.ibm.com> | 2013-04-18 18:27:18 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-05-15 16:22:18 -0500 |
| commit | d24018889b89a67b6680673026c69ac57be07ccf (patch) | |
| tree | 76c5a6325322101404d21941220b7925cb3c46a3 /src/include/usr/fsi | |
| parent | 5d96619743f5d668edf515979190a77011867f48 (diff) | |
| download | talos-hostboot-d24018889b89a67b6680673026c69ac57be07ccf.tar.gz talos-hostboot-d24018889b89a67b6680673026c69ac57be07ccf.zip | |
Add FSI FFDC Data Collection
To address the request to update present detect error log,
we've added getFsiFFDC() and related functions. We've called
these functions in the fail paths of the present detect
functions.
Change-Id: I763bf4056c35ebebdf7a0f2d4d3d31862a4d0091
RTC: 66865
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4116
Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com>
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/fsi')
| -rw-r--r-- | src/include/usr/fsi/fsi_reasoncodes.H | 46 | ||||
| -rw-r--r-- | src/include/usr/fsi/fsiif.H | 24 |
2 files changed, 47 insertions, 23 deletions
diff --git a/src/include/usr/fsi/fsi_reasoncodes.H b/src/include/usr/fsi/fsi_reasoncodes.H index dec93fa24..49cddda9d 100644 --- a/src/include/usr/fsi/fsi_reasoncodes.H +++ b/src/include/usr/fsi/fsi_reasoncodes.H @@ -1,26 +1,25 @@ -/* IBM_PROLOG_BEGIN_TAG - * This is an automatically generated prolog. - * - * $Source: src/include/usr/fsi/fsi_reasoncodes.H $ - * - * IBM CONFIDENTIAL - * - * COPYRIGHT International Business Machines Corp. 2011-2012 - * - * p1 - * - * Object Code Only (OCO) source materials - * Licensed Internal Code Source Materials - * IBM HostBoot Licensed Internal Code - * - * The source code for this program is not published or other- - * wise divested of its trade secrets, irrespective of what has - * been deposited with the U.S. Copyright Office. - * - * Origin: 30 - * - * IBM_PROLOG_END_TAG - */ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/include/usr/fsi/fsi_reasoncodes.H $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* COPYRIGHT International Business Machines Corp. 2011,2013 */ +/* */ +/* p1 */ +/* */ +/* Object Code Only (OCO) source materials */ +/* Licensed Internal Code Source Materials */ +/* IBM HostBoot Licensed Internal Code */ +/* */ +/* The source code for this program is not published or otherwise */ +/* divested of its trade secrets, irrespective of what has been */ +/* deposited with the U.S. Copyright Office. */ +/* */ +/* Origin: 30 */ +/* */ +/* IBM_PROLOG_END_TAG */ #ifndef __FSI_REASONCODES_H #define __FSI_REASONCODES_H @@ -61,6 +60,7 @@ namespace FSI RC_INVALID_FSI_PATH_2 = FSI_COMP_ID | 0x0D, RC_TARGET_NEVER_DETECTED = FSI_COMP_ID | 0x0E, RC_FSI_MVPD_MISMATCH = FSI_COMP_ID | 0x0F, + RC_FSI_CVPD_MISMATCH = FSI_COMP_ID | 0x10, }; }; diff --git a/src/include/usr/fsi/fsiif.H b/src/include/usr/fsi/fsiif.H index 859f41e41..f06803985 100644 --- a/src/include/usr/fsi/fsiif.H +++ b/src/include/usr/fsi/fsiif.H @@ -61,6 +61,30 @@ bool isSlavePresent( TARGETING::Target* i_fsiMaster, */ bool isSlavePresent( TARGETING::Target* i_target ); + +/** + * Enum defining type of FFDC to collect + */ +enum fsiFFDCType_t +{ + FSI_FFDC_PRESENCE_FAIL = 0, + FSI_FFDC_READWRITE_FAIL, +}; + +/** + * @brief Add FFDC for the target to an error log + * + * @param[in] i_ffdc_type Type of FFDC to add + * @param[in/out] i_log Error Log to add FFDC to + * @param[in] i_target FSI Target + * + * @return void + */ +void getFsiFFDC( fsiFFDCType_t i_ffdc_type, + errlHndl_t &io_log, + TARGETING::Target* i_target); + + /** * FSI Slave Registers for P8 * These registers are repeated for every master+port+cascade combo |

