summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common
diff options
context:
space:
mode:
authorJoe McGill <jmcgill@us.ibm.com>2017-05-01 22:43:03 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-05-05 00:05:25 -0400
commitd8d7ad63306b1aff3c51e0c5f159a2cfc908018d (patch)
treea2061345219b947ca54ba4c163823a6044582c68 /src/usr/targeting/common
parent2d0ea43ba4c6e0baf327b27aa7c8f1ae2e4a7f3c (diff)
downloadtalos-hostboot-d8d7ad63306b1aff3c51e0c5f159a2cfc908018d.tar.gz
talos-hostboot-d8d7ad63306b1aff3c51e0c5f159a2cfc908018d.zip
p9_mss_setup_bars -- customize interleave granularity
create new attribute to encapsulate system-wide interleave granularity, ship default should be 128B (so that the stride between channels in a group is a single cacheline) other enums are supported for logic and performance verification update p9_mss_setup_bars HWP to apply granularity customization only for supported group sizes of 2, 4, and 8 Change-Id: Iadecb9164efbf6c9ce0658f75a0def03cc600f01 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39923 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: SHELTON LEUNG <sleung@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39958 Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common')
-rw-r--r--src/usr/targeting/common/xmltohb/attribute_types.xml34
-rwxr-xr-xsrc/usr/targeting/common/xmltohb/target_types.xml1
2 files changed, 35 insertions, 0 deletions
diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml
index 17fb66c2d..f2083ac0a 100644
--- a/src/usr/targeting/common/xmltohb/attribute_types.xml
+++ b/src/usr/targeting/common/xmltohb/attribute_types.xml
@@ -10081,6 +10081,40 @@ firmware notes: Used as override attribute for pstate procedure
</attribute>
<attribute>
+ <id>MSS_INTERLEAVE_GRANULARITY</id>
+ <description>
+ Determines the stride covered by each granule in an interleaving
+ group. The default stride -- 128B -- is the only value intended for
+ production FW use. All other combinations are for experimental
+ performance evaluation.
+
+ Regardless of this attribute value, groups of size 1, 3, and 6
+ will be forced to 128B stride based on the logic capabilities.
+
+ 128_B = 0x00,
+ 256_B = 0x01,
+ 512_B = 0x02,
+ 1_KB = 0x03,
+ 2_KB = 0x04,
+ 4_KB = 0x05,
+ 8_KB = 0x06,
+ 16_KB = 0x07,
+ 32_KB = 0x08
+ </description>
+ <simpleType>
+ <uint8_t>
+ </uint8_t>
+ </simpleType>
+ <persistency>non-volatile</persistency>
+ <readable/>
+ <writeable/>
+ <hwpfToHbAttrMap>
+ <id>ATTR_MSS_INTERLEAVE_GRANULARITY</id>
+ <macro>DIRECT</macro>
+ </hwpfToHbAttrMap>
+</attribute>
+
+<attribute>
<id>MSS_MBA_ADDR_INTERLEAVE_BIT</id>
<description>sets the Centaur address bits used to interleave addresses between MBA01 and MBA23. valid values are 23 through 32.</description>
<simpleType>
diff --git a/src/usr/targeting/common/xmltohb/target_types.xml b/src/usr/targeting/common/xmltohb/target_types.xml
index 7c41b78d7..c9e23ab12 100755
--- a/src/usr/targeting/common/xmltohb/target_types.xml
+++ b/src/usr/targeting/common/xmltohb/target_types.xml
@@ -841,6 +841,7 @@
<attribute><id>MSS_VOLT_VPP_SLOPE</id></attribute>
<attribute><id>MSS_VOLT_VPP_INTERCEPT</id></attribute>
<attribute><id>MSS_INTERLEAVE_ENABLE</id></attribute>
+ <attribute><id>MSS_INTERLEAVE_GRANULARITY</id></attribute>
<!-- Enable memory voltages -->
<attribute><id>SUPPORTS_DYNAMIC_MEM_VOLT</id></attribute>
OpenPOWER on IntegriCloud