summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt Ploetz <maploetz@us.ibm.com>2015-10-01 13:57:35 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-10-09 15:32:42 -0500
commit568932e9e7a3f6b2e06ef7ec48fb10ed5d3e1f93 (patch)
tree045ccf0e9dca8094ff863da263a118262dfdef02 /src
parent09ca510694486548b5a2235f9304fd0463e6ca28 (diff)
downloadblackbird-hostboot-568932e9e7a3f6b2e06ef7ec48fb10ed5d3e1f93.tar.gz
blackbird-hostboot-568932e9e7a3f6b2e06ef7ec48fb10ed5d3e1f93.zip
Add module hierarchy to the proc target in processMrw.pl
Change-Id: I9df7490d4beac0832cee3fa1574641cbd9e959c0 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20914 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/usr/targeting/common/processMrw.pl15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/usr/targeting/common/processMrw.pl b/src/usr/targeting/common/processMrw.pl
index a12a0c4f0..2ca11f3c9 100644
--- a/src/usr/targeting/common/processMrw.pl
+++ b/src/usr/targeting/common/processMrw.pl
@@ -422,7 +422,6 @@ sub processProcessor
my $target = shift;
#########################
- ## Copy PCIE attributes from socket
## In serverwiz, processor instances are not unique
## because plugged into socket
## so processor instance unique attributes are socket level.
@@ -431,6 +430,12 @@ sub processProcessor
$targetObj->getTargetParent($targetObj->getTargetParent($target));
$targetObj->copyAttribute($socket_target,$target,"LOCATION_CODE");
+ ## Module attibutes are inherited into the proc target
+ my $module_target =
+ $targetObj->getTargetParent($target);
+ $targetObj->copyAttribute($module_target,$target,"LOCATION_CODE");
+
+ ## Copy PCIE attributes from socket
foreach my $attr (sort (keys
%{ $targetObj->getTarget($socket_target)->{TARGET}->{attribute} }))
{
@@ -439,6 +444,14 @@ sub processProcessor
$targetObj->copyAttribute($socket_target,$target,$attr);
}
}
+
+ ## Copy all attributes from module
+ foreach my $attr (sort (keys
+ %{ $targetObj->getTarget($module_target)->{TARGET}->{attribute} }))
+ {
+ $targetObj->copyAttribute($module_target,$target,$attr);
+ }
+
$targetObj->log($target, "Processing PROC");
foreach my $child (@{ $targetObj->getTargetChildren($target) })
{
OpenPOWER on IntegriCloud