From a545a8be9355dff75dad01ca4c89b7b2397366e4 Mon Sep 17 00:00:00 2001 From: Bilicon Patil Date: Tue, 19 Feb 2013 03:26:37 -0600 Subject: 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 Tested-by: Jenkins Server --- src/usr/targeting/common/genHwsvMrwXml.pl | 14 ++- .../targeting/common/xmltohb/attribute_types.xml | 122 +++++++++++++++++++++ src/usr/targeting/common/xmltohb/common.mk | 3 +- src/usr/targeting/common/xmltohb/target_types.xml | 8 ++ 4 files changed, 145 insertions(+), 2 deletions(-) (limited to 'src/usr/targeting/common') 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) + + + X_EREPAIR_THRESHOLD_FIELD + + 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. + + + + + + non-volatile + + + ATTR_X_EREPAIR_THRESHOLD_FIELD + DIRECT + + + + + A_EREPAIR_THRESHOLD_FIELD + + 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. + + + + + + non-volatile + + + ATTR_A_EREPAIR_THRESHOLD_FIELD + DIRECT + + + + + DMI_EREPAIR_THRESHOLD_FIELD + + 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. + + + + + + non-volatile + + + ATTR_DMI_EREPAIR_THRESHOLD_FIELD + DIRECT + + + + + X_EREPAIR_THRESHOLD_MNFG + + 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. + + + + + + non-volatile + + + ATTR_X_EREPAIR_THRESHOLD_MNFG + DIRECT + + + + + A_EREPAIR_THRESHOLD_MNFG + + 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. + + + + + + non-volatile + + + ATTR_A_EREPAIR_THRESHOLD_MNFG + DIRECT + + + + + DMI_EREPAIR_THRESHOLD_MNFG + + 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. + + + + + + non-volatile + + + ATTR_DMI_EREPAIR_THRESHOLD_MNFG + DIRECT + + + + 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 @@ PROC_SELECT_BOOT_MASTER PROC_SELECT_SEEPROM_IMAGE + + X_EREPAIR_THRESHOLD_FIELD + A_EREPAIR_THRESHOLD_FIELD + DMI_EREPAIR_THRESHOLD_FIELD + X_EREPAIR_THRESHOLD_MNFG + A_EREPAIR_THRESHOLD_MNFG + DMI_EREPAIR_THRESHOLD_MNFG + ENABLED_THREADS MSS_ZSERIES -- cgit v1.2.1