Skip to content

Commit

Permalink
STOP: Fix hostboot stop level mapping
Browse files Browse the repository at this point in the history
Change-Id: I7183c3c956e2d661b2b3ccafb51bfd1b0a13032b
Original-Change-Id: I261944757d137077be4d2788f8433a9392d2dd80
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40761
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com>
Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com>
Reviewed-by: CHRISTOPHER M. RIEDL <cmriedl@us.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
  • Loading branch information
davidduyue authored and op-jenkins committed Aug 22, 2018
1 parent 4404541 commit a7817cd
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -334,19 +334,21 @@ p9_cme_stop_entry()
}

if ((pCmeImgHdr->g_cme_mode_flags & CME_STOP_8_TO_5_BIT_POS) &&
(G_cme_stop_record.req_level[core_index] >= STOP_LEVEL_8))
(G_cme_stop_record.req_level[core_index] >= STOP_LEVEL_8 &&
G_cme_stop_record.req_level[core_index] < STOP_LEVEL_11))
{
G_cme_stop_record.req_level[core_index] = STOP_LEVEL_5;
}

if ((pCmeImgHdr->g_cme_mode_flags & CME_STOP_5_TO_4_BIT_POS) &&
(G_cme_stop_record.req_level[core_index] >= STOP_LEVEL_5))
(G_cme_stop_record.req_level[core_index] >= STOP_LEVEL_5 &&
G_cme_stop_record.req_level[core_index] < STOP_LEVEL_8))
{
G_cme_stop_record.req_level[core_index] = STOP_LEVEL_4;
}

if ((pCmeImgHdr->g_cme_mode_flags & CME_STOP_4_TO_2_BIT_POS) &&
(G_cme_stop_record.req_level[core_index] >= STOP_LEVEL_4))
(G_cme_stop_record.req_level[core_index] == STOP_LEVEL_4))
{
G_cme_stop_record.req_level[core_index] = STOP_LEVEL_2;
}
Expand Down

0 comments on commit a7817cd

Please sign in to comment.