summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/xml/attribute_info/memory_mrw_attributes.xml
diff options
context:
space:
mode:
authorStephen Glancy <sglancy@us.ibm.com>2018-01-30 14:34:40 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-02-06 23:38:29 -0500
commit9aee6dc5b82ad828006ef12c4742b98a3700b7ba (patch)
tree98938385c08a4b9154955723e8d6f13d3c22f99a /src/import/chips/p9/procedures/xml/attribute_info/memory_mrw_attributes.xml
parent862087b9cf1afa120158f97be253ed5b5b5be214 (diff)
downloadtalos-hostboot-9aee6dc5b82ad828006ef12c4742b98a3700b7ba.tar.gz
talos-hostboot-9aee6dc5b82ad828006ef12c4742b98a3700b7ba.zip
Adds plug rule for NVDIMM in specific DIMM slots
NVDIMMs can only be plugged into specific slots on certain systems. This code adds in plug rules to ensure that NVDIMM are only plugged into slots that can support them. Change-Id: Ie54e46bbdf09236c8d6a431dcc41e19af54b9b34 RTC:186541 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52946 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52965 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/xml/attribute_info/memory_mrw_attributes.xml')
-rwxr-xr-xsrc/import/chips/p9/procedures/xml/attribute_info/memory_mrw_attributes.xml20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/xml/attribute_info/memory_mrw_attributes.xml b/src/import/chips/p9/procedures/xml/attribute_info/memory_mrw_attributes.xml
index 163cb8d54..6b4ff1a28 100755
--- a/src/import/chips/p9/procedures/xml/attribute_info/memory_mrw_attributes.xml
+++ b/src/import/chips/p9/procedures/xml/attribute_info/memory_mrw_attributes.xml
@@ -5,7 +5,7 @@
<!-- -->
<!-- OpenPOWER HostBoot Project -->
<!-- -->
-<!-- Contributors Listed Below - COPYRIGHT 2016,2017 -->
+<!-- Contributors Listed Below - COPYRIGHT 2016,2018 -->
<!-- [+] International Business Machines Corp. -->
<!-- -->
<!-- -->
@@ -630,4 +630,22 @@
<enum> ENABLE = 0, DISABLE = 1 </enum>
<mssAccessorName>mrw_memdiags_bcmode</mssAccessorName>
</attribute>
+
+ <attribute>
+ <id>ATTR_MSS_MRW_NVDIMM_PLUG_RULES</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ A bitmap containing the plug rules for NVDIMM.
+ 1 if a DIMM supports an NVDIMM being plugged in, 0 if it does not
+ DIMM slot 0 is the left most bit
+ The index to the bitmap is the position of the DIMM target
+ As such, a bitmap of 0b10010000, would allow NVDIMM plugged into DIMM0 and DIMM3
+ Note: this attribute is a 64 bit number to account for 16 DIMM per processor if there is ever a 4 processor system
+ </description>
+ <valueType>uint64</valueType>
+ <platInit/>
+ <default> 0 </default>
+ <enum> NO_NVDIMM = 0, NVDIMM_CAPABLE = 1 </enum>
+ <mssAccessorName>mrw_nvdimm_plug_rules</mssAccessorName>
+ </attribute>
</attributes>
OpenPOWER on IntegriCloud