diff options
author | Shelton Leung <sleung@us.ibm.com> | 2016-05-26 18:05:32 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-06-16 09:11:10 -0400 |
commit | 4ce6435b4159bd455a327e476a1fb747f77409c1 (patch) | |
tree | 9b333cc368426ba47f757c071485bf6288a80dbd | |
parent | 09bef4aaff9506caadc010127a66a6564d7d3408 (diff) | |
download | talos-hostboot-4ce6435b4159bd455a327e476a1fb747f77409c1.tar.gz talos-hostboot-4ce6435b4159bd455a327e476a1fb747f77409c1.zip |
MCA,MCBIST,MCS (all files in one, no 2 part thing anymore)
Change-Id: I043c035b91fc03bd29648ca2723a1ee318b56bf6
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25099
Tested-by: Jenkins Server
Tested-by: Hostboot CI
Reviewed-by: Jenny Huynh <jhuynh@us.ibm.com>
Reviewed-by: Brian R. Silver <bsilver@us.ibm.com>
Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25135
Tested-by: FSP CI Jenkins
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
-rw-r--r-- | src/import/chips/p9/initfiles/p9.mcbist.scom.initfile | 97 | ||||
-rw-r--r-- | src/import/chips/p9/initfiles/p9.mcs.scom.initfile | 102 |
2 files changed, 199 insertions, 0 deletions
diff --git a/src/import/chips/p9/initfiles/p9.mcbist.scom.initfile b/src/import/chips/p9/initfiles/p9.mcbist.scom.initfile new file mode 100644 index 000000000..632329049 --- /dev/null +++ b/src/import/chips/p9/initfiles/p9.mcbist.scom.initfile @@ -0,0 +1,97 @@ +# Joe's initfile reference page: +# https://w3-connections.ibm.com/wikis/home?lang=en-us#!/wiki/W9dc674bd1c19_432e_9f66_0e8b6ce7195f/page/P9%20Initfile%20Strategy%20%26%20Execution +# http://ausxgsatm2.austin.ibm.com/gsa/home/j/m/jmcgill/web/public/p8/initfiles/mba_def.initfile + + +#--****************************************************************************** +#-- Required keywords/variables +#--****************************************************************************** + +SyntaxVersion = 3 + +target_type 0 TARGET_TYPE_MCBIST; + + +########################################### +# ADDED FOR MAINT WAT WORKAROUND HW366152 # +########################################### + +# ENSURE LOG COUNTS IN TRACE FEATURE NOT ENABLED (IT TAKES OVER THE DEBUG BUS) +espy MCP.MCBIST.MBA_SCOMFIR.MCBCFGQ_CFG_LOG_COUNTS_IN_TRACE [when=S] { + spyv; + OFF; +} + +# DEBUG BUS MUST BE ENABLED SINCE USED BY WAT +espy MCP.MCBIST.MBA_SCOMFIR.DBGCFG0Q_CFG_DBG_ENABLE [when=S] { + spyv; + ON; +} + +# SELECT RELEVANT DEBUG INFO ON BUS +ispy MCP.MCBIST.MBA_SCOMFIR.DBGCFG0Q_CFG_DBG_PICK_MCBIST01 [when=S] { + spyv; + # 1 + # 01234567890 + 0b11110000000; +} + +# ENABLE WAT LOGIC +espy MCP.MCBIST.MBA_SCOMFIR.DBGCFG1Q_CFG_WAT_ENABLE [when=S] { + spyv; + ON; +} + +# SET PATTERN TO MATCH +ispy MCP.MCBIST.MBA_SCOMFIR.WATCFG0DQ_CFG_WAT_PATA [when=S] { + spyv; + # 1111111111222222222233333333334444 + # 01234567890123456789012345678901234567890123 + 0b10000000001000000000000000000100000000000000; +} + +# MASK OFF DON'T CARE PORTIONS OF PATTERN +ispy MCP.MCBIST.MBA_SCOMFIR.WATCFG0BQ_CFG_WAT_MSKA [when=S] { + spyv; + # 1111111111222222222233333333334444 + # 01234567890123456789012345678901234567890123 + 0b00000000000000000000001111111011111111111111; +} +# ENABLE WAT (0), DISABLE EXTRA ARMING FEATURE (1), DISABLE NOT EQUAL MODE (11) +ispy MCP.MCBIST.MBA_SCOMFIR.WATCFG0BQ_CFG_WAT_CNTL [when=S] { + spyv; + # 1111111 + # 01234567890123456 + 0b10000000000000000; +} + +# SIMPLE PULSE ANY TIME PATTERN MATCHES +ispy MCP.MCBIST.MBA_SCOMFIR.WATCFG0AQ_CFG_WAT_EVENT_SEL [when=S] { + spyv; + # 11111111112222222222333333333344444444 + # 012345678901234567890123456789012345678901234567 + 0b010000000000000000000000000000000000000000000000; +} + +# ROUTE PULSE ON EVENT 1 (TRY TO KEEP 0 OPEN FOR SRQ) +ispy MCP.MCBIST.MBA_SCOMFIR.DBGCFG2Q_CFG_WAT_LOC_EVENT1_SEL [when=S] { + spyv; + # 1111111111 + # 01234567890123456789 + 0b00001000000000000000; +} + +# MAKE EVENT 1 USE LOCAL VERSION INSTEAD OF GLOBAL/EXTERNAL +ispy MCP.MCBIST.MBA_SCOMFIR.DBGCFG3Q_CFG_WAT_GLOB_EVENT1_SEL [when=S] { + spyv; + 0b100; +} + +# MAKE EVENT 1 TRIGGER WAT FIR +ispy MCP.MCBIST.MBA_SCOMFIR.DBGCFG3Q_CFG_WAT_ACT_SET_SPATTN_PULSE [when=S] { + spyv; + 0b0100; +} + + + diff --git a/src/import/chips/p9/initfiles/p9.mcs.scom.initfile b/src/import/chips/p9/initfiles/p9.mcs.scom.initfile new file mode 100644 index 000000000..f6a3639be --- /dev/null +++ b/src/import/chips/p9/initfiles/p9.mcs.scom.initfile @@ -0,0 +1,102 @@ +# Joe's initfile reference page: +# https://w3-connections.ibm.com/wikis/home?lang=en-us#!/wiki/W9dc674bd1c19_432e_9f66_0e8b6ce7195f/page/P9%20Initfile%20Strategy%20%26%20Execution +# http://ausxgsatm2.austin.ibm.com/gsa/home/j/m/jmcgill/web/public/p8/initfiles/mba_def.initfile + +#--****************************************************************************** +#-- ISSUES TO RESOVLE +#--****************************************************************************** +# +#--****************************************************************************** +#-- REFERENCES FOR FILE +#--****************************************************************************** +# Files used to check what target type attributes are +# MCS +# /gsa/ausgsa/home/s/l/sleung/ekb/ekb/chips/p9/procedures/xml/attribute_info/memory_mcs_attributes.xml +# /gsa/ausgsa/home/s/l/sleung/ekb/ekb/chips/p9/procedures/xml/attribute_info/memory_spd_attributes.xml +# PROC (apparently from grep) +# /gsa/ausgsa/home/s/l/sleung/ekb/ekb/chips/p9/procedures/xml/attribute_info/nest_attributes.xml (properties) +# /gsa/ausgsa/home/s/l/sleung/ekb/ekb/chips/p9/procedures/xml/attribute_info/p9_sbe_attributes.xml (values) +# Example: +# <id>ATTR_EFF_NUM_RANKS_PER_DIMM</id> +# <targetType>TARGET_TYPE_MCS</targetType> +# File used to see if attribute is 1D or 2D array +# /gsa/ausgsa/home/s/l/sleung/ekb/ekb/output/gen/attribute_ids.H +# Example: +# typedef uint8_t ATTR_EFF_DIMM_TYPE_Type[2][2]; +# File for finding correct spydef name +# 1st find the spydef file this ekb build is looking at by finding SPYDEF_FILE_LOCATION in file below +# /gsa/ausgsa/home/s/l/sleung/ekb/ekb/tools/ifCompiler/scan_procedures.mk +# 2nd open *.spydef in that dir and search for spy names +# /afs/awd.austin.ibm.com/projects/eclipz/lab/p9/vbu_models/n10_e9050_tp046_ec150u01a_soa_sc_u138_01/edc/*.spydef +# (File comes from actually building a vbu file and looking at the spydef) +# Example: +# idial MCP.PORT1.SRQ.PC.MBAREF0Q_CFG_TRFC { +# Wrapper file calling this (TODO, need to actually make this file call this file) +# /gsa/ausgsa/home/s/l/sleung/ekb/ekb/chips/p9/procedures/hwp/nest/p9_chiplet_scominit.C +# Output file generated +# /gsa/ausgsa/home/s/l/sleung/ekb/ekb/chips/p9/procedures/hwp/initfiles/p9_mcs_scom.C + + + + +## Syntax Notes +# Compiler expects spys to be all caps + + +#--****************************************************************************** +#-- Required keywords/variables +#--****************************************************************************** + +SyntaxVersion = 3 + +target_type 0 TARGET_TYPE_MCS; + + + +#--****************************************************************************** +#-- Systems Config +#--****************************************************************************** + +#--****************************************************************************** +#-- Effective Attributes +#--****************************************************************************** + + + +#--****************************************************************************** +#-- Dial Assignments +#--****************************************************************************** + + + + +########################## +# MC TEAM DICTATED INITS # +########################## + +espy MC01.PBI01.SCOMFIR.MCMODE1_DISABLE_FP_M_BIT [when=S] { + spyv; + ON; +} + +# HW376110 +ispy MC01.PBI01.SCOMFIR.MCPERF1_MERGE_CAPACITY_LIMIT [when=S] { + spyv; + 0b0111; +} + +# MOVED MC01.PORT... TO MCA PER BEN GASS'S DLL OVERRIDE +# +#ispy MC01.PORT0.ATCL.CL.CLSCOM.MCPERF2_SQ_LFSR_CNTL [when=S] { +# spyv; +# 0b0100; +# +#espy MC01.PORT0.ATCL.CL.CLSCOM.MCPERF2_EN_ALT_CR [when=S] { +# spyv; +# OFF; +#} +# +#ispy MC01.PORT0.ATCL.CL.CLSCOM.MCPERF0_PREFETCH_LIMIT [when=S] { +# spyv; +# 0b000000; +#} |