summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2018-03-06 12:28:54 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-03-07 21:34:23 -0500
commit4f43040cb271a9d39fd3190d5c513e7d417ceff2 (patch)
tree2f6e6dab63981b2bc748672f7372fa1103df8c6c /src/usr/targeting
parent2ae2bffe88b5eb7152951ed2a9e1741a1243a3e3 (diff)
downloadtalos-hostboot-4f43040cb271a9d39fd3190d5c513e7d417ceff2.tar.gz
talos-hostboot-4f43040cb271a9d39fd3190d5c513e7d417ceff2.zip
Enable WOF_VRATIO on ZZ
Forcing a couple attribute values on ZZ to enable more WOF support. ATTR_WOF_ENABLE_VRATIO = CALCULATED ATTR_WOF_VRATIO_SELECT = ACTIVE_CORES Change-Id: Id6ce442e92b4daf7cb948e1c1b4823b9a3870410 CQ: SW419992 CMVC-Prereq: 1047360 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55148 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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting')
-rwxr-xr-xsrc/usr/targeting/common/genHwsvMrwXml.pl25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/usr/targeting/common/genHwsvMrwXml.pl b/src/usr/targeting/common/genHwsvMrwXml.pl
index a2dceed88..a6d9c8f4f 100755
--- a/src/usr/targeting/common/genHwsvMrwXml.pl
+++ b/src/usr/targeting/common/genHwsvMrwXml.pl
@@ -503,6 +503,31 @@ if ( exists $reqPol->{'mss_mrw_force_bcmode_off'} )
}
+# Handle the new name when it shows up in the xml
+# otherwise force the value
+if ( exists $reqPol->{'wof_enable_vratio'} )
+{
+ push @systemAttr, ['WOF_ENABLE_VRATIO',
+ $reqPol->{'wof_enable_vratio'}];
+}
+else
+{
+ push @systemAttr, ['WOF_ENABLE_VRATIO', 'CALCULATED'];
+}
+
+# Handle the new name when it shows up in the xml
+# otherwise force the value
+if ( exists $reqPol->{'wof_vratio_select'} )
+{
+ push @systemAttr, ['WOF_VRATIO_SELECT',
+ $reqPol->{'wof_vratio_select'}];
+}
+else
+{
+ push @systemAttr, ['WOF_VRATIO_SELECT', 'ACTIVE_CORES'];
+}
+
+
my $nestFreq = $reqPol->{'proc_pb_frequency'}->{content};
OpenPOWER on IntegriCloud