summaryrefslogtreecommitdiffstats
path: root/src/import/generic
diff options
context:
space:
mode:
authorAlvin Wang <wangat@tw.ibm.com>2019-05-24 04:11:23 -0500
committerChristian R. Geddes <crgeddes@us.ibm.com>2019-06-13 09:35:39 -0500
commitdbba2f9d8fe31f408c905e9df49f040fc1949218 (patch)
tree36a127594b216f49cea9934eb7002138f3919f59 /src/import/generic
parent9192b12a33dc07d4a4f3d88c323ac373dd8f6367 (diff)
downloadtalos-hostboot-dbba2f9d8fe31f408c905e9df49f040fc1949218.tar.gz
talos-hostboot-dbba2f9d8fe31f408c905e9df49f040fc1949218.zip
Add OMI_EDPL_DISABLE attribute
Change-Id: I75de2f084824c94eb3f70cc7c0898a8a87c1bf90 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77826 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77834 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/generic')
-rw-r--r--src/import/generic/memory/lib/mss_generic_attribute_getters.H23
-rw-r--r--src/import/generic/procedures/xml/attribute_info/generic_memory_attributes.xml16
2 files changed, 39 insertions, 0 deletions
diff --git a/src/import/generic/memory/lib/mss_generic_attribute_getters.H b/src/import/generic/memory/lib/mss_generic_attribute_getters.H
index 97fa34867..fd953e84e 100644
--- a/src/import/generic/memory/lib/mss_generic_attribute_getters.H
+++ b/src/import/generic/memory/lib/mss_generic_attribute_getters.H
@@ -987,6 +987,29 @@ fapi_try_exit:
///
+/// @brief ATTR_MSS_OMI_EDPL_DISABLE getter
+/// @param[out] uint8_t& reference to store the value
+/// @note Generated by gen_accessors.pl generate_other_attr_params
+/// @return fapi2::ReturnCode - FAPI2_RC_SUCCESS iff get is OK
+/// @note EDPL (Error Detection Per Lane) is a feature in the DL that adds some additional
+/// checks to the traffic going across the OpenCAPI link in order to better track which
+/// lanes are having issues. Note: EDPL must be set the same on both sides of the link.
+/// This attribute affects both the proc/mc side and the OCMB side.
+///
+inline fapi2::ReturnCode get_mss_omi_edpl_disable(uint8_t& o_value)
+{
+
+ FAPI_TRY( FAPI_ATTR_GET(fapi2::ATTR_MSS_OMI_EDPL_DISABLE, fapi2::Target<fapi2::TARGET_TYPE_SYSTEM>(), o_value) );
+ return fapi2::current_err;
+
+fapi_try_exit:
+ FAPI_ERR("failed getting ATTR_MSS_OMI_EDPL_DISABLE: 0x%lx",
+ uint64_t(fapi2::current_err));
+ return fapi2::current_err;
+}
+
+
+///
/// @brief ATTR_MEM_EFF_DRAM_GEN getter
/// @param[in] const ref to the TARGET_TYPE_DIMM
/// @param[out] uint8_t& reference to store the value
diff --git a/src/import/generic/procedures/xml/attribute_info/generic_memory_attributes.xml b/src/import/generic/procedures/xml/attribute_info/generic_memory_attributes.xml
index 48c351b5f..0bdae9438 100644
--- a/src/import/generic/procedures/xml/attribute_info/generic_memory_attributes.xml
+++ b/src/import/generic/procedures/xml/attribute_info/generic_memory_attributes.xml
@@ -388,4 +388,20 @@
<mssAccessorName>dimm_type_metadata</mssAccessorName>
</attribute>
+ <attribute>
+ <id>ATTR_MSS_OMI_EDPL_DISABLE</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ EDPL (Error Detection Per Lane) is a feature in the DL that adds some additional checks to
+ the traffic going across the OpenCAPI link in order to better track which lanes are having issues.
+ Note: EDPL must be set the same on both sides of the link. This attribute affects both the proc/mc
+ side and the OCMB side.
+ </description>
+ <valueType>uint8</valueType>
+ <enum>FALSE = 0, TRUE = 1</enum>
+ <platInit/>
+ <initToZero/>
+ <mssAccessorName>mss_omi_edpl_disable</mssAccessorName>
+ </attribute>
+
</attributes>
OpenPOWER on IntegriCloud