summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYue Du <daviddu@us.ibm.com>2017-05-19 12:51:08 -0500
committerhostboot <hostboot@us.ibm.com>2018-08-22 17:54:54 -0500
commita7817cd22ca3726c21cc7b25ba60469346be710e (patch)
treede89746356783f026bd6375e4194da2bb5ca26ce
parent4404541f4c436c2509b500b7ab2fb3196114c140 (diff)
downloadtalos-hcode-a7817cd22ca3726c21cc7b25ba60469346be710e.tar.gz
talos-hcode-a7817cd22ca3726c21cc7b25ba60469346be710e.zip
STOP: Fix hostboot stop level mapping
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>
-rwxr-xr-ximport/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c b/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c
index 8388577d..9f5ddd62 100755
--- a/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c
+++ b/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c
@@ -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;
}
OpenPOWER on IntegriCloud