From 9aee6dc5b82ad828006ef12c4742b98a3700b7ba Mon Sep 17 00:00:00 2001 From: Stephen Glancy Date: Tue, 30 Jan 2018 14:34:40 -0600 Subject: 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 Reviewed-by: Louis Stermole Reviewed-by: ANDRE A. MARIN Tested-by: Jenkins Server Tested-by: HWSV CI Tested-by: Hostboot CI Reviewed-by: Jennifer A. Stofer Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52965 Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Daniel M. Crowell --- .../xml/attribute_info/memory_mrw_attributes.xml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'src/import/chips/p9/procedures/xml/attribute_info/memory_mrw_attributes.xml') 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 @@ - + @@ -630,4 +630,22 @@ ENABLE = 0, DISABLE = 1 mrw_memdiags_bcmode + + + ATTR_MSS_MRW_NVDIMM_PLUG_RULES + TARGET_TYPE_SYSTEM + + 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 + + uint64 + + 0 + NO_NVDIMM = 0, NVDIMM_CAPABLE = 1 + mrw_nvdimm_plug_rules + -- cgit v1.2.1