Skip to content

Commit

Permalink
Fixed CL and timing bugs, unit test augmentations
Browse files Browse the repository at this point in the history
Fix 3DS timing params for SLR and DLR and add unit tests.
Fix CL setting for non-configured ports and add unit CL tests
Fixed SPD timing errors, CL, MR, and ddr_phy UT bugs

Change-Id: Icc7efcc6f5a01ceee168a10ca8236cb656ba013c
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31066
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Reviewed-by: JACOB L. HARVEY <jlharvey@us.ibm.com>
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Reviewed-by: Matt K. Light <mklight@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Reviewed-by: Brian R. Silver <bsilver@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69787
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Tested-by: Sachin Gupta <sgupta2m@in.ibm.com>
  • Loading branch information
sglancy6 authored and sgupta2m committed Dec 18, 2018
1 parent 3e99f56 commit f3df43f
Showing 1 changed file with 36 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2865,7 +2865,14 @@
<id>ATTR_EFF_DRAM_TREFI</id>
<targetType>TARGET_TYPE_MCS</targetType>
<description>
Average Refresh Interval (tREFI) in nck (number of clock cycles).
Average Refresh Interval (tREFI)
in nck (number of clock cycles).
This depends on MRW attribute that selects fine refresh mode (x1, x2, x4).
From DDR4 spec (79-4A).

For 3DS, the tREFI time to the same logical rank is defined as
tRFC_slr1, tRFC_slr2, or tRFC_slr4.

creator: mss_eff_config
consumer: various
firmware notes: none
Expand All @@ -2881,14 +2888,14 @@

<attribute>
<id>ATTR_EFF_DRAM_TRTP</id>
<!-- Not an SPD byte - how to find this?? -AM -->
<targetType>TARGET_TYPE_MCS</targetType>
<description>
Internal Read to Precharge Delay.
Each memory channel will have a value.
creator: mss_eff_cnfg_timing
consumer: various
firmware notes: none
Internal Read to Precharge Delay.
From the DDR4 spec (79-4A).
Each memory channel will have a value.
creator: mss_eff_cnfg_timing
consumer: various
firmware notes: none
</description>
<initToZero></initToZero>
<valueType>uint8</valueType>
Expand All @@ -2901,9 +2908,9 @@
<id>ATTR_EFF_DRAM_TRFC_DLR</id>
<targetType>TARGET_TYPE_MCS</targetType>
<description>
Minimum Refresh Recovery Delay Time
Minimum Refresh Recovery Delay Time (different logical ranks)
in nck (number of clock cyles).
Selected tRFC value (tRFC_dl1, tRFC_dl2, or tRFC_dl4)
Selected tRFC value (tRFC_dlr1, tRFC_dlr2, or tRFC_dlr4)
depends on MRW attribute that selects fine refresh mode (x1, x2, x4).
For 3DS, The tRFC time to different logical ranks are defined as tRFC_dlr
creator: eff_config
Expand Down Expand Up @@ -2937,6 +2944,26 @@
<mssAccessorName>eff_dram_tfaw_dlr</mssAccessorName>
</attribute>

<attribute>
<id>ATTR_EFF_DRAM_TRRD_DLR</id>
<targetType>TARGET_TYPE_MCS</targetType>
<description>
Minimum Activate to Activate Delay Time (different logical ranks)
in nck (number of clock cycles).
For 3DS, The tRRD_S time to a different logical rank is defined as tRRD_dlr.
Each memory channel will have a value.
creator: eff_confg
consumer: various
firmware notes: none
</description>
<initToZero></initToZero>
<valueType>uint8</valueType>
<writeable/>
<array> 2 </array>
<mssUnits> nck </mssUnits>
<mssAccessorName>eff_dram_trrd_dlr</mssAccessorName>
</attribute>

<attribute>
<id>ATTR_EFF_DRAM_TXS</id>
<targetType>TARGET_TYPE_MCS</targetType>
Expand Down

0 comments on commit f3df43f

Please sign in to comment.