diff options
author | Bilicon Patil <bilpatil@in.ibm.com> | 2013-02-19 03:26:37 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-03-13 10:20:06 -0500 |
commit | a545a8be9355dff75dad01ca4c89b7b2397366e4 (patch) | |
tree | bd905f973909b8d044dcd7f1428ccfc60a050e78 /src/usr/targeting/common | |
parent | 436bc524c3cada8c1c5c9c64e4c173a77f195410 (diff) | |
download | talos-hostboot-a545a8be9355dff75dad01ca4c89b7b2397366e4.tar.gz talos-hostboot-a545a8be9355dff75dad01ca4c89b7b2397366e4.zip |
eRepair thresholds from MRW as FAPI attributes
Change-Id: I0361728994dd6c038c01406189d1c1efa83063b1
RTC: 50284
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3246
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Tested-by: Jenkins Server
Diffstat (limited to 'src/usr/targeting/common')
-rwxr-xr-x | src/usr/targeting/common/genHwsvMrwXml.pl | 14 | ||||
-rw-r--r-- | src/usr/targeting/common/xmltohb/attribute_types.xml | 122 | ||||
-rw-r--r-- | src/usr/targeting/common/xmltohb/common.mk | 3 | ||||
-rw-r--r-- | src/usr/targeting/common/xmltohb/target_types.xml | 8 |
4 files changed, 145 insertions, 2 deletions
diff --git a/src/usr/targeting/common/genHwsvMrwXml.pl b/src/usr/targeting/common/genHwsvMrwXml.pl index d82cd8766..de0776c3e 100755 --- a/src/usr/targeting/common/genHwsvMrwXml.pl +++ b/src/usr/targeting/common/genHwsvMrwXml.pl @@ -157,7 +157,19 @@ foreach my $i (@{$SystemAttrs->{'required-policy-settings'}}) "PROC_FABRIC_PUMP_MODE", $i->{proc_fabric_pump_mode}, "PROC_X_BUS_WIDTH", - $i->{proc_x_bus_width}]; + $i->{proc_x_bus_width}, + "X_EREPAIR_THRESHOLD_FIELD", + $i->{"x-erepair-threshold-field"}, + "A_EREPAIR_THRESHOLD_FIELD", + $i->{"a-erepair-threshold-field"}, + "DMI_EREPAIR_THRESHOLD_FIELD", + $i->{"dmi-erepair-threshold-field"}, + "X_EREPAIR_THRESHOLD_MNFG", + $i->{"x-erepair-threshold-mnfg"}, + "A_EREPAIR_THRESHOLD_MNFG", + $i->{"a-erepair-threshold-mnfg"}, + "DMI_EREPAIR_THRESHOLD_MNFG", + $i->{"dmi-erepair-threshold-mnfg"},]; } open (FH, "<$mrwdir/${sysname}-proc-pcie-settings.xml") || diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml index 9dc1e6194..69f832135 100644 --- a/src/usr/targeting/common/xmltohb/attribute_types.xml +++ b/src/usr/targeting/common/xmltohb/attribute_types.xml @@ -10670,4 +10670,126 @@ firmware notes: Platforms should initialize this attribute to AUTO (0)</descript </hwpfToHbAttrMap> </attribute> +<!-- === Attributes supporting erepair_thresholds.xml HWPF Attributes === --> +<attribute> + <id>X_EREPAIR_THRESHOLD_FIELD</id> + <description> + This attribute represents the eRepair threshold value of X-Bus used + in the field. + creator: platform (generated based on MRW data) + See defintion in erepair_thresholds.xml for more information. + </description> + <simpleType> + <uint8_t> + </uint8_t> + </simpleType> + <persistency>non-volatile</persistency> + <readable/> + <hwpfToHbAttrMap> + <id>ATTR_X_EREPAIR_THRESHOLD_FIELD</id> + <macro>DIRECT</macro> + </hwpfToHbAttrMap> +</attribute> + +<attribute> + <id>A_EREPAIR_THRESHOLD_FIELD</id> + <description> + This attribute represents the eRepair threshold value of A-Bus used + in the field. + creator: platform (generated based on MRW data) + See defintion in erepair_thresholds.xml for more information. + </description> + <simpleType> + <uint8_t> + </uint8_t> + </simpleType> + <persistency>non-volatile</persistency> + <readable/> + <hwpfToHbAttrMap> + <id>ATTR_A_EREPAIR_THRESHOLD_FIELD</id> + <macro>DIRECT</macro> + </hwpfToHbAttrMap> +</attribute> + +<attribute> + <id>DMI_EREPAIR_THRESHOLD_FIELD</id> + <description> + This attribute represents the eRepair threshold value of DMI-Bus used + in the field. + creator: platform (generated based on MRW data) + See defintion in erepair_thresholds.xml for more information. + </description> + <simpleType> + <uint8_t> + </uint8_t> + </simpleType> + <persistency>non-volatile</persistency> + <readable/> + <hwpfToHbAttrMap> + <id>ATTR_DMI_EREPAIR_THRESHOLD_FIELD</id> + <macro>DIRECT</macro> + </hwpfToHbAttrMap> +</attribute> + +<attribute> + <id>X_EREPAIR_THRESHOLD_MNFG</id> + <description> + This attribute represents the eRepair threshold value of X-Bus used + by Manufacturing. + creator: platform (generated based on MRW data) + See defintion in erepair_thresholds.xml for more information. + </description> + <simpleType> + <uint8_t> + </uint8_t> + </simpleType> + <persistency>non-volatile</persistency> + <readable/> + <hwpfToHbAttrMap> + <id>ATTR_X_EREPAIR_THRESHOLD_MNFG</id> + <macro>DIRECT</macro> + </hwpfToHbAttrMap> +</attribute> + +<attribute> + <id>A_EREPAIR_THRESHOLD_MNFG</id> + <description> + This attribute represents the eRepair threshold value of A-Bus used + by Manufacturing. + creator: platform (generated based on MRW data) + See defintion in erepair_thresholds.xml for more information. + </description> + <simpleType> + <uint8_t> + </uint8_t> + </simpleType> + <persistency>non-volatile</persistency> + <readable/> + <hwpfToHbAttrMap> + <id>ATTR_A_EREPAIR_THRESHOLD_MNFG</id> + <macro>DIRECT</macro> + </hwpfToHbAttrMap> +</attribute> + +<attribute> + <id>DMI_EREPAIR_THRESHOLD_MNFG</id> + <description> + This attribute represents the eRepair threshold value of DMI-Bus used + by Manufacturing. + creator: platform (generated based on MRW data) + See defintion in erepair_thresholds.xml for more information. + </description> + <simpleType> + <uint8_t> + </uint8_t> + </simpleType> + <persistency>non-volatile</persistency> + <readable/> + <hwpfToHbAttrMap> + <id>ATTR_DMI_EREPAIR_THRESHOLD_MNFG</id> + <macro>DIRECT</macro> + </hwpfToHbAttrMap> +</attribute> +<!-- ===== End Attributes supporting erepair_thresholds.xml HWPF Attributes ===== --> + </attributes> diff --git a/src/usr/targeting/common/xmltohb/common.mk b/src/usr/targeting/common/xmltohb/common.mk index 66514fdf5..b072443ac 100644 --- a/src/usr/targeting/common/xmltohb/common.mk +++ b/src/usr/targeting/common/xmltohb/common.mk @@ -84,7 +84,8 @@ FAPI_ATTR_SOURCES = \ sync_attributes.xml \ poreve_memory_attributes.xml \ mcbist_attributes.xml \ - proc_winkle_scan_override_attributes.xml + proc_winkle_scan_override_attributes.xml \ + erepair_thresholds.xml XMLTOHB_GENERIC_XML = generic.xml XMLTOHB_FAPI_XML = fapiattrs.xml diff --git a/src/usr/targeting/common/xmltohb/target_types.xml b/src/usr/targeting/common/xmltohb/target_types.xml index c3aaea51c..9362f5085 100644 --- a/src/usr/targeting/common/xmltohb/target_types.xml +++ b/src/usr/targeting/common/xmltohb/target_types.xml @@ -143,6 +143,14 @@ <attribute><id>PROC_SELECT_BOOT_MASTER</id></attribute> <attribute><id>PROC_SELECT_SEEPROM_IMAGE</id></attribute> <!-- End proc_select_boot_master attributes --> + <!-- Start erepair_thresholds.xml --> + <attribute><id>X_EREPAIR_THRESHOLD_FIELD</id></attribute> + <attribute><id>A_EREPAIR_THRESHOLD_FIELD</id></attribute> + <attribute><id>DMI_EREPAIR_THRESHOLD_FIELD</id></attribute> + <attribute><id>X_EREPAIR_THRESHOLD_MNFG</id></attribute> + <attribute><id>A_EREPAIR_THRESHOLD_MNFG</id></attribute> + <attribute><id>DMI_EREPAIR_THRESHOLD_MNFG</id></attribute> + <!-- End erepair_thresholds.xml --> <attribute><id>ENABLED_THREADS</id></attribute> <attribute><id>MSS_ZSERIES</id></attribute> |