summaryrefslogtreecommitdiffstats
path: root/src/usr/htmgt
diff options
context:
space:
mode:
authorChris Cain <cjcain@us.ibm.com>2017-06-27 08:13:36 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-06-28 12:39:55 -0400
commitad1b5d37cf5924c0118ad2cbec079d7eac42d4cc (patch)
tree8eb463e8338a4a42f87e5d15f15b07f1a715898b /src/usr/htmgt
parent7e123ef6ce738a8834dc6e64cf0f7a696309111e (diff)
downloadtalos-hostboot-ad1b5d37cf5924c0118ad2cbec079d7eac42d4cc.tar.gz
talos-hostboot-ad1b5d37cf5924c0118ad2cbec079d7eac42d4cc.zip
HTMGT: Do not log E1 exception if comm has been established with an OCC
Change-Id: Iae64e6d8d143a1c31bd2e9ad028d6c02e752ba97 RTC: 176399 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42479 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/htmgt')
-rw-r--r--src/usr/htmgt/htmgt_occcmd.C5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/usr/htmgt/htmgt_occcmd.C b/src/usr/htmgt/htmgt_occcmd.C
index 4fdd518b7..15e4dbe49 100644
--- a/src/usr/htmgt/htmgt_occcmd.C
+++ b/src/usr/htmgt/htmgt_occcmd.C
@@ -786,7 +786,10 @@ namespace HTMGT
auto sramRspPtr = reinterpret_cast<uint8_t*>(l_buffer.pointer());
uint32_t l_sramDataLen = l_buffer.getLength<uint8_t>();
// Check buffer status for exception
- if ((l_sramDataLen >= 3) && (0xE0 == (sramRspPtr[2] & 0xE0)))
+ // (don't log 0xE1 exception if communication has been established)
+ if (((l_sramDataLen >= 3) && (0xE0 == (sramRspPtr[2] & 0xE0))) &&
+ ((sramRspPtr[2] != OCC_RC_OCC_INIT_CHECKPOINT) ||
+ (false == iv_Occ->iv_commEstablished)))
{
const uint8_t exceptionType = sramRspPtr[2];
uint16_t exceptionDataLength = 0;
OpenPOWER on IntegriCloud