diff options
author | Andre Marin <aamarin@us.ibm.com> | 2018-02-07 09:55:26 -0600 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2018-02-28 11:47:08 -0500 |
commit | 443282a786eeac0fe87525123adb707f4ed3c1d7 (patch) | |
tree | cba84ffa3565ab0019ce75a0826312836f10f1bb /src/import/chips/p9/procedures/hwp/memory/lib/mcbist/settings.H | |
parent | 10aa31b32fc04726bdb12891a9c535ab4ebd607c (diff) | |
download | talos-hostboot-443282a786eeac0fe87525123adb707f4ed3c1d7.tar.gz talos-hostboot-443282a786eeac0fe87525123adb707f4ed3c1d7.zip |
Fixes memdiags broadcast mode address check bug
Change-Id: Ibbbfd3490686f4c43daf9a2cbe06dd8c646f25fa
CQ:SW414722
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54036
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com>
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54120
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/mcbist/settings.H')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/memory/lib/mcbist/settings.H | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/settings.H b/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/settings.H index 283cec846..3e89ee647 100644 --- a/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/settings.H +++ b/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/settings.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2016,2017 */ +/* Contributors Listed Below - COPYRIGHT 2016,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -56,7 +56,7 @@ enum end_boundary : uint64_t // We're gonna get a little hacky here. The pause on error mode field // is two bits, with another bit representing slave/master. So we craft // the enum so that we can insertFromRight and get the proper vaules, and - // leave on bit out of that two-bit range to represent master or slave + // leave one bit out of that two-bit range to represent master or slave NONE = 0b000, STOP_AFTER_ADDRESS = 0b001, STOP_AFTER_MASTER_RANK = 0b010, @@ -111,7 +111,7 @@ class stop_conditions // Find the first bit set. This represents the largest power of 2 this input can represent // The subtraction from 63 switches from a left-count to a right-count (e.g., 0 (left most // bit) is really bit 63 if you start on the right.) - uint64_t l_largest = 63 - first_bit_set(i_value); + const uint64_t l_largest = 63 - first_bit_set(i_value); // If the first bit set is off in space and greater than 2^14, we just return 0b1110 // Otherwise, l_largest is the droid we're looking for @@ -706,7 +706,7 @@ class stop_conditions struct constraints { /// - /// @brief constraints constructor + /// @brief constraints default constructor /// constraints(): iv_stop(), @@ -771,6 +771,7 @@ struct constraints iv_end_boundary = i_end_boundary; iv_speed = i_speed; iv_end_address = i_end_address; + FAPI_INF("setting up constraints with end boundary %d and speed 0x%x", i_end_boundary, i_speed); // If our end address is 'before' our start address, make the end address the same as the start. @@ -780,6 +781,7 @@ struct constraints } } + // Member variable declaration stop_conditions iv_stop; uint64_t iv_pattern; end_boundary iv_end_boundary; |