summaryrefslogtreecommitdiffstats
path: root/src/usr/htmgt/htmgt_poll.C
diff options
context:
space:
mode:
authorChris Cain <cjcain@us.ibm.com>2015-02-24 16:13:42 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-02-28 05:53:20 -0600
commitf3d348bde5bd0fbd9a707fd1635bcb3a90d9210d (patch)
tree52961091c8a645eb99e3adc1d88d59d6687dc162 /src/usr/htmgt/htmgt_poll.C
parent29581aca6a1ed02d3374e5688e5f32fcb6f104bc (diff)
downloadblackbird-hostboot-f3d348bde5bd0fbd9a707fd1635bcb3a90d9210d.tar.gz
blackbird-hostboot-f3d348bde5bd0fbd9a707fd1635bcb3a90d9210d.zip
Support for OCC error reporting
Change-Id: If8cce2f960b28cda2f039f68e9527df92f9233f2 RTC: 121729 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15971 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/htmgt/htmgt_poll.C')
-rw-r--r--src/usr/htmgt/htmgt_poll.C14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/usr/htmgt/htmgt_poll.C b/src/usr/htmgt/htmgt_poll.C
index 6729b652c..e8a81a976 100644
--- a/src/usr/htmgt/htmgt_poll.C
+++ b/src/usr/htmgt/htmgt_poll.C
@@ -60,6 +60,11 @@ namespace HTMGT
}
}
+ if (occNeedsReset())
+ {
+ TMGT_ERR("_sendOccPoll(): OCCs need to be reset");
+ }
+
return err;
}
@@ -223,8 +228,7 @@ namespace HTMGT
}
// Handle a new error log from the OCC
- occProcessElog(this,
- pollRsp->errorId,
+ occProcessElog(pollRsp->errorId,
pollRsp->errorAddress,
pollRsp->errorLength);
if (iv_needsReset)
@@ -275,8 +279,7 @@ namespace HTMGT
iv_role, pollRsp->status,
ERRORLOG::ERRL_SEV_INFORMATIONAL);
ERRORLOG::errlCommit(l_err, HTMGT_COMP_ID);
- // TODO RTC 109224
- //iv_resetReason = OCC_RESET_REASON_ERROR;
+ iv_resetReason = OCC_RESET_REASON_ERROR;
break;
}
@@ -303,8 +306,7 @@ namespace HTMGT
iv_occsPresent, pollRsp->status,
ERRORLOG::ERRL_SEV_INFORMATIONAL);
ERRORLOG::errlCommit(l_err, HTMGT_COMP_ID);
- // TODO RTC 109224
- //iv_resetReason = OCC_RESET_REASON_ERROR;
+ iv_resetReason = OCC_RESET_REASON_ERROR;
}
}
OpenPOWER on IntegriCloud