summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2016-08-09 09:53:50 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-08-25 14:28:57 -0400
commit1ab9096d45f5ec40748d38c6608bb0323122eaf5 (patch)
tree2bba124302250b58e880b965e04077183b5dd457 /src
parent46aaef527c685d0869804b18fed7f81e29a66b5e (diff)
downloadtalos-hostboot-1ab9096d45f5ec40748d38c6608bb0323122eaf5.tar.gz
talos-hostboot-1ab9096d45f5ec40748d38c6608bb0323122eaf5.zip
Fix FAPI_POS calculation for MCS
The addition of the MCBIST unit in the path broke the FAPI_POS calculations. Change-Id: I55471f6f611f8703e47db727c2892de96237a28a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28055 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/usr/targeting/common/genHwsvMrwXml.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/targeting/common/genHwsvMrwXml.pl b/src/usr/targeting/common/genHwsvMrwXml.pl
index 0b5836224..3e85d7652 100755
--- a/src/usr/targeting/common/genHwsvMrwXml.pl
+++ b/src/usr/targeting/common/genHwsvMrwXml.pl
@@ -105,7 +105,7 @@ use constant
ARCH_LIMIT_MEMBUF_PER_DMI => 1,
ARCH_LIMIT_EX_PER_EQ => MAX_EX_PER_PROC / MAX_EQ_PER_PROC,
ARCH_LIMIT_MBA_PER_MEMBUF => MAX_MBA_PER_MEMBUF,
- ARCH_LIMIT_MCS_PER_PROC => MAX_MCS_PER_PROC,
+ ARCH_LIMIT_MCS_PER_MCBIST => MAX_MCS_PER_PROC / MAX_MCBIST_PER_PROC,
ARCH_LIMIT_XBUS_PER_PROC => MAX_XBUS_PER_PROC,
ARCH_LIMIT_ABUS_PER_PROC => MAX_ABUS_PER_PROC,
ARCH_LIMIT_L4_PER_MEMBUF => 1,
@@ -2971,7 +2971,7 @@ sub calcAndAddFapiPos
$typeToLimit{"ex"} = ARCH_LIMIT_EX_PER_EQ;
$typeToLimit{"mba"} = ARCH_LIMIT_MBA_PER_MEMBUF;
$typeToLimit{"mcbist"} = ARCH_LIMIT_MCBIST_PER_PROC;
- $typeToLimit{"mcs"} = ARCH_LIMIT_MCS_PER_PROC;
+ $typeToLimit{"mcs"} = ARCH_LIMIT_MCS_PER_MCBIST;
$typeToLimit{"xbus"} = ARCH_LIMIT_XBUS_PER_PROC;
$typeToLimit{"abus"} = ARCH_LIMIT_ABUS_PER_PROC;
$typeToLimit{"l4"} = ARCH_LIMIT_L4_PER_MEMBUF;
@@ -3030,7 +3030,7 @@ sub calcAndAddFapiPos
$fapiPosHr->{$affinityPath} = $fapiPos;
# Uncomment to emit debug trace to STDERR
- # print STDERR "$fapiPos\n";
+ #print STDERR "$fapiPos\n";
# Indented oddly to get the output XML to line up in the final output
print "
OpenPOWER on IntegriCloud