Skip to content

Commit

Permalink
PRD: VCM adjust when adding chip mark to callout list
Browse files Browse the repository at this point in the history
Change-Id: I6c4fabae85e047afd549868baa0a8efbdb8bac95
CQ: SW394365
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42567
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com>
Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42632
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
  • Loading branch information
cnpalmer authored and zane131 committed Jun 30, 2017
1 parent 7351357 commit 3457971
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/usr/diag/prdf/plat/mem/prdfMemVcm.H
Expand Up @@ -69,10 +69,6 @@ class VcmEvent : public TdEntry

o_done = false;

// Add the chip mark to the callout list.
MemoryMru mm { iv_chip->getTrgt(), iv_rank, iv_mark.getSymbol() };
io_sc.service_data->SetCallout( mm );

// Take action based on the current phase.
switch ( iv_phase )
{
Expand All @@ -98,6 +94,13 @@ class VcmEvent : public TdEntry
iv_chip->getHuid(), getKey() );
}

// Add the chip mark to the callout list if no callouts in the list.
if ( 0 == io_sc.service_data->getMruListSize() )
{
MemoryMru mm { iv_chip->getTrgt(), iv_rank, iv_mark.getSymbol() };
io_sc.service_data->SetCallout( mm );
}

return o_rc;
}

Expand Down

0 comments on commit 3457971

Please sign in to comment.