From a35355750ef4b4f4275162a79490449421847b94 Mon Sep 17 00:00:00 2001 From: Yue Du Date: Thu, 25 Aug 2016 14:04:06 -0500 Subject: [PATCH] cache/core/l2_stopclocks updates patchset 1: skip l2_stopclocks if ex_select is 0 patchset 2: check power state before execute hwp patchset 3: fix syntax typos from patch 2 update patchset 4: add chiplet accessibility check patchset 5: add possible counter to CME PCBMUX patchset 6: add skipping message on check patchset 7: change polling timout method patchset 8: add a missing comma patchset 9: fix ffdc patchset 10:roll back cme pcbmux counter until check to ensure cme accessibility patchset 11:rebased patchset 12:initial checkin of ppe state handling patchset 13:checkin new clk_ctrl_state procedure patchset 14:add attribute xml for new procedure patchset 15:fix calling the p9_common_clk_ctrl_state patchset 16:Matt rebase patchset 17:Warning instead of fail with error on check delete common C file, include only header Change-Id: Ic8c96366b294a9d3ebfdc07857d494ec33e30799 Original-Change-Id: I14c9480ac0931ac7f8b456f193148ceb3b939947 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28808 Dev-Ready: YUE DU Tested-by: Jenkins Server Tested-by: Hostboot CI Reviewed-by: Matt K. Light Tested-by: PPE CI Reviewed-by: Gregory S. Still Reviewed-by: Jennifer A. Stofer Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37041 Reviewed-by: Daniel M. Crowell Tested-by: Daniel M. Crowell --- src/import/chips/p9/procedures/hwp/lib/p9_hcd_common.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/import/chips/p9/procedures/hwp/lib/p9_hcd_common.H b/src/import/chips/p9/procedures/hwp/lib/p9_hcd_common.H index abf5722118c..38058381fed 100644 --- a/src/import/chips/p9/procedures/hwp/lib/p9_hcd_common.H +++ b/src/import/chips/p9/procedures/hwp/lib/p9_hcd_common.H @@ -43,8 +43,8 @@ // Create a multi-bit mask of \a n bits starting at bit \a b #define BITS64(b, n) ((0xffffffffffffffffull << (64 - (n))) >> (b)) #define BITS32(b, n) ((0xffffffff << (32 - (n))) >> (b)) -#define BITS16(b, n) ((0xffff << (16 - (n))) >> (b)) -#define BITS8(b, n) ((0xff << (8 - (n))) >> (b)) +#define BITS16(b, n) (((0xffff << (16 - (n))) & 0xffff) >> (b)) +#define BITS8(b, n) (((0xff << (8 - (n))) & 0xff) >> (b)) // Create a single bit mask at bit \a b #define BIT64(b) BITS64((b), 1)