Skip to content

Commit

Permalink
enable spreading via SS PLL for Fleetwood platform
Browse files Browse the repository at this point in the history
pervasive_attribues.xml:
  Create new platinit attribute -- ATTR_MRW_FILTER_PLL_BUCKET
  System specific value for Filter PLL bucket selector (init=0), set by MRW
  - if non-zero, this value will directly set ATTR_FILTER_PLL_BUCKET,
    which is used by SBE to select the override to apply
  - if zero, MVPD MK keyword will set ATTR_FILTER_PLL_BUCKET

p9.filter.pll.override.scan.initfile:
  Repurpose overrides built for Cumulus, to produce 0.2% down spread
  Nimbus overrides still enable control of BGoffset

p9_xip_customize.C:
  Consume ATTR_MRW_FILTER_PLL_BUCKET and use logic above to
  set ATTR_FILTER_PLL_BUCKET

Change-Id: I2ea799179632d36251027a1d4468c6c89bfa6e00
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57988
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Reviewed-by: Joachim Fenkes <fenkes@de.ibm.com>
Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58003
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
  • Loading branch information
jjmcgill authored and sgupta2m committed May 18, 2018
1 parent 2ed31c1 commit d29d12f
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/import/chips/p9/procedures/hwp/perv/p9_sbe_npll_initf.C
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER sbe Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2015,2017 */
/* Contributors Listed Below - COPYRIGHT 2015,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -128,8 +128,7 @@ fapi2::ReturnCode p9_sbe_npll_initf(
"Unsupported Filter PLL bucket value!");
}

// re-scan PLL ring to apply overlay containing filter PLL BGoffset
// selected from MVPD
// re-scan PLL ring to apply selected filter PLL overlay
FAPI_DBG("Re-scan perv_pll_bndy to apply perv_pll_bndy_flt_%d ring",
l_fpll_bucket);
FAPI_TRY(fapi2::putRing(i_target_chip,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7449,4 +7449,21 @@
</chipEcFeature>
</attribute>
<!-- ******************************************************************** -->
<attribute>
<id>ATTR_CHIP_EC_FEATURE_SS_FPLL_SPREAD</id>
<targetType>TARGET_TYPE_PROC_CHIP</targetType>
<description>
Generate 0.2% down spread in SS Filter PLL
</description>
<chipEcFeature>
<chip>
<name>ENUM_ATTR_NAME_CUMULUS</name>
<ec>
<value>0x10</value>
<test>GREATER_THAN_OR_EQUAL</test>
</ec>
</chip>
</chipEcFeature>
</attribute>
<!-- ******************************************************************** -->
</attributes>
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,27 @@
<attribute>
<id>ATTR_FILTER_PLL_BUCKET</id>
<targetType>TARGET_TYPE_PROC_CHIP</targetType>
<description>Select Filter PLL BGoffset programming</description>
<description>Select Filter PLL bucket</description>
<valueType>uint8</valueType>
<persistRuntime/>
<writeable/>
<initToZero/>
</attribute>

<attribute>
<id>ATTR_MRW_FILTER_PLL_BUCKET</id>
<targetType>TARGET_TYPE_SYSTEM</targetType>
<description>
System specific value for Filter PLL bucket, provided by MRW.
If non-zero, this value will directly set ATTR_FILTER_PLL_BUCKET (used by SBE to select bucket).
If zero, VPD MK content will set ATTR_FILTER_PLL_BUCKET.
</description>
<valueType>uint8</valueType>
<persistRuntime/>
<platInit/>
<initToZero/>
</attribute>

<attribute>
<id>ATTR_OB0_PLL_BUCKET</id>
<targetType>TARGET_TYPE_PROC_CHIP</targetType>
Expand Down

0 comments on commit d29d12f

Please sign in to comment.