summaryrefslogtreecommitdiffstats
path: root/src/include/util
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2018-04-08 13:03:21 -0600
committerRaptor Engineering Development Team <support@raptorengineering.com>2018-06-17 14:39:05 -0500
commitb74d67a1e53dadd2c5e936ea437540d8804aec99 (patch)
treeb739aab28e7e83d43a201987859e804b55994b52 /src/include/util
parent8186a367ec6f6aebab4c31842d1227d28e57fa65 (diff)
downloadtalos-hostboot-b74d67a1e53dadd2c5e936ea437540d8804aec99.tar.gz
talos-hostboot-b74d67a1e53dadd2c5e936ea437540d8804aec99.zip
Update the ps_to_freq function to use a range of values instead of expecting an exact value. Adjust the 2133 and 1866 values to be larger than the expected JEDEC value by 1 in order to handle possible rounding issues with the SPD data.
This cahnge was tested with the M393A1G40DB0-CPB RAM module which was rejected by the previous code due to the time_in_ps being 938 instead of the previously expected value of 937. Memtester was run with the resulting configuration and shows no errors: / # /usr/sbin/memtester 6G 4 memtester version 4.3.0 (64-bit) Copyright (C) 2001-2012 Charles Cazabon. Licensed under the GNU General Public License version 2 (only). pagesize is 65536 pagesizemask is 0xffffffffffff0000 want 6144MB (6442450944 bytes) got 6144MB (6442450944 bytes), trying mlock ...locked. Loop 1/4: Stuck Address : ok Random Value : ok Compare XOR : ok Compare SUB : ok Compare MUL : ok Compare DIV : ok Compare OR : ok Compare AND : ok Sequential Increment: ok Solid Bits : ok Block Sequential : ok Checkerboard : ok Bit Spread : ok Bit Flip : ok Walking Ones : ok Walking Zeroes : ok 8-bit Writes : ok 16-bit Writes : ok Signed-off-by: Evan Lojewski <github@meklort.com>
Diffstat (limited to 'src/include/util')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud