summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common/genHwsvMrwXml.pl
diff options
context:
space:
mode:
authorRichard J. Knight <rjknight@us.ibm.com>2013-05-02 14:57:32 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-05-06 17:08:54 -0500
commit0b8a07b09265dd48c2881caca24e150a948272a0 (patch)
treeb95f86a4746a3103f55bd29e5e384c64370e13bb /src/usr/targeting/common/genHwsvMrwXml.pl
parent446e7630a44ccfcd2b72de1c2d1a0d2e2b59f555 (diff)
downloadtalos-hostboot-0b8a07b09265dd48c2881caca24e150a948272a0.tar.gz
talos-hostboot-0b8a07b09265dd48c2881caca24e150a948272a0.zip
Support for processor specific Ring Lengths in Hostboot
This is a quick fix for SW196865, several ring lengths are different based on processor type, this change will set the attributes for these lengths in the genHwsvMrwXml.pl based on processor type. Change-Id: I42f0e61d138eca5724e290ed81873dd5244f5809 RTC:70945 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4333 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common/genHwsvMrwXml.pl')
-rwxr-xr-xsrc/usr/targeting/common/genHwsvMrwXml.pl42
1 files changed, 40 insertions, 2 deletions
diff --git a/src/usr/targeting/common/genHwsvMrwXml.pl b/src/usr/targeting/common/genHwsvMrwXml.pl
index ce77f621c..56d1fbda6 100755
--- a/src/usr/targeting/common/genHwsvMrwXml.pl
+++ b/src/usr/targeting/common/genHwsvMrwXml.pl
@@ -1695,8 +1695,24 @@ sub generate_proc
}
}
+ #default to murano (s1_) values and change later if for venice (p8_)
+ my $ab_bndy_pll = 536;
+ my $pb_bndy_dmipll = 1234;
+ my $ex_func_l3 = 48826;
+ my $perv_bndy_pll = 861;
+ my $pci_bndy_pll = 565;
+
+ if($CHIPNAME eq "venice")
+ {
+ $ab_bndy_pll = 536;
+ $pb_bndy_dmipll = 1848;
+ $ex_func_l3 = 49020;
+ $perv_bndy_pll = 855;
+ $pci_bndy_pll = 565;
+ }
+
print "
-<!-- $SYSNAME n${node}p${proc} processor chip -->
+ <!-- $SYSNAME n${node}p${proc} processor chip -->
<targetInstance>
<id>sys${sys}node${node}proc${proc}</id>
@@ -1727,7 +1743,29 @@ sub generate_proc
<id>FABRIC_CHIP_ID</id>
<default>$logid</default>
</attribute>
- <attribute><id>VPD_REC_NUM</id><default>$vpdnum</default></attribute>";
+ <attribute><id>VPD_REC_NUM</id><default>$vpdnum</default></attribute>
+
+ <!-- workaround for SW196865 - see RTC:69918 for additional details -->
+ <attribute>
+ <id>PROC_AB_BNDY_PLL_LENGTH</id>
+ <default>$ab_bndy_pll</default>
+ </attribute>
+ <attribute>
+ <id>PROC_PB_BNDY_DMIPLL_LENGTH</id>
+ <default>$pb_bndy_dmipll</default>
+ </attribute>
+ <attribute>
+ <id>PROC_EX_FUNC_L3_LENGTH</id>
+ <default>$ex_func_l3</default>
+ </attribute>
+ <attribute>
+ <id>PROC_PERV_BNDY_PLL_LENGTH</id>
+ <default>$perv_bndy_pll</default>
+ </attribute>
+ <attribute>
+ <id>PROC_PCI_BNDY_PLL_LENGTH</id>
+ <default>$pci_bndy_pll</default>
+ </attribute>";
if ($slave)
{
OpenPOWER on IntegriCloud