diff options
author | Andre Marin <aamarin@us.ibm.com> | 2016-02-09 13:16:51 -0600 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2018-12-17 20:27:13 -0600 |
commit | 975341f85c281c53b2650f58ce0267839e72ecd4 (patch) | |
tree | c0bddb4c4e1da183a49f6fc3dc33e6977e914a1c | |
parent | cbf577233f9863b9fa6bf271ddf2f5fe81c727ef (diff) | |
download | talos-sbe-975341f85c281c53b2650f58ce0267839e72ecd4.tar.gz talos-sbe-975341f85c281c53b2650f58ce0267839e72ecd4.zip |
Modify spd_decoder, eff_config, unit tests. Modify dependent files
Change-Id: Ifa4fbf9d452a3e77075bee9ab72b2bde2afe90a5
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/20861
Tested-by: Jenkins Server
Tested-by: Auto Mirror
Reviewed-by: Brian R. Silver <bsilver@us.ibm.com>
Tested-by: Hostboot CI
Reviewed-by: CRAIG C. HAMILTON <cchamilt@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69757
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Tested-by: Sachin Gupta <sgupta2m@in.ibm.com>
-rw-r--r-- | src/import/chips/p9/procedures/xml/attribute_info/memory_mcs_attributes.xml | 412 |
1 files changed, 18 insertions, 394 deletions
diff --git a/src/import/chips/p9/procedures/xml/attribute_info/memory_mcs_attributes.xml b/src/import/chips/p9/procedures/xml/attribute_info/memory_mcs_attributes.xml index 8e0773c7..48f8c9e1 100644 --- a/src/import/chips/p9/procedures/xml/attribute_info/memory_mcs_attributes.xml +++ b/src/import/chips/p9/procedures/xml/attribute_info/memory_mcs_attributes.xml @@ -647,7 +647,8 @@ <id>ATTR_MSS_FREQ</id> <targetType>TARGET_TYPE_MCBIST</targetType> <description> - Frequency of this memory channel in MHz, comprising of three DIMMs. + Frequency of this memory channel in MT/s (Mega Transfers per second), + comprising of three DIMMs. Computed in mss_freq creator: mss_freq consumer: mss_eff_cnfg, others @@ -658,6 +659,7 @@ <odmVisable/> <odmChangeable/> <persistRuntime/> + <mssUnits> MT/s </mssUnits> <mssAccessorName>freq</mssAccessorName> </attribute> @@ -767,29 +769,6 @@ </attribute> <attribute> - <id>ATTR_EFF_DIMM_TYPE</id> - <!-- P8 MBA level information --> - <targetType>TARGET_TYPE_MCS</targetType> - <description> - Type of DIMM: RDIMM, UDIMM, LRDIMM as specified by the JEDIC standard. - Used in various locations and is computed in mss_eff_cnfg. - Can be overwritten by ODM vendors if done from the PNOR or odm_eff_cnfg. - creator: mss_eff_cnfg - consumer: various - firmware notes: none - </description> - <valueType>uint8</valueType> - <enum> EMPTY = 0, RDIMM = 1, UDIMM = 2, LRDIMM = 3</enum> - <writeable/> - <odmVisable/> - <odmChangeable/> - <array>2 2</array> - <persistRuntime/> - <mssAccessor>PORT DIMM</mssAccessor> - <mssAccessorName>eff_dimm_type</mssAccessorName> - </attribute> - - <attribute> <id>ATTR_EFF_CUSTOM_DIMM</id> <!-- P8 MBA level information --> <targetType>TARGET_TYPE_MCS</targetType> @@ -856,27 +835,6 @@ </attribute> <attribute> - <id>ATTR_EFF_DRAM_GEN</id> - <!-- P8 MBA level information --> - <targetType>TARGET_TYPE_MCS</targetType> - <description> - Generation of memory: DDR3, DDR4. Used in various locations - and is computed in mss_eff_cnfg - decodes byte 2 of SPD. - creator: mss_eff_cnfg - consumer: various - firmware notes: none - </description> - <valueType>uint8</valueType> - <enum>EMPTY = 0, DDR3 = 1, DDR4 = 2</enum> - <writeable/> - <odmVisable/> - <odmChangeable/> - <array>2 2</array> - <mssAccessor>PORT DIMM</mssAccessor> - <mssAccessorName>eff_dram_gen</mssAccessorName> - </attribute> - - <attribute> <id>ATTR_EFF_PRIMARY_RANK_GROUP0</id> <!-- P8 MBA level information --> <targetType>TARGET_TYPE_MCS</targetType> @@ -1705,94 +1663,6 @@ </attribute> <attribute> - <id>ATTR_EFF_DRAM_BANKS</id> - <!-- P8 MBA level information --> - <targetType>TARGET_TYPE_MCS</targetType> - <description> - Number of DRAM banks. - Used in various locations and is computed in mss_eff_cnfg. - Can be overwritten by ODM vendors if done from the PNOR or odm_eff_cnfg. - Each memory channel will have a value. - creator: mss_eff_cnfg - consumer: various - firmware notes: none - </description> - <valueType>uint8</valueType> - <writeable/> - <odmVisable/> - <odmChangeable/> - <array>2 2</array> - <mssAccessor>PORT</mssAccessor> - <mssAccessorName>eff_dram_banks</mssAccessorName> - </attribute> - - <attribute> - <id>ATTR_EFF_DRAM_ROWS</id> - <!-- P8 MBA level information --> - <targetType>TARGET_TYPE_MCS</targetType> - <description> - Number of DRAM rows. - Used in various locations and is computed in mss_eff_cnfg. - Can be overwritten by ODM vendors if done from the PNOR or odm_eff_cnfg. - Each memory channel will have a value. - creator: mss_eff_cnfg - consumer: various - firmware notes: none - </description> - <valueType>uint8</valueType> - <writeable/> - <odmVisable/> - <odmChangeable/> - <array>2 2</array> - <mssAccessor>PORT</mssAccessor> - <mssAccessorName>eff_dram_rows</mssAccessorName> - </attribute> - - <attribute> - <id>ATTR_EFF_DRAM_COLS</id> - <!-- P8 MBA level information --> - <targetType>TARGET_TYPE_MCS</targetType> - <description> - Number of DRAM columns. - Used in various locations and is computed in mss_eff_cnfg. - Can be overwritten by ODM vendors if done from the PNOR or odm_eff_cnfg. - Each memory channel will have a value. - creator: mss_eff_cnfg - consumer: various - firmware notes: none - </description> - <valueType>uint8</valueType> - <writeable/> - <odmVisable/> - <odmChangeable/> - <array>2 2</array> - <mssAccessor>PORT</mssAccessor> - <mssAccessorName>eff_dram_cols</mssAccessorName> - </attribute> - - <attribute> - <id>ATTR_EFF_DRAM_DENSITY</id> - <!-- P8 MBA level information --> - <targetType>TARGET_TYPE_MCS</targetType> - <description> - DRAM Density. - Used in various locations and is computed in mss_eff_cnfg. - Can be overwritten by ODM vendors if done from the PNOR or odm_eff_cnfg. - Each memory channel will have a value. - creator: mss_eff_cnfg - consumer: various - firmware notes: none - </description> - <valueType>uint8</valueType> - <writeable/> - <odmVisable/> - <odmChangeable/> - <array>2 2</array> - <mssAccessor>PORT</mssAccessor> - <mssAccessorName>eff_dram_density</mssAccessorName> - </attribute> - - <attribute> <id>ATTR_EFF_DRAM_TRCD</id> <!-- P8 MBA level information --> <targetType>TARGET_TYPE_MCS</targetType> @@ -1901,49 +1771,6 @@ </attribute> <attribute> - <id>ATTR_EFF_DRAM_TRFI</id> - <!-- P8 MBA level information --> - <targetType>TARGET_TYPE_MCS</targetType> - <description> - Refresh Interval. - Used in various locations and is computed in mss_eff_cnfg_timing. - Can be overwritten by ODM vendors if done from the PNOR or odm_eff_cnfg. In unit clock. - creator: mss_eff_cnfg_timing - consumer: various - firmware notes: none - </description> - <valueType>uint32</valueType> - <writeable/> - <odmVisable/> - <odmChangeable/> - <array>2</array> - <mssAccessor>PORT</mssAccessor> - <mssAccessorName>eff_dram_trfi</mssAccessorName> - </attribute> - - <attribute> - <id>ATTR_EFF_DRAM_TRFC</id> - <!-- P8 MBA level information --> - <targetType>TARGET_TYPE_MCS</targetType> - <description> - Refresh Recovery Delay. - Used in various locations and is computed in mss_eff_cnfg_timing. - Can be overwritten by ODM vendors if done from the PNOR or odm_eff_cnfg. - In unit clock. - creator: mss_eff_cnfg_timing - consumer: various - firmware notes: none - </description> - <valueType>uint32</valueType> - <writeable/> - <odmVisable/> - <odmChangeable/> - <array>2</array> - <mssAccessor>PORT</mssAccessor> - <mssAccessorName>eff_dram_trfc</mssAccessorName> - </attribute> - - <attribute> <id>ATTR_EFF_DRAM_TWTR</id> <!-- P8 MBA level information --> <targetType>TARGET_TYPE_MCS</targetType> @@ -2173,7 +2000,7 @@ <description> Write Recovery. Used in various locations and is computed in mss_eff_cnfg_timing. - Can be overwritten by ODM vendors if done from the PNOR or odm_eff_cnfg. + Can be overwritten by ODM vendofrs if done from the PNOR or odm_eff_cnfg. Each memory channel will have a value. creator: mss_eff_cnfg_timing consumer: various @@ -3127,20 +2954,6 @@ </attribute> <attribute> - <id>ATTR_EFF_STACK_TYPE</id> - <targetType>TARGET_TYPE_MCS</targetType> - <description>Specifies the DRAM package type.</description> - <valueType>uint8</valueType> - <enum>SDP = 0, DDP_QDP = 1, 3DS = 2</enum> - <writeable/> - <odmVisable/> - <odmChangeable/> - <array> 2 2</array> - <mssAccessor>PORT</mssAccessor> - <mssAccessorName>eff_stack_type</mssAccessorName> - </attribute> - - <attribute> <id>ATTR_EFF_NUM_MASTER_RANKS_PER_DIMM</id> <!-- P8 MBA level information --> <targetType>TARGET_TYPE_MCS</targetType> @@ -3733,29 +3546,6 @@ </attribute> <attribute> - <id>ATTR_EFF_FINE_REFRESH_MODE</id> - <!-- P8 MBA level information --> - <targetType>TARGET_TYPE_MCS</targetType> - <description> - Fine refresh mode. - This is for DDR4 MRS3. - Computed in mss_eff_cnfg. - Each memory channel will have a value. - creator: mss_eff_cnfg - consumer: various - firmware notes: none - </description> - <valueType>uint8</valueType> - <enum>NORMAL = 0, FIXED_2X = 1, FIXED_4X = 2, FLY_2X = 5, FLY_4X = 6</enum> - <writeable/> - <odmVisable/> - <odmChangeable/> - <array>2</array> - <mssAccessor>PORT</mssAccessor> - <mssAccessorName>eff_fine_refresh_mode</mssAccessorName> - </attribute> - - <attribute> <id>ATTR_EFF_CRC_WR_LATENCY</id> <!-- P8 MBA level information --> <targetType>TARGET_TYPE_MCS</targetType> @@ -3824,28 +3614,6 @@ </attribute> <attribute> - <id>ATTR_EFF_TEMP_REF_RANGE</id> - <!-- P8 MBA level information --> - <targetType>TARGET_TYPE_MCS</targetType> - <description> - Temp ref range. This is for DDR4 MRS4. - Computed in mss_eff_cnfg. - Each memory channel will have a value. - creator: mss_eff_cnfg - consumer: various - firmware notes: none - </description> - <valueType>uint8</valueType> - <enum>NORMAL = 0, EXTEND = 1</enum> - <writeable/> - <odmVisable/> - <odmChangeable/> - <array>2</array> - <mssAccessor>PORT</mssAccessor> - <mssAccessorName>eff_temp_ref_range</mssAccessorName> - </attribute> - - <attribute> <id>ATTR_EFF_TEMP_REF_MODE</id> <!-- P8 MBA level information --> <targetType>TARGET_TYPE_MCS</targetType> @@ -4419,7 +4187,7 @@ Additional types maybe defined if new boards have even different DQS swizzle features </description> <valueType>uint8</valueType> - <enum>NORMAL_TYPE_0 = 0, GLACIER_TYPE_1 = 1, ISDIMM_TYPE_2 = 2</enum> + <enum>NORMAL_TYPE_0 = 0, GLACIER_TYPE_1 = 1, ISDIMM_TYPE2 = 2</enum> <platInit/> <odmVisable/> <odmChangeable/> @@ -5390,25 +5158,6 @@ </attribute> <attribute> - <id>ATTR_EFF_DRAM_BANK_GROUPS</id> - <!-- P8 MBA level information --> - <targetType>TARGET_TYPE_MCS</targetType> - <description> - Bank Group Bits. Used in various locations and is evaluated in mss_eff_cnfg. - creator: mss_eff_cnfg - consumer: various - firmware notes: none - </description> - <valueType>uint8</valueType> - <writeable/> - <odmVisable/> - <odmChangeable/> - <array>2 2</array> - <mssAccessor>PORT</mssAccessor> - <mssAccessorName>eff_dram_bank_groups</mssAccessorName> - </attribute> - - <attribute> <id>ATTR_VPD_CEN_MR_LAYOUT_VERSION</id> <targetType>TARGET_TYPE_MCS</targetType> <description> @@ -7058,88 +6807,6 @@ </attribute> <attribute> - <id>ATTR_TIMING_TCKMIN</id> - <targetType>TARGET_TYPE_MCS</targetType> - <description> - Minimum cycle time (tCKmin) in picoseconds. - Decoded using DDR4 SPD byte 18 and byte 125. - Right aligned. Bit 0 is rightmost. - </description> - <valueType>int64</valueType> - <array> 2 2 </array> - <mssAccessor>PORT DIMM</mssAccessor> - <writeable/> - <mssUnits> picoseconds </mssUnits> - <mssAccessorName>spd_timing_tckmin</mssAccessorName> - <platInit/> - </attribute> - - <attribute> - <id>ATTR_TIMING_TCKMAX</id> - <targetType>TARGET_TYPE_MCS</targetType> - <description> - Maximum cycle time (tCKmax) in picoseconds. - Decoded using DDR4 SPD byte 19 and byte 124. - Right aligned. Bit 0 is rightmost. - </description> - <valueType>int64</valueType> - <array> 2 2 </array> - <mssAccessor>PORT DIMM</mssAccessor> - <writeable/> - <mssUnits> picoseconds </mssUnits> - <mssAccessorName>spd_timing_tckmax</mssAccessorName> - <platInit/> - </attribute> - - <attribute> - <id>ATTR_TIMING_TAAMIN</id> - <targetType>TARGET_TYPE_MCS</targetType> - <description> - Minimum CAS Latency Time (tAAmin) in picoseconds. - Decoded using DDR4 SPD byte 24 and byte 123. - Right aligned. Bit 0 is rightmost. - </description> - <valueType>int64</valueType> - <array> 2 2 </array> - <mssAccessor>PORT DIMM</mssAccessor> - <mssUnits> ps </mssUnits> - <writeable/> - <mssAccessorName>spd_timing_taamin</mssAccessorName> - <platInit/> - </attribute> - - <attribute> - <id>ATTR_SPD_MODULE_TYPE</id> - <targetType>TARGET_TYPE_MCS</targetType> - <description> - Module Type. - Located DDR4 SPD byte 3, bits 3-0. - </description> - <valueType>uint8</valueType> - <writeable /> - <array> 2 2 </array> - <mssAccessor>PORT DIMM</mssAccessor> - <mssAccessorName>spd_module_type</mssAccessorName> - <enum>RDIMM = 0x01, UDIMM = 0x02, SO_DIMM=0x03, LRDIMM = 0x0b</enum> - <platInit/> - </attribute> - - <attribute> - <id>ATTR_SPD_DRAM_DEVICE_TYPE</id> - <targetType>TARGET_TYPE_MCS</targetType> - <description> - DRAM Device Type. - Located in DDR3/DDR4 SPD byte 2. - </description> - <valueType>uint8</valueType> - <array> 2 2 </array> - <mssAccessor>PORT DIMM</mssAccessor> - <mssAccessorName>spd_dram_device_type</mssAccessorName> - <enum>DDR3 = 0x0B, DDR4 = 0x0C</enum> - <platInit/> - </attribute> - - <attribute> <id>ATTR_SPD_MODULE_THERMAL_SENSOR</id> <targetType>TARGET_TYPE_MCS</targetType> <description> @@ -7155,50 +6822,6 @@ </attribute> <attribute> - <id>ATTR_SPD_MEDIUM_TIMEBASE</id> - <targetType>TARGET_TYPE_MCS</targetType> - <description> - Defines a value in picoseconds that represents the fundamental timebase - for medium grain timing calculations. This value is used as a multiplier - for formulating subsequent timing parameters. - Located in DDR4 SPD byte 17, bits 3-2. - - mss_eff_config should decode the meaning of byte 17 and convert the - MTB to picoseconds (for DDR4 - 125 picoseconds) - </description> - <valueType>int64</valueType> - <array> 2 2 </array> - <mssAccessor>PORT DIMM</mssAccessor> - <mssAccessorName>spd_medium_timebase</mssAccessorName> - <enum>PS125 = 125</enum> - <writeable/> - <mssUnits> ps </mssUnits> - <platInit/> - </attribute> - - <attribute> - <id>ATTR_SPD_FINE_TIMEBASE</id> - <targetType>TARGET_TYPE_MCS</targetType> - <description> - defines a value in picoseconds that represents the fundamental timebase - for fine grain timing calculations. This value is used as a multiplier - for formulating subsequent timing parameters. - Located in DDR4 SPD byte 17, bits 1-0. - - mss_eff_config should decode the meaning of byte 17 and convert the - FTB to picoseconds (for DDR4 - 1 picosecond) - </description> - <valueType>int64</valueType> - <array> 2 2 </array> - <mssAccessor>PORT DIMM</mssAccessor> - <mssAccessorName>spd_fine_timebase</mssAccessorName> - <enum>PS1 = 1</enum> - <writeable/> - <mssUnits> ps </mssUnits> - <platInit/> - </attribute> - - <attribute> <id>ATTR_SPD_MODULE_NOMINAL_VOLTAGE</id> <targetType>TARGET_TYPE_MCS</targetType> <description> @@ -7299,16 +6922,17 @@ <mssAccessorName>eff_dram_rtt_wr</mssAccessorName> </attribute> -<attribute> - <id>ATTR_VPD_GPO</id> - <targetType>TARGET_TYPE_MCS</targetType> - <description>This value comes from the VPD keyword MT bytes 61 MT(61) for the Logical DIMM - associated with port A. Bytes 125 for port B, 189 for port C and 253 for port D</description> - <valueType>uint8</valueType> - <platInit/> - <odmVisable/> - <array>2</array> - <writeable/> - <mssAccessorName>vpd_gpo</mssAccessorName> -</attribute> + <attribute> + <id>ATTR_VPD_GPO</id> + <targetType>TARGET_TYPE_MCS</targetType> + <description>This value comes from the VPD keyword MT bytes 61 MT(61) for the Logical DIMM + associated with port A. Bytes 125 for port B, 189 for port C and 253 for port D</description> + <valueType>uint8</valueType> + <platInit/> + <odmVisable/> + <array>2</array> + <writeable/> + <mssAccessorName>vpd_gpo</mssAccessorName> + </attribute> + </attributes> |