From c71dfd1b9bcfcc6045a1ccf74d3880a490a429ed Mon Sep 17 00:00:00 2001 From: "Richard J. Knight" Date: Thu, 21 May 2015 15:22:21 -0500 Subject: Brazos:Server fails to IPL with 3 of 4 PCI Clock lines on LCC-B bugged -Fix fapiParseErrorInfo.pl to support the new position info related to PCI clock callouts. Change-Id: Ice867283478fb08f7b54f936f308c85cab904f8b CQ:SW308542 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17953 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Reviewed-by: WILLIAM G. HOFFA Reviewed-by: PRACHI GUPTA Reviewed-by: A. Patrick Williams III --- src/usr/hwpf/fapi/fapiParseErrorInfo.pl | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'src/usr') diff --git a/src/usr/hwpf/fapi/fapiParseErrorInfo.pl b/src/usr/hwpf/fapi/fapiParseErrorInfo.pl index d3d12adf7..36df57d6f 100755 --- a/src/usr/hwpf/fapi/fapiParseErrorInfo.pl +++ b/src/usr/hwpf/fapi/fapiParseErrorInfo.pl @@ -24,7 +24,7 @@ # # IBM_PROLOG_END_TAG -# $Id: fapiParseErrorInfo.pl,v 1.33 2015/04/15 18:43:54 dcrowell Exp $ +# $Id: fapiParseErrorInfo.pl,v 1.34 2015/05/27 17:10:16 rjknight Exp $ # Purpose: This perl script will parse HWP Error XML files and create required # FAPI code. # @@ -72,6 +72,8 @@ # mjjones 03/26/14 Generate HWP error on unknown SBE error # maploetz 06/11/14 Callout deconfig/gard target on all SBE # errors +# rjknight 05/27/15 Include hwInstance parsing for PCI clock +# callouts # # End Change Log ***************************************************** # @@ -583,6 +585,18 @@ foreach my $argnum (1 .. $#ARGV) { $eiEntryStr .= " l_entries[$eiEntryCount].hw_callout.iv_refObjIndex = 0xff; \\\n"; } + + if (exists $callout->{hw}->{hwInstance}) + { + # Add the Targets to the objectlist if they don't already exist + my $objNum = addEntryToArray(\@eiObjects, $callout->{hw}->{hwInstance}); + $eiEntryStr .= " l_entries[$eiEntryCount].hw_callout.iv_objPosIndex = $objNum; \\\n"; + } + else + { + $eiEntryStr .= " l_entries[$eiEntryCount].hw_callout.iv_objPosIndex = 0xff; \\\n" + } + $eiEntryCount++; $elementsFound++; } -- cgit v1.2.1