summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcrgeddes <crgeddes@us.ibm.com>2016-05-13 15:27:51 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2016-05-18 09:18:12 -0400
commitd2dbcfe63f97241f82cfb08a98638a687227d218 (patch)
treea147cf7c7fc9fc298ebdcc8c09145c7c0eb44218
parent72d9e40f3eb6ae54ee68689cfba9af27a8b2c2db (diff)
downloadtalos-hostboot-d2dbcfe63f97241f82cfb08a98638a687227d218.tar.gz
talos-hostboot-d2dbcfe63f97241f82cfb08a98638a687227d218.zip
Memory Attribute Updates
Updates were made on the EKB side for moving some attributes between files, updating w/r permissions, fixing ID's, and updating whether or not the platform is responsible for initialized the default value for an attr. Change-Id: Ibe5e84617e5c0aa10695495cb220f4f172935cb0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24549 Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
-rw-r--r--src/usr/targeting/common/xmltohb/attribute_types.xml190
-rwxr-xr-xsrc/usr/targeting/common/xmltohb/target_types.xml40
2 files changed, 194 insertions, 36 deletions
diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml
index dcb1e5d74..c5bd60fb9 100644
--- a/src/usr/targeting/common/xmltohb/attribute_types.xml
+++ b/src/usr/targeting/common/xmltohb/attribute_types.xml
@@ -8596,8 +8596,8 @@ DEPRECATED!!!!
firmware notes: none
</description>
<simpleType>
- <uint8_t>
- </uint8_t>
+ <uint16_t>
+ </uint16_t>
<array> 2 </array>
</simpleType>
<persistency>volatile-zeroed</persistency>
@@ -12529,6 +12529,30 @@ Measured in GB</description>
</hwpfToHbAttrMap>
</attribute>
+
+<attribute>
+ <id>EFF_TEMP_REFRESH_MODE</id>
+ <description>
+ Temp controlled ref mode. 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>
+ <simpleType>
+ <uint8_t></uint8_t>
+ <array>2</array>
+ </simpleType>
+ <persistency>volatile-zeroed</persistency>
+ <readable/>
+ <writeable/>
+ <hwpfToHbAttrMap>
+ <id>ATTR_EFF_TEMP_REFRESH_MODE</id>
+ <macro>DIRECT</macro>
+ </hwpfToHbAttrMap>
+</attribute>
+
<attribute>
<id>EFF_INT_VREF_MON</id>
<description>
@@ -12553,6 +12577,29 @@ Measured in GB</description>
</attribute>
<attribute>
+ <id>EFF_INTERNAL_VREF_MONITOR</id>
+ <description>
+ Internal Vref Monitor.
+ 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>
+ <simpleType>
+ <uint8_t></uint8_t>
+ </simpleType>
+ <persistency>volatile-zeroed</persistency>
+ <readable/>
+ <writeable/>
+ <hwpfToHbAttrMap>
+ <id>ATTR_EFF_INTERNAL_VREF_MONITOR</id>
+ <macro>DIRECT</macro>
+ </hwpfToHbAttrMap>
+</attribute>
+
+<attribute>
<id>EFF_CS_CMD_LATENCY</id>
<description>
CS to CMD/ADDR Latency.
@@ -12883,11 +12930,34 @@ Measured in GB</description>
<readable/>
<writeable/>
<hwpfToHbAttrMap>
+ <id>ATTR_EFF_VREF_DQ_TRAIN_VALUE</id>
+ <macro>DIRECT</macro>
+ </hwpfToHbAttrMap>
+</attribute>
+
+<attribute>
+ <id>VREF_DQ_TRAIN_VALUE</id>
+ <description>
+ vrefdq_train value. This is for DDR4 MRS6.
+ Computed in mss_eff_cnfg. Each memory channel will have a value.
+ Creator: mss_eff_cnfg
+ Consumer:various
+ Firmware notes: none
+ </description>
+ <simpleType>
+ <uint8_t></uint8_t>
+ <array>2,2,4</array>
+ </simpleType>
+ <persistency>volatile-zeroed</persistency>
+ <readable/>
+ <writeable/>
+ <hwpfToHbAttrMap>
<id>ATTR_VREF_DQ_TRAIN_VALUE</id>
<macro>DIRECT</macro>
</hwpfToHbAttrMap>
</attribute>
+
<attribute>
<id>EFF_VREF_DQ_TRAIN_RANGE</id>
<description>
@@ -12905,6 +12975,28 @@ Measured in GB</description>
<readable/>
<writeable/>
<hwpfToHbAttrMap>
+ <id>ATTR_EFF_VREF_DQ_TRAIN_RANGE</id>
+ <macro>DIRECT</macro>
+ </hwpfToHbAttrMap>
+</attribute>
+
+<attribute>
+ <id>VREF_DQ_TRAIN_RANGE</id>
+ <description>
+ vrefdq_train range. This is for DDR4 MRS6.
+ Computed in mss_eff_cnfg. Each memory channel will have a value.
+ Creator: mss_eff_cnfg
+ Consumer:various
+ Firmware notes: none
+ </description>
+ <simpleType>
+ <uint8_t></uint8_t>
+ <array>2,2,4</array>
+ </simpleType>
+ <persistency>volatile-zeroed</persistency>
+ <readable/>
+ <writeable/>
+ <hwpfToHbAttrMap>
<id>ATTR_VREF_DQ_TRAIN_RANGE</id>
<macro>DIRECT</macro>
</hwpfToHbAttrMap>
@@ -12927,6 +13019,28 @@ Measured in GB</description>
<readable/>
<writeable/>
<hwpfToHbAttrMap>
+ <id>ATTR_EFF_VREF_DQ_TRAIN_ENABLE</id>
+ <macro>DIRECT</macro>
+ </hwpfToHbAttrMap>
+</attribute>
+
+<attribute>
+ <id>VREF_DQ_TRAIN_ENABLE</id>
+ <description>
+ vrefdq_train enable. This is for DDR4 MRS6.
+ Computed in mss_eff_cnfg. Each memory channel will have a value.
+ Creator: mss_eff_cnfg
+ Consumer:various
+ Firmware notes: none
+ </description>
+ <simpleType>
+ <uint8_t></uint8_t>
+ <array>2,2,4</array>
+ </simpleType>
+ <persistency>volatile-zeroed</persistency>
+ <readable/>
+ <writeable/>
+ <hwpfToHbAttrMap>
<id>ATTR_VREF_DQ_TRAIN_ENABLE</id>
<macro>DIRECT</macro>
</hwpfToHbAttrMap>
@@ -15973,6 +16087,7 @@ DEPRECATED!!!!
</simpleType>
<persistency>volatile-zeroed</persistency>
<readable/>
+ <writeable/>
<hwpfToHbAttrMap>
<id>ATTR_MSS_VOLT_OVERRIDE</id>
<macro>DIRECT</macro>
@@ -16009,8 +16124,9 @@ DEPRECATED!!!!
<default>0</default>
</uint8_t>
</simpleType>
- <persistency>non-volatile</persistency>
+ <persistency>volatile-zeroed</persistency>
<readable/>
+ <writeable/>
<hwpfToHbAttrMap>
<id>ATTR_MSS_VDDR_OVERIDE_SPD</id>
<macro>DIRECT</macro>
@@ -25460,6 +25576,26 @@ DEPRECATED!!!!
</hwpfToHbAttrMap>
</attribute>
+
+<attribute>
+ <id>MRW_TEMP_REFRESH_RANGE</id>
+ <description>
+ Temp ref range.
+ Should be defaulted to extended range.
+ This is for DDR4 MRS4.
+ </description>
+ <simpleType>
+ <uint8_t>
+ </uint8_t>
+ </simpleType>
+ <persistency>non-volatile</persistency>
+ <readable/>
+ <hwpfToHbAttrMap>
+ <id>ATTR_MRW_TEMP_REFRESH_RANGE</id>
+ <macro>DIRECT</macro>
+ </hwpfToHbAttrMap>
+</attribute>
+
<attribute>
<id>VPD_MR_0_VERSION_LAYOUT</id>
<description>MR Keyword Layout Version Number. Increases when attributes are added, removed, or redefined. Does not reset.</description>
@@ -26765,4 +26901,52 @@ DEPRECATED!!!!
</hwpfToHbAttrMap>
</attribute>
+<attribute>
+ <id>MRW_DRAMINIT_RESET_DISABLE</id>
+ <description>A disable switch for resetting the phy delay values at the beginning of calling mss_draminit_training.</description>
+ <simpleType>
+ <uint8_t></uint8_t>
+ </simpleType>
+ <persistency>non-volatile</persistency>
+ <readable/>
+ <hwpfToHbAttrMap>
+ <id>ATTR_MRW_DRAMINIT_RESET_DISABLE</id>
+ <macro>DIRECT</macro>
+ </hwpfToHbAttrMap>
+</attribute>
+
+<attribute>
+ <id>MRW_PREFETCH_ENABLE</id>
+ <description>Value of on or off. Determines if prefetching enabled or not. See chapter 7 of the Centaur Workbook.</description>
+ <simpleType>
+ <uint8_t></uint8_t>
+ </simpleType>
+ <persistency>non-volatile</persistency>
+ <readable/>
+ <hwpfToHbAttrMap>
+ <id>ATTR_MRW_PREFETCH_ENABLE</id>
+ <macro>DIRECT</macro>
+ </hwpfToHbAttrMap>
+</attribute>
+
+
+<attribute>
+ <id>MRW_CLEANER_ENABLE</id>
+ <description>
+ Value of on or off.
+ Determines if the cleaner of the L4 cache (write modified entries to memory on idle cycles)
+ enabled or not. See chapter 7 of the Centaur Workbook.
+ </description>
+ <simpleType>
+ <uint8_t></uint8_t>
+ </simpleType>
+ <persistency>non-volatile</persistency>
+ <readable/>
+ <hwpfToHbAttrMap>
+ <id>ATTR_MRW_CLEANER_ENABLE</id>
+ <macro>DIRECT</macro>
+ </hwpfToHbAttrMap>
+</attribute>
+
+
</attributes>
diff --git a/src/usr/targeting/common/xmltohb/target_types.xml b/src/usr/targeting/common/xmltohb/target_types.xml
index 97ad74499..f780de2de 100755
--- a/src/usr/targeting/common/xmltohb/target_types.xml
+++ b/src/usr/targeting/common/xmltohb/target_types.xml
@@ -109,8 +109,6 @@
<attribute><id>HB_HRMOR_NODAL_BASE</id></attribute>
<attribute><id>MSS_MBA_ADDR_INTERLEAVE_BIT</id></attribute>
<attribute><id>MSS_MBA_CACHELINE_INTERLEAVE_MODE</id></attribute>
- <attribute><id>MSS_PREFETCH_ENABLE</id></attribute>
- <attribute><id>MSS_CLEANER_ENABLE</id></attribute>
<attribute><id>MIRROR_BASE_ADDRESS</id></attribute>
<attribute><id>PAYLOAD_IN_MIRROR_MEM</id></attribute>
<attribute><id>FREQ_PCIE</id></attribute>
@@ -1357,7 +1355,7 @@
<attribute><id>EFF_MAX_POWERDOWN_MODE</id></attribute>
<attribute><id>EFF_TEMP_REF_RANGE</id></attribute>
<attribute><id>EFF_TEMP_REF_MODE</id></attribute>
- <attribute><id>EFF_INT_VREF_MON</id></attribute>
+ <attribute><id>EFF_INTERNAL_VREF_MONITOR</id></attribute>
<attribute><id>EFF_CS_CMD_LATENCY</id></attribute>
<attribute><id>EFF_SELF_REF_ABORT</id></attribute>
<attribute><id>EFF_RD_PREAMBLE_TRAIN</id></attribute>
@@ -2067,11 +2065,10 @@
<attribute><id>HDAT_HBRT_SECTION_SIZE</id></attribute>
<attribute><id>PIB_I2C_REFCLOCK</id></attribute>
<attribute><id>PIB_I2C_NEST_PLL</id></attribute>
- <attribute><id>MSS_PREFETCH_ENABLE</id></attribute>
- <attribute><id>MSS_CLEANER_ENABLE</id></attribute>
- <attribute><id>MSS_DRAMINIT_RESET_DISABLE</id></attribute>
+ <attribute><id>MRW_PREFETCH_ENABLE</id></attribute>
+ <attribute><id>MRW_CLEANER_ENABLE</id></attribute>
+ <attribute><id>MRW_DRAMINIT_RESET_DISABLE</id></attribute>
<attribute><id>MSS_VDDR_OVERIDE_SPD</id></attribute>
- <attribute><id>ISDIMM_POWER_CURVE_ALGORITHM_VERSION</id></attribute>
<attribute><id>MRW_SAFEMODE_MEM_THROTTLED_N_COMMANDS_PER_PORT</id></attribute>
<attribute><id>MRW_SAFEMODE_MEM_THROTTLED_N_COMMANDS_PER_SLOT</id></attribute>
<attribute><id>MRW_THERMAL_MEMORY_POWER_LIMIT</id></attribute>
@@ -2089,7 +2086,7 @@
<attribute><id>MRW_VPP_OFFSET_DISABLE</id></attribute>
<attribute><id>MRW_VDDR_OFFSET_DISABLE</id></attribute>
<attribute><id>MRW_FINE_REFRESH_MODE</id></attribute>
- <attribute><id>MRW_TEMP_REF_RANGE</id></attribute>
+ <attribute><id>MRW_TEMP_REFRESH_RANGE</id></attribute>
<attribute><id>VPD_MR_0_VERSION_LAYOUT</id></attribute>
<attribute><id>VPD_MR_1_VERSION_DATA</id></attribute>
<attribute><id>VPD_MR_2_SIGNATURE_FREQ_DROP</id></attribute>
@@ -2341,29 +2338,11 @@
<attribute><id>EI_BUS_TX_MSBSWAP</id></attribute>
<attribute><id>SCRATCH_UINT8_1</id><default>5</default></attribute>
<attribute><id>PARENT_PERVASIVE</id></attribute>
- <attribute><id>MSS_ALLOW_SINGLE_PORT</id></attribute>
- <attribute><id>MSS_DQS_SWIZZLE_TYPE</id></attribute>
<attribute><id>MSS_DIMM_MFG_ID_CODE</id></attribute>
<attribute><id>EFF_NUM_RANKS_PER_DIMM</id></attribute>
<attribute><id>EFF_CUSTOM_DIMM</id></attribute>
<attribute><id>EFF_DRAM_WIDTH</id></attribute>
<attribute><id>EFF_DRAM_RANK_MIX</id></attribute>
- <attribute><id>EFF_PRIMARY_RANK_GROUP0</id></attribute>
- <attribute><id>EFF_PRIMARY_RANK_GROUP1</id></attribute>
- <attribute><id>EFF_PRIMARY_RANK_GROUP2</id></attribute>
- <attribute><id>EFF_PRIMARY_RANK_GROUP3</id></attribute>
- <attribute><id>EFF_SECONDARY_RANK_GROUP0</id></attribute>
- <attribute><id>EFF_SECONDARY_RANK_GROUP1</id></attribute>
- <attribute><id>EFF_SECONDARY_RANK_GROUP2</id></attribute>
- <attribute><id>EFF_SECONDARY_RANK_GROUP3</id></attribute>
- <attribute><id>EFF_TERTIARY_RANK_GROUP0</id></attribute>
- <attribute><id>EFF_TERTIARY_RANK_GROUP1</id></attribute>
- <attribute><id>EFF_TERTIARY_RANK_GROUP2</id></attribute>
- <attribute><id>EFF_TERTIARY_RANK_GROUP3</id></attribute>
- <attribute><id>EFF_QUATERNARY_RANK_GROUP0</id></attribute>
- <attribute><id>EFF_QUATERNARY_RANK_GROUP1</id></attribute>
- <attribute><id>EFF_QUATERNARY_RANK_GROUP2</id></attribute>
- <attribute><id>EFF_QUATERNARY_RANK_GROUP3</id></attribute>
<attribute><id>EFF_DIMM_SPARE</id></attribute>
<attribute><id>EFF_DRAM_WR_VREF</id></attribute>
<attribute><id>EFF_DRAM_WR_VREF_SCHMOO</id></attribute>
@@ -2444,8 +2423,6 @@
<attribute><id>MSS_RUNTIME_MEM_THROTTLED_N_COMMANDS_PER_PORT</id></attribute>
<attribute><id>MSS_RUNTIME_MEM_M_DRAM_CLOCKS</id></attribute>
<attribute><id>MSS_RUNTIME_MEM_THROTTLED_N_COMMANDS_PER_SLOT</id></attribute>
- <attribute><id>MSS_PREFETCH_ENABLE</id></attribute>
- <attribute><id>MSS_CLEANER_ENABLE</id></attribute>
<attribute><id>MSS_EFF_DIMM_FUNCTIONAL_VECTOR</id></attribute>
<attribute><id>EFF_DRAM_LPASR</id></attribute>
<attribute><id>EFF_MPR_PAGE</id></attribute>
@@ -2455,8 +2432,8 @@
<attribute><id>EFF_CRC_WR_LATENCY</id></attribute>
<attribute><id>EFF_MPR_RD_FORMAT</id></attribute>
<attribute><id>EFF_MAX_POWERDOWN_MODE</id></attribute>
- <attribute><id>EFF_TEMP_REF_MODE</id></attribute>
- <attribute><id>EFF_INT_VREF_MON</id></attribute>
+ <attribute><id>EFF_TEMP_REFRESH_MODE</id></attribute>
+ <attribute><id>EFF_INTERNAL_VREF_MONITOR</id></attribute>
<attribute><id>EFF_CS_CMD_LATENCY</id></attribute>
<attribute><id>EFF_SELF_REF_ABORT</id></attribute>
<attribute><id>EFF_RD_PREAMBLE_TRAIN</id></attribute>
@@ -2476,11 +2453,8 @@
<attribute><id>EFF_VREF_DQ_TRAIN_ENABLE</id></attribute>
<attribute><id>EFF_WRITE_CRC</id></attribute>
<attribute><id>MSS_CAL_STEP_ENABLE</id></attribute>
- <attribute><id>MSS_DRAMINIT_RESET_DISABLE</id></attribute>
<attribute><id>MSS_SLEW_RATE_DATA</id></attribute>
<attribute><id>MSS_SLEW_RATE_ADR</id></attribute>
- <attribute><id>MSS_ALLOW_SINGLE_PORT</id></attribute>
- <attribute><id>MSS_DQS_SWIZZLE_TYPE</id></attribute>
<attribute><id>SCHMOO_MULTIPLE_SETUP_CALL</id></attribute>
<attribute><id>EFF_BUFFER_LATENCY</id></attribute>
<attribute><id>EFF_LRDIMM_WORD_X</id></attribute>
OpenPOWER on IntegriCloud