summaryrefslogtreecommitdiffstats
path: root/src/usr/htmgt/htmgt_occcmd.C
diff options
context:
space:
mode:
authorChris Cain <cjcain@us.ibm.com>2016-05-12 16:40:13 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-05-24 09:26:29 -0400
commit3981721dbd1ad4e3f99dd84eccbd6b7a161ce60c (patch)
treea62a8d899731ea88db4531807f48117927198900 /src/usr/htmgt/htmgt_occcmd.C
parent4d4f2b18424ad5c7a868d6771ddce90cd210c5ee (diff)
downloadtalos-hostboot-3981721dbd1ad4e3f99dd84eccbd6b7a161ce60c.tar.gz
talos-hostboot-3981721dbd1ad4e3f99dd84eccbd6b7a161ce60c.zip
OCC Checkpoint handling improvements
Change-Id: Ibf8712fe560c022be939f73fcc78fb610a2bcabb RTC: 153923 ForwardPort: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24622 Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24831 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins
Diffstat (limited to 'src/usr/htmgt/htmgt_occcmd.C')
-rw-r--r--src/usr/htmgt/htmgt_occcmd.C9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/usr/htmgt/htmgt_occcmd.C b/src/usr/htmgt/htmgt_occcmd.C
index d842e8265..934cf0ec1 100644
--- a/src/usr/htmgt/htmgt_occcmd.C
+++ b/src/usr/htmgt/htmgt_occcmd.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2014,2015 */
+/* Contributors Listed Below - COPYRIGHT 2014,2016 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -868,6 +868,10 @@ namespace HTMGT
(uint32_t)MAX_FFDC),
1, // version
exceptionType); // subsection
+ if (0xE1 == exceptionType)
+ {
+ iv_Occ->collectCheckpointScomData(l_excErr);
+ }
ERRORLOG::errlCommit(l_excErr, HTMGT_COMP_ID);
// Save exception so we don't log it again
@@ -918,7 +922,8 @@ namespace HTMGT
{
TMGT_ERR("writeOccCmd: Error writing to OCC Circular Buffer,"
" rc=0x%04X", l_err->reasonCode());
-
+ iv_Occ->collectCheckpointScomData(l_err);
+ l_err->collectTrace("HTMGT");
ERRORLOG::errlCommit(l_err, HTMGT_COMP_ID);
}
#endif
OpenPOWER on IntegriCloud