diff options
author | Joe McGill <jmcgill@us.ibm.com> | 2017-03-15 12:52:42 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-06-22 22:39:29 -0400 |
commit | 3d7d72604b9e63a9d0390043272dc66d5f3a924a (patch) | |
tree | 1cb50e63c5a1464aed00eb41da6668ad9d9ab652 /src/usr | |
parent | 19b69c316d363e4598f02688691214a8c3dd831f (diff) | |
download | talos-hostboot-3d7d72604b9e63a9d0390043272dc66d5f3a924a.tar.gz talos-hostboot-3d7d72604b9e63a9d0390043272dc66d5f3a924a.zip |
add support for OBUS PLL buckets
p9_frequency_buckets.H
p9.obus.pll.scan.initfile
document and support base frequencies
1611 MHz - 25.78G, 156.25 MHz ref
1250 MHz - 25G, 156.25 MHz ref
1200 MHz - 19.2G, 133.33 MHz ref
pervasive_attributes.xml
define ATTR_OB[0123]_PLL_BUCKET to hold encoded ring bucket select value
nest_attributes.xml
define ATTR_FREQ_O_MHZ array to hold per chiplet OBUS frequency
retain ATTR_FREQ_A_MHZ to serve as FBC A link frequency indicator
p9_setup_sbe_config.C
p9_sbe_attr_setup.C
transmit bucket selection through FSP/BMC->SBE mailbox
encode OBUS bucket selects in Scratch Reg2 bits 24:31
p9_sbe_chiplet_pll_initf.C
p9_sbe_chiplet_pll_initf_errors.xml
scan correct ring image based on bucket selector attributes
p9_ringId.C
p9_ringId.H
p9_ring_id.h
accomodate three copies of obX_pll_bndy (use ID previously reserved for
obX_pll_func, which should not be necessary to scan init)
scan_procedures.mk
generateWrapper.pl
initCompiler infrastructure changes to support build of bucket data
p9.fbc.ab_hp.scom.initfile
p9.fbc.ioo_tl.scom.initfile
p9_tod_setup.C
updates to handle A,O frequency attribute changes
Change-Id: I42f9bb4037a587f7e3ec8dd9848bdb853ac3d7a0
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40159
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Matt K. Light <mklight@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: Dean Sanner <dsanner@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40165
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/targeting/common/xmltohb/attribute_types.xml | 90 | ||||
-rwxr-xr-x | src/usr/targeting/common/xmltohb/target_types.xml | 5 |
2 files changed, 95 insertions, 0 deletions
diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml index f875ca903..8ee6cb0f4 100644 --- a/src/usr/targeting/common/xmltohb/attribute_types.xml +++ b/src/usr/targeting/common/xmltohb/attribute_types.xml @@ -2701,6 +2701,7 @@ </uint32_t></simpleType> <persistency>non-volatile</persistency> <readable/> + <writeable/><!-- Only because SBE needs it --> <hwpfToHbAttrMap> <id>ATTR_FREQ_A_MHZ</id> <macro>DIRECT</macro> @@ -2708,6 +2709,95 @@ </attribute> <attribute> + <id>FREQ_O_MHZ</id> + <description> + The frequency of a processor's Obus mesh clocks, in MHz. + Provided by the MRW. + </description> + <simpleType> + <uint32_t> + <default>1611</default> + </uint32_t> + <array>4</array> + </simpleType> + <persistency>non-volatile</persistency> + <readable/> + <writeable/><!-- Only because SBE needs it --> + <hwpfToHbAttrMap> + <id>ATTR_FREQ_O_MHZ</id> + <macro>DIRECT</macro> + </hwpfToHbAttrMap> +</attribute> + +<attribute> + <id>OB0_PLL_BUCKET</id> + <description> + Select OBUS0 pll setting from one of the supported frequencies + </description> + <simpleType> + <uint8_t><default>1</default></uint8_t> + </simpleType> + <persistency>non-volatile</persistency> + <readable/> + <writeable/><!-- Only because SBE needs it --> + <hwpfToHbAttrMap> + <id>ATTR_OB0_PLL_BUCKET</id> + <macro>DIRECT</macro> + </hwpfToHbAttrMap> +</attribute> + +<attribute> + <id>OB1_PLL_BUCKET</id> + <description> + Select OBUS1 pll setting from one of the supported frequencies + </description> + <simpleType> + <uint8_t><default>1</default></uint8_t> + </simpleType> + <persistency>non-volatile</persistency> + <readable/> + <writeable/><!-- Only because SBE needs it --> + <hwpfToHbAttrMap> + <id>ATTR_OB1_PLL_BUCKET</id> + <macro>DIRECT</macro> + </hwpfToHbAttrMap> +</attribute> + +<attribute> + <id>OB2_PLL_BUCKET</id> + <description> + Select OBUS2 pll setting from one of the supported frequencies + </description> + <simpleType> + <uint8_t><default>1</default></uint8_t> + </simpleType> + <persistency>non-volatile</persistency> + <readable/> + <writeable/><!-- Only because SBE needs it --> + <hwpfToHbAttrMap> + <id>ATTR_OB2_PLL_BUCKET</id> + <macro>DIRECT</macro> + </hwpfToHbAttrMap> +</attribute> + +<attribute> + <id>OB3_PLL_BUCKET</id> + <description> + Select OBUS3 pll setting from one of the supported frequencies + </description> + <simpleType> + <uint8_t><default>1</default></uint8_t> + </simpleType> + <persistency>non-volatile</persistency> + <readable/> + <writeable/><!-- Only because SBE needs it --> + <hwpfToHbAttrMap> + <id>ATTR_OB3_PLL_BUCKET</id> + <macro>DIRECT</macro> + </hwpfToHbAttrMap> +</attribute> + +<attribute> <id>FREQ_X_MHZ</id> <description> System attribute. diff --git a/src/usr/targeting/common/xmltohb/target_types.xml b/src/usr/targeting/common/xmltohb/target_types.xml index 38085de50..0e9ac7d6d 100755 --- a/src/usr/targeting/common/xmltohb/target_types.xml +++ b/src/usr/targeting/common/xmltohb/target_types.xml @@ -1100,6 +1100,11 @@ <attribute><id>MC_SYNC_MODE</id></attribute> <attribute><id>CDM_DOMAIN</id><default>FABRIC</default></attribute> <attribute><id>OBUS_RATIO_VALUE</id></attribute> + <attribute><id>OB0_PLL_BUCKET</id></attribute> + <attribute><id>OB1_PLL_BUCKET</id></attribute> + <attribute><id>OB2_PLL_BUCKET</id></attribute> + <attribute><id>OB3_PLL_BUCKET</id></attribute> + <attribute><id>FREQ_O_MHZ</id></attribute> <attribute><id>FUNCTIONAL_EQ_EC_VALID</id></attribute> <attribute><id>FW_MODE_FLAGS_VALID</id></attribute> <attribute><id>ISTEP_MODE</id></attribute> |