Skip to content

Commit

Permalink
HTMGT: Do not log E1 exception if comm has been established with an OCC
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
cjcain authored and dcrowell77 committed Jun 28, 2017
1 parent 7e123ef commit ad1b5d3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/usr/htmgt/htmgt_occcmd.C
Expand Up @@ -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;
Expand Down

0 comments on commit ad1b5d3

Please sign in to comment.