From ca38deeb68d348f0746cc50a536fe572261fe108 Mon Sep 17 00:00:00 2001 From: Yue Du Date: Tue, 28 Feb 2017 20:47:56 -0600 Subject: STOP: Fix optimize size and quad spwu issue of EIMR bookkeep Change-Id: Ifc90927a64c140237bf56927933c1a35c3f245b6 Original-Change-Id: Ia0795467fc58076360cba2b48f1226b1c2a13079 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37234 Tested-by: Jenkins Server Reviewed-by: Brian T. Vanderpool Reviewed-by: Michael S. Floyd Reviewed-by: AMIT KUMAR Reviewed-by: Gregory S. Still --- .../chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 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 92153baf..f9733582 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 @@ -148,7 +148,8 @@ p9_cme_stop_entry() { core_index = core_mask & 1; G_cme_stop_record.req_level[core_index] = - (pm_states & BITS64SH(36, 4)) >> SHIFT64SH(39); + (pm_states & BITS64SH((36 + (core_index << 2)), 4)) >> + SHIFT64SH((39 + (core_index << 2))); if (G_cme_stop_record.req_level[core_index] == STOP_LEVEL_1) { @@ -159,7 +160,6 @@ p9_cme_stop_entry() if ((G_cme_stop_record.header_flags & MAP_11_TO_8) && (G_cme_stop_record.req_level[core_index] == STOP_LEVEL_11)) { - G_cme_stop_record.req_level[core_index] = STOP_LEVEL_8; } -- cgit v1.2.3