diff options
author | Yue Du <daviddu@us.ibm.com> | 2016-08-25 14:04:06 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-10-30 21:45:22 -0400 |
commit | 4aecfaf1211544b38f3d664dbd0ab8c96ff9171c (patch) | |
tree | 20d68789f7a393c1d4d9e672e512dd91da211e41 /src/import/chips/p9/procedures/hwp/lib/p9_hcd_common.H | |
parent | 58fb5a63867402868431829b1c7aba2b2efddcd7 (diff) | |
download | talos-hostboot-4aecfaf1211544b38f3d664dbd0ab8c96ff9171c.tar.gz talos-hostboot-4aecfaf1211544b38f3d664dbd0ab8c96ff9171c.zip |
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: I14c9480ac0931ac7f8b456f193148ceb3b939947
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28808
Dev-Ready: YUE DU <daviddu@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Matt K. Light <mklight@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28809
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/lib/p9_hcd_common.H')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/lib/p9_hcd_common.H | 4 |
1 files 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 6f5a9ce02..11350a8fd 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) |