diff options
author | Bill Hoffa <wghoffa@us.ibm.com> | 2019-07-30 14:44:04 -0500 |
---|---|---|
committer | Daniel M Crowell <dcrowell@us.ibm.com> | 2019-08-07 11:23:29 -0500 |
commit | 05007faa4a54d4f97cd46d3013e9377dbd7e47b0 (patch) | |
tree | 112873b288827de9503ff3e82ef63311f8a0c33f /src/usr/targeting/common | |
parent | 7cfa513f0c665f335c8004835f255030aefb9c7f (diff) | |
download | talos-hostboot-05007faa4a54d4f97cd46d3013e9377dbd7e47b0.tar.gz talos-hostboot-05007faa4a54d4f97cd46d3013e9377dbd7e47b0.zip |
Ignore OMIC connections for OCMB_CHIP MRW processing
- The current MRW processing was treating OMI bus
connections to the OMIC the same as to the OMI
target causing for incorrect attribute settings.
For now just ignore the OMIC connections for
ocmb_chip, pmic, and lcard-dimm target types
Change-Id: I0767b4dba0d828db524d734e9669a3af66c8fbf1
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/81390
Tested-by: Jenkins Server <pfd-jenkins+hostboot@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: Christian R Geddes <crgeddes@us.ibm.com>
Reviewed-by: Chen Du <duchen@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/common')
-rw-r--r-- | src/usr/targeting/common/Targets.pm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/usr/targeting/common/Targets.pm b/src/usr/targeting/common/Targets.pm index 03f3c2241..cf5f2185f 100644 --- a/src/usr/targeting/common/Targets.pm +++ b/src/usr/targeting/common/Targets.pm @@ -906,6 +906,10 @@ sub buildAffinity foreach my $conn (@{$conn->{CONN}}) { my $source = $conn->{SOURCE}; + if ($source =~ /omic/i) + { + next; + } my @targets = split(/\//, $source); # Split the source into proc#, mc#, mi#, mcc#, omi# # Source example: @@ -1043,6 +1047,12 @@ sub buildAffinity { my $source = $conn->{SOURCE}; my @targets = split(/\//, $source); + + if ($source =~ /omic/i) + { + next; + } + # Split the source into proc#, mc#, mi#, mcc#, omi# # Source example: # /sys-#/node-#/Pallid-#/proc_socket-#/Hopper-#/p9_axone/mc#/mi#/mcc#/omi# @@ -1154,6 +1164,11 @@ sub buildAffinity # Split the source into proc#, mc#, mi#, mcc#, omi# # Source example: # /sys-#/node-#/Pallid-#/proc_socket-#/Hopper-#/p9_axone/mc#/mi#/mcc#/omi# + if ($source =~ /omic/i) + { + next; + } + foreach my $target (@targets) { $target =~ s/\D//g; |