summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors.H42
-rwxr-xr-xsrc/import/chips/p9/procedures/xml/attribute_info/pervasive_attributes.xml24
-rw-r--r--src/import/hwpf/fapi2/xml/attribute_info/hb_temp_defaults.xml8
-rw-r--r--src/usr/targeting/common/xmltohb/attribute_types.xml36
-rwxr-xr-xsrc/usr/targeting/common/xmltohb/target_types.xml2
5 files changed, 112 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors.H b/src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors.H
index cfda1ab5f..553d5e0b7 100644
--- a/src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors.H
+++ b/src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors.H
@@ -28667,6 +28667,48 @@ fapi_try_exit:
return fapi2::current_err;
}
+///
+/// @brief ATTR_SYSTEM_CORECACHE_SKEWADJ_DISABLE getter
+/// @param[out] uint8_t& reference to store the value
+/// @note Generated by gen_accessors.pl generateParameters (SYSTEM)
+/// @return fapi2::ReturnCode - FAPI2_RC_SUCCESS iff get is OK
+/// @note To allow for selective enablement for lab testing To allow skew function to be
+/// enabled/disabled.
+///
+inline fapi2::ReturnCode system_corecache_skewadj_disable(uint8_t& o_value)
+{
+
+ FAPI_TRY( FAPI_ATTR_GET(fapi2::ATTR_SYSTEM_CORECACHE_SKEWADJ_DISABLE, fapi2::Target<fapi2::TARGET_TYPE_SYSTEM>(),
+ o_value) );
+ return fapi2::current_err;
+
+fapi_try_exit:
+ FAPI_ERR("failed accessing ATTR_SYSTEM_CORECACHE_SKEWADJ_DISABLE: 0x%lx (system target)",
+ uint64_t(fapi2::current_err));
+ return fapi2::current_err;
+}
+
+///
+/// @brief ATTR_SYSTEM_CORECACHE_DCADJ_DISABLE getter
+/// @param[out] uint8_t& reference to store the value
+/// @note Generated by gen_accessors.pl generateParameters (SYSTEM)
+/// @return fapi2::ReturnCode - FAPI2_RC_SUCCESS iff get is OK
+/// @note To allow for selective enablement for lab testing To allow dcadj function to be
+/// enabled/disabled.
+///
+inline fapi2::ReturnCode system_corecache_dcadj_disable(uint8_t& o_value)
+{
+
+ FAPI_TRY( FAPI_ATTR_GET(fapi2::ATTR_SYSTEM_CORECACHE_DCADJ_DISABLE, fapi2::Target<fapi2::TARGET_TYPE_SYSTEM>(),
+ o_value) );
+ return fapi2::current_err;
+
+fapi_try_exit:
+ FAPI_ERR("failed accessing ATTR_SYSTEM_CORECACHE_DCADJ_DISABLE: 0x%lx (system target)",
+ uint64_t(fapi2::current_err));
+ return fapi2::current_err;
+}
+
}
diff --git a/src/import/chips/p9/procedures/xml/attribute_info/pervasive_attributes.xml b/src/import/chips/p9/procedures/xml/attribute_info/pervasive_attributes.xml
index 1e2aebdf6..8ca7cc446 100755
--- a/src/import/chips/p9/procedures/xml/attribute_info/pervasive_attributes.xml
+++ b/src/import/chips/p9/procedures/xml/attribute_info/pervasive_attributes.xml
@@ -743,4 +743,28 @@
<writeable/>
</attribute>
+<attribute>
+ <id>ATTR_SYSTEM_CORECACHE_SKEWADJ_DISABLE</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>To allow for selective enablement for lab testing
+ To allow skew function to be enabled/disabled. </description>
+ <valueType>uint8</valueType>
+ <enum>FALSE = 0x0,TRUE = 0x1</enum>
+ <persistRuntime/>
+ <initToZero/>
+ <writeable/>
+</attribute>
+
+<attribute>
+ <id>ATTR_SYSTEM_CORECACHE_DCADJ_DISABLE</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>To allow for selective enablement for lab testing
+ To allow dcadj function to be enabled/disabled. </description>
+ <valueType>uint8</valueType>
+ <enum>FALSE = 0x0,TRUE = 0x1</enum>
+ <persistRuntime/>
+ <initToZero/>
+ <writeable/>
+</attribute>
+
</attributes>
diff --git a/src/import/hwpf/fapi2/xml/attribute_info/hb_temp_defaults.xml b/src/import/hwpf/fapi2/xml/attribute_info/hb_temp_defaults.xml
index 04a2a5907..2cfe10087 100644
--- a/src/import/hwpf/fapi2/xml/attribute_info/hb_temp_defaults.xml
+++ b/src/import/hwpf/fapi2/xml/attribute_info/hb_temp_defaults.xml
@@ -325,6 +325,14 @@
<id>ATTR_IO_O_MFG_MIN_EYE_WIDTH</id>
<default>0x00</default>
</attribute>
+ <attribute>
+ <id>ATTR_SYSTEM_CORECACHE_SKEWADJ_DISABLE</id>
+ <default>0x0</default>
+ </attribute>
+ <attribute>
+ <id>ATTR_SYSTEM_CORECACHE_DCADJ_DISABLE</id>
+ <default>0x0</default>
+ </attribute>
<!-- =====================================================================
End of temporary definitions
diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml
index 682d49fbd..f4438c516 100644
--- a/src/usr/targeting/common/xmltohb/attribute_types.xml
+++ b/src/usr/targeting/common/xmltohb/attribute_types.xml
@@ -34901,4 +34901,40 @@ Measured in GB</description>
</hwpfToHbAttrMap>
</attribute>
+<attribute>
+ <id>SYSTEM_CORECACHE_SKEWADJ_DISABLE</id>
+ <description>
+ To allow for selective enablement for lab testing
+ To allow skew function to be enabled/disabled.
+ </description>
+ <simpleType>
+ <uint8_t></uint8_t>
+ </simpleType>
+ <persistency>volatile-zeroed</persistency>
+ <readable/>
+ <writeable/>
+ <hwpfToHbAttrMap>
+ <id>ATTR_SYSTEM_CORECACHE_SKEWADJ_DISABLE</id>
+ <macro>DIRECT</macro>
+ </hwpfToHbAttrMap>
+</attribute>
+
+<attribute>
+ <id>SYSTEM_CORECACHE_DCADJ_DISABLE</id>
+ <description>
+ To allow for selective enablement for lab testing
+ To allow dcadj function to be enabled/disabled.
+ </description>
+ <simpleType>
+ <uint8_t></uint8_t>
+ </simpleType>
+ <persistency>volatile-zeroed</persistency>
+ <readable/>
+ <writeable/>
+ <hwpfToHbAttrMap>
+ <id>ATTR_SYSTEM_CORECACHE_DCADJ_DISABLE</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 9b54a8951..52051199a 100755
--- a/src/usr/targeting/common/xmltohb/target_types.xml
+++ b/src/usr/targeting/common/xmltohb/target_types.xml
@@ -961,6 +961,8 @@
<attribute><id>PGPE_HCODE_FUNCTION_ENABLE</id></attribute>
<attribute><id>PERF_24x7_INVOCATION_TIME_MS</id></attribute>
<attribute><id>AUX_FUNC_INVOCATION_TIME_MS</id></attribute>
+ <attribute><id>SYSTEM_CORECACHE_SKEWADJ_DISABLE</id></attribute>
+ <attribute><id>SYSTEM_CORECACHE_DCADJ_DISABLE</id></attribute>
</targetType>
<!-- enc-node-power9 -->
OpenPOWER on IntegriCloud