diff options
author | Bill Hoffa <wghoffa@us.ibm.com> | 2019-07-29 10:45:31 -0500 |
---|---|---|
committer | Daniel M Crowell <dcrowell@us.ibm.com> | 2019-08-07 11:23:24 -0500 |
commit | 7cfa513f0c665f335c8004835f255030aefb9c7f (patch) | |
tree | f10b3443a14596846e687679b30fd41fd02b78a8 /src/usr/targeting | |
parent | 0606bb79551a9e1941bd64eea86951dabf098821 (diff) | |
download | talos-hostboot-7cfa513f0c665f335c8004835f255030aefb9c7f.tar.gz talos-hostboot-7cfa513f0c665f335c8004835f255030aefb9c7f.zip |
Process MRW MC Targets Correctly
- Use the processMc function that finds the correct
child target types
Change-Id: I7945492a5f399a9cad68815d26953aa91aad4a72
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/81255
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R Geddes <crgeddes@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com>
Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting')
-rw-r--r-- | src/usr/targeting/common/Targets.pm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/usr/targeting/common/Targets.pm b/src/usr/targeting/common/Targets.pm index 6c326eb28..03f3c2241 100644 --- a/src/usr/targeting/common/Targets.pm +++ b/src/usr/targeting/common/Targets.pm @@ -1956,6 +1956,12 @@ sub processMc foreach my $dmi (@{ $self->getTargetChildren($mi) }) { + my $child_type = $self->getType($dmi); + if ($child_type ne "DMI") + { + next; + } + my $dmi_num = $self->getAttribute($dmi, "CHIP_UNIT"); my $membufnum = $proc * $self->{MAX_DMI} + $dmi_num; @@ -1982,7 +1988,7 @@ sub processMc my $parent_physical = $self->getAttribute($membuf, "PHYS_PATH"); $self->setAttribute($membuf,"FAPI_NAME", - $self->getFapiName($membuf_type, $node, $membufnum)); + $self->getFapiName($membuf_type, $node, $membufnum, $memCardOffset)); my $fapi_pos = (($node * $maxInstance{"PROC"}) + $proc ) * $self->{MAX_DMI} + $dmi_num; |