diff options
| author | Bilicon Patil <bilpatil@in.ibm.com> | 2013-04-04 06:06:34 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-05-08 09:25:18 -0500 |
| commit | 8e8dbe99d13d923536353afd96b9b003382b7f2c (patch) | |
| tree | 06ddd905db79c197fc0e9fe94cb28674a7b2ee94 /src/usr/hwpf/hwp/dmi_training/dmi_training.C | |
| parent | 0b8a07b09265dd48c2881caca24e150a948272a0 (diff) | |
| download | blackbird-hostboot-8e8dbe99d13d923536353afd96b9b003382b7f2c.tar.gz blackbird-hostboot-8e8dbe99d13d923536353afd96b9b003382b7f2c.zip | |
Set Accessor HWP to write repair data to VPD and Support for Centaur targets.
Change-Id: I57eee26a677c213317beaa6b84c79a73cccf34a5
RTC: 22646
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3864
Tested-by: Jenkins Server
Reviewed-by: Zane Shelley <zshelle@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/dmi_training/dmi_training.C')
| -rw-r--r-- | src/usr/hwpf/hwp/dmi_training/dmi_training.C | 49 |
1 files changed, 46 insertions, 3 deletions
diff --git a/src/usr/hwpf/hwp/dmi_training/dmi_training.C b/src/usr/hwpf/hwp/dmi_training/dmi_training.C index bd338e90e..c18461029 100644 --- a/src/usr/hwpf/hwp/dmi_training/dmi_training.C +++ b/src/usr/hwpf/hwp/dmi_training/dmi_training.C @@ -424,6 +424,8 @@ void* call_dmi_erepair( void *io_pArgs ) std::vector<uint8_t> l_endp1_rxFaillanes; std::vector<uint8_t> l_endp2_txFaillanes; std::vector<uint8_t> l_endp2_rxFaillanes; + uint32_t l_count = 0; + fapi::TargetType l_tgtType = fapi::TARGET_TYPE_NONE; TargetHandleList l_mcsTargetList; TargetHandleList l_memTargetList; @@ -554,7 +556,28 @@ void* call_dmi_erepair( void *io_pArgs ) errlCommit(l_errPtr, HWPF_COMP_ID); break; } - } + + l_tgtType = l_fapi_endp1_target.getType(); + for(l_count = 0; l_count < l_endp1_txFaillanes.size(); l_count++) + { + TRACDCOMP(ISTEPS_TRACE::g_trac_isteps_trace,"Successfully" + " restored Tx lane %d, of %s, of endpoint %s", + l_endp1_txFaillanes[l_count], + l_tgtType == TARGET_TYPE_XBUS_ENDPOINT ? "X-Bus" : + l_tgtType == TARGET_TYPE_ABUS_ENDPOINT ? "A-Bus" : + "DMI-Bus", l_fapi_endp1_target.toEcmdString()); + } + + for(l_count = 0; l_count < l_endp1_rxFaillanes.size(); l_count++) + { + TRACDCOMP(ISTEPS_TRACE::g_trac_isteps_trace,"Successfully" + " restored Rx lane %d, of %s, of endpoint %s", + l_endp1_txFaillanes[l_count], + l_tgtType == TARGET_TYPE_XBUS_ENDPOINT ? "X-Bus" : + l_tgtType == TARGET_TYPE_ABUS_ENDPOINT ? "A-Bus" : + "DMI-Bus", l_fapi_endp1_target.toEcmdString()); + } + } // end of if(l_endp1_txFaillanes.size() || l_endp1_rxFaillanes.size()) if(l_endp2_txFaillanes.size() || l_endp2_rxFaillanes.size()) { @@ -567,7 +590,6 @@ void* call_dmi_erepair( void *io_pArgs ) l_fapi_endp2_target.toEcmdString(), l_mcsNum, l_memNum ); - FAPI_INVOKE_HWP(l_errPtr, io_restore_erepair, l_fapi_endp2_target, @@ -603,7 +625,28 @@ void* call_dmi_erepair( void *io_pArgs ) errlCommit(l_errPtr, HWPF_COMP_ID); break; } - } + + l_tgtType = l_fapi_endp2_target.getType(); + for(l_count = 0; l_count < l_endp2_txFaillanes.size(); l_count++) + { + TRACDCOMP(ISTEPS_TRACE::g_trac_isteps_trace,"Successfully" + " restored Tx lane %d, of %s, of endpoint %s", + l_endp2_txFaillanes[l_count], + l_tgtType == TARGET_TYPE_XBUS_ENDPOINT ? "X-Bus" : + l_tgtType == TARGET_TYPE_ABUS_ENDPOINT ? "A-Bus" : + "DMI-Bus", l_fapi_endp2_target.toEcmdString()); + } + + for(l_count = 0; l_count < l_endp2_rxFaillanes.size(); l_count++) + { + TRACDCOMP(ISTEPS_TRACE::g_trac_isteps_trace,"Successfully" + " restored Rx lane %d, of %s, of endpoint %s", + l_endp2_txFaillanes[l_count], + l_tgtType == TARGET_TYPE_XBUS_ENDPOINT ? "X-Bus" : + l_tgtType == TARGET_TYPE_ABUS_ENDPOINT ? "A-Bus" : + "DMI-Bus", l_fapi_endp2_target.toEcmdString()); + } + } // end of if(l_endp2_txFaillanes.size() || l_endp2_rxFaillanes.size()) } // end for l_mcs_target TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "call_dmi_erepair exit" ); |

