diff options
author | Mike Jones <mjjones@us.ibm.com> | 2013-06-19 16:48:05 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-07-01 10:50:09 -0500 |
commit | 166d3eafee5895c793d53cd8b236ce5ec7e8dea3 (patch) | |
tree | 6dfe03553532f41de25e5cc739fb4e8bbdab0870 | |
parent | 461eb82edd2ea88af71bcb543903944c1b12a21a (diff) | |
download | talos-hostboot-166d3eafee5895c793d53cd8b236ce5ec7e8dea3.tar.gz talos-hostboot-166d3eafee5895c793d53cd8b236ce5ec7e8dea3.zip |
Add FAPI Bus callout to error log
Change-Id: Ifb4c6e284bb46295eb99e4540a8f54df72b3fba4
RTC: 72257
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5098
Tested-by: Jenkins Server
Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
Reviewed-by: Donald E. Dahle <dedahle@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
-rw-r--r-- | src/usr/hwpf/plat/fapiPlatHwpInvoker.C | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/src/usr/hwpf/plat/fapiPlatHwpInvoker.C b/src/usr/hwpf/plat/fapiPlatHwpInvoker.C index f75e7a3c6..a73c06da6 100644 --- a/src/usr/hwpf/plat/fapiPlatHwpInvoker.C +++ b/src/usr/hwpf/plat/fapiPlatHwpInvoker.C @@ -169,13 +169,11 @@ void processEIBusCallouts(const ErrorInfo & i_errInfo, TARGETING::Target * l_pTarget2 = reinterpret_cast<TARGETING::Target*>((*l_itr)->iv_target1.get()); -// Issue 72257. Uncomment the following lines to add a bus callout to -// the error log, the addBusCallout enums and interfaces are not in place yet -// HWAS::callOutPriority l_priority = -// xlateCalloutPriority((*l_itr)->iv_calloutPriority); + HWAS::callOutPriority l_priority = + xlateCalloutPriority((*l_itr)->iv_calloutPriority); bool l_busTypeValid = true; -// HWAS::busTypeEnum l_busType = HWAS::FSI_BUS_TYPE; + HWAS::busTypeEnum l_busType = HWAS::FSI_BUS_TYPE; TARGETING::TYPE l_type1 = l_pTarget1->getAttr<TARGETING::ATTR_TYPE>(); TARGETING::TYPE l_type2 = l_pTarget2->getAttr<TARGETING::ATTR_TYPE>(); @@ -184,17 +182,17 @@ void processEIBusCallouts(const ErrorInfo & i_errInfo, ((l_type1 == TARGETING::TYPE_MEMBUF) && (l_type2 == TARGETING::TYPE_MCS)) ) { -// l_busType = HWAS::DMI_BUS_TYPE; + l_busType = HWAS::DMI_BUS_TYPE; } else if ((l_type1 == TARGETING::TYPE_ABUS) && (l_type2 == TARGETING::TYPE_ABUS)) { -// l_busType = HWAS::A_BUS_TYPE; + l_busType = HWAS::A_BUS_TYPE; } else if ((l_type1 == TARGETING::TYPE_XBUS) && (l_type2 == TARGETING::TYPE_XBUS)) { -// l_busType = HWAS::X_BUS_TYPE; + l_busType = HWAS::X_BUS_TYPE; } else { @@ -205,8 +203,8 @@ void processEIBusCallouts(const ErrorInfo & i_errInfo, if (l_busTypeValid) { -// io_pError->addBusCallout(l_pTarget1, l_pTarget2, l_busType, -// l_priority); + io_pError->addBusCallout(l_pTarget1, l_pTarget2, l_busType, + l_priority); } } } @@ -221,11 +219,6 @@ void processEIBusCallouts(const ErrorInfo & i_errInfo, void processEICDGs(const ErrorInfo & i_errInfo, errlHndl_t io_pError) { - // TODO: RTC issue 47147 - // Need to figure out how connections are called out. Assuming this is done - // by calling out Target pairs, then the HWAS::SRCI_PRIORITY will need to - // be a 'grouping' priority (MEDA/B/C) - // Iterate through the CGD requests, adding each to the error log for (ErrorInfo::ErrorInfoCDGCItr_t l_itr = i_errInfo.iv_CDGs.begin(); l_itr != i_errInfo.iv_CDGs.end(); ++l_itr) |