Skip to content

Commit

Permalink
Remove annoying mbox traces (TRACF -> TRACD)
Browse files Browse the repository at this point in the history
While debugging some pnor stuff I had a hard time seeing any PNOR
traces because these mbox related PNOR traces kept flushing out
the traces I was trying to see from the buffer. This commit makes
the traces TRACD (debug) rather than TRACF.

Change-Id: I4f752c5d6110e8c4363276683a26f56210496b8f
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49927
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
crgeddes authored and dcrowell77 committed Nov 22, 2017
1 parent 94404b0 commit 397dacc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/usr/pnor/ast_mboxdd.C
Expand Up @@ -86,7 +86,7 @@ errlHndl_t astMbox::doMessage(mboxMessage& io_msg)
bool l_prot_error = false;
int i;

TRACFCOMP( g_trac_pnor, ENTER_MRK"astMboxDD::doMessage(0x%02x)",
TRACDCOMP( g_trac_pnor, ENTER_MRK"astMboxDD::doMessage(0x%02x)",
io_msg.iv_cmd );
io_msg.iv_seq = iv_mboxMsgSeq++;

Expand Down Expand Up @@ -119,7 +119,7 @@ errlHndl_t astMbox::doMessage(mboxMessage& io_msg)
break;
}

TRACFCOMP( g_trac_pnor, "Command sent, waiting for response...");
TRACDCOMP( g_trac_pnor, "Command sent, waiting for response...");

/* Wait for response */
while ( l_loops++ < MBOX_MAX_RESP_WAIT_US && !l_err )
Expand Down Expand Up @@ -215,7 +215,7 @@ errlHndl_t astMbox::doMessage(mboxMessage& io_msg)
uint8_t old_cmd = io_msg.iv_cmd;

// Read response
TRACFCOMP( g_trac_pnor, "Reading response data...");
TRACDCOMP( g_trac_pnor, "Reading response data...");

for (i = 0; i < BMC_MBOX_DATA_REGS && !l_err; i++)
{
Expand All @@ -228,7 +228,7 @@ errlHndl_t astMbox::doMessage(mboxMessage& io_msg)
break;
}

TRACFCOMP( g_trac_pnor, "Message: cmd:%02x seq:%02x a:%02x %02x %02x %02x %02x..resp:%02x",
TRACDCOMP( g_trac_pnor, "Message: cmd:%02x seq:%02x a:%02x %02x %02x %02x %02x..resp:%02x",
io_msg.iv_cmd, io_msg.iv_seq, io_msg.iv_args[0],
io_msg.iv_args[1], io_msg.iv_args[2], io_msg.iv_args[3],
io_msg.iv_args[4], io_msg.iv_resp);
Expand Down

0 comments on commit 397dacc

Please sign in to comment.