summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/pm/p9_pstate_parameter_block.C
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-04-30 03:59:03 -0500
commite5b2b878653494ba4c94c8db2e6bb4c1e3302f3e (patch)
tree7089edfe634698fee893fdbb89905923330d9cc8 /src/import/chips/p9/procedures/hwp/pm/p9_pstate_parameter_block.C
parentf848b1fc2c753141bad799d075045e41c28dc0cb (diff)
downloadtalos-hostboot-e5b2b878653494ba4c94c8db2e6bb4c1e3302f3e.tar.gz
talos-hostboot-e5b2b878653494ba4c94c8db2e6bb4c1e3302f3e.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 thatn the expected JEDEC value by 1 in order to handel 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/import/chips/p9/procedures/hwp/pm/p9_pstate_parameter_block.C')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud