@@ -403,8 +403,8 @@ void StateMachine::processCommandTimeout(const MonitorIDs & i_monitorIDs)
403
403
// Committing an info log to help debug SW timeout
404
404
if ((* wit )-> timeoutCnt >= MAINT_CMD_TIMEOUT_LOG )
405
405
{
406
- MDIA_FAST ("sm: committing a SW timeout info log "
407
- "for HUID:0x%08X " , get_huid (target ));
406
+ MDIA_FAST ("sm: committing a SW timed out info log "
407
+ "for %x " , get_huid (target ));
408
408
409
409
/*@
410
410
* @errortype
@@ -435,10 +435,9 @@ void StateMachine::processCommandTimeout(const MonitorIDs & i_monitorIDs)
435
435
(* wit )-> timeoutCnt ++ ;
436
436
}
437
437
438
- MDIA_FAST ("sm: work item %d reset SW timed out on "
439
- "HUID:0x%08X, timeoutCnt: %d" ,
440
- * ((* wit )-> workItem ), get_huid (target ),
441
- (* wit )-> timeoutCnt );
438
+ MDIA_FAST ("sm: work item %d reset SW timed out on: %x, "
439
+ "timeoutCnt: %d" , * ((* wit )-> workItem ),
440
+ get_huid (target ), (* wit )-> timeoutCnt );
442
441
// register a new timeout monitor
443
442
uint64_t monitorId =
444
443
getMonitor ().addMonitor (MAINT_CMD_TIMEOUT );
@@ -473,7 +472,7 @@ void StateMachine::processCommandTimeout(const MonitorIDs & i_monitorIDs)
473
472
HWAS ::GARD_NULL );
474
473
475
474
// If maint cmd complete bit is not on, time out
476
- MDIA_FAST ("sm: stopping command HUID:0x%08X " , get_huid ( target ) );
475
+ MDIA_FAST ("sm: stopping command: %p " , target );
477
476
//target type is MBA
478
477
if ( TYPE_MBA == trgtType )
479
478
{
@@ -536,8 +535,10 @@ void StateMachine::processCommandTimeout(const MonitorIDs & i_monitorIDs)
536
535
wkflprop = * wit ;
537
536
538
537
// log a timeout event
539
- MDIA_ERR ("sm: workItem %d HW timeout on HUID:0x%08X" ,
540
- * ((* wit )-> workItem ), get_huid (target ));
538
+ MDIA_ERR ("sm: command %p: %d HW timed out on: %x" ,
539
+ target ,
540
+ * ((* wit )-> workItem ),
541
+ get_huid (target ));
541
542
542
543
errlCommit (timeoutErrl , MDIA_COMP_ID );
543
544
@@ -745,7 +746,7 @@ bool StateMachine::scheduleWorkItem(WorkFlowProperties & i_wfp)
745
746
746
747
TargetHandle_t target = getTarget (i_wfp );
747
748
748
- MDIA_FAST ("sm: dispatching work item %d for: 0x%08x , priority: %d, "
749
+ MDIA_FAST ("sm: dispatching work item %d for: %p , priority: %d, "
749
750
"unit: %d" , * i_wfp .workItem ,
750
751
get_huid (target ),
751
752
priority ,
@@ -801,7 +802,7 @@ bool StateMachine::executeWorkItem(WorkFlowProperties * i_wfp)
801
802
802
803
uint64_t workItem = * i_wfp -> workItem ;
803
804
804
- MDIA_FAST ("sm: executing work item %d for: 0x%08x " ,
805
+ MDIA_FAST ("sm: executing work item %d for: %x " ,
805
806
workItem , get_huid (getTarget (* i_wfp )));
806
807
807
808
mutex_unlock (& iv_mutex );
0 commit comments