summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Move lpc_rw to a source filespashabk-in2018-09-253-67/+84
| | | | | | | | | | | | | | | | | | | | | | Moving lpc_rw to its source file to avoid code duplication if more than one file includes lpc_utils.H. This is mainly required by SBE to use lpc_rw for virtual PNOR access. Change-Id: I7de30bcbae932307e0b63d8d42ae6ce050753339 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64296 Reviewed-by: Joachim Fenkes <fenkes@de.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: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64310 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>
* Start compiling in attributes under src/import/generic/Dan Crowell2018-09-251-0/+1
| | | | | | | | | | Some of the memory logic is moving over here so need to include the new attributes in our build. Change-Id: I9a695929c5806a004891f6e23e291ee9afc8f624 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66247 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* intr: Use the correct trace handle in intrrp TRACDCOMP callsAndrew Jeffery2018-09-251-3/+3
| | | | | | | | | Change-Id: If352854176ada680856bba0ea6cb5df92e8ed8f4 Signed-off-by: Andrew Jeffery <andrewrj@au1.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66569 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* istepdispatcher: Remove undefined symbol ENTER_INFO from TRACDCOMPAndrew Jeffery2018-09-251-2/+1
| | | | | | | | | | Change-Id: I59a7155c5d855e32d2ce6164b56a1eb132dd1d11 Signed-off-by: Andrew Jeffery <andrewrj@au1.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66568 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> 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>
* Support HB running in SMFDean Sanner2018-09-2425-111/+598
| | | | | | | | | | | | | | | | | | | | | | Support SMF for P9N/P9C. Lots of minor tweaks to make this work, but the biggest is to run userspace in problem state This is needed because for SMF Hostboot will need to run in S=1, HV=0,PR=1 (and kernel in S=1, HV=1, PR=0) This commit makes P9 HB userpsace run in HV=0 PR=1 and kernel in HV=1, PR=0. Change-Id: Ia4771df5e8858c6b7ae54b0746e62b283afb4bc4 RTC: 197243 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/50530 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: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* FBC ABUS TDM inject and recovery HWPsJoe McGill2018-09-229-55/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | p9_fbc_ioo_tdm_inject New HWP to permit concurrent maintenance of an SMP OBUS link (full-width to half-width operation) Specified half-link of provided endpoint target will have: - FIRs masked - DL layer quiesced - PHY powered down FW should set i_opts members as follows: - i_opts.run_all=true -- HWP executes all steps - i_opts.step=P9_FBC_IOO_TDM_INJECT_END -- don't care p9_fbc_ioo_tdm_recovery New HWP to permit concurrent maintenance of an SMP OBUS link (half-width to full-width operation) HWP detects half-link to recover from provided enpoint target. Specified half-link will have: - FIRs masked and reset - DL layer reset - PHY layer reset, dccal run, and re-initialized - DL FIRs cleared - DL started and retrained - FIRs unmasked FW should set i_opts members as follows: - i_opts.run_all=true -- HWP executes all steps - i_opts.even_not_odd=true -- don't care - i_opts.step=P9_FBC_IOO_TDM_RECOVERY_END -- don't care p9_security_white_black_list Add greylist entries for OBUS PHY, DL layer FIR and FIR mask registers p9_io_regs Add register constants needed for link recovery p9_io_obus_reset Clear RX and TX ioreset Add inits specified in SCOM initfile used at initial IPL p9_obus_fir_utils Add constants to reflect grey list entries for OBUS FIRs p9_io_obus_scominit p9_chiplet_scominit Reference p9_obus_fir_utils for OBUS FIR programming values Change-Id: Iad3884f6057c2ca21f436bc6efc0423fb5f70226 CQ: SW446137 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/59370 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: DANIEL C. HOWE <dchowe@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: Christopher W. Steffen <cwsteffen@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/60829 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* SMP ABUS -- use pattern A to detect lane failuresJoe McGill2018-09-227-95/+729
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | p9_io_obus_linktrain - Prior to engaging link training, send and observe pattern A in PHY RX capture latches - Power down any failed lanes, with sparing for single lane failures or deconfiguration for multi-lane failures to be handled by DL training in downstream HWP code - Adapt flow so HWP is directly callable in CCM retraining flow p9_io_obus_dccal - Reset attributes used by p9_io_obus_linktrain -- needed to support reconfig loop IPL and CCM retraining flow p9_fab_iovalid - Update DL state machine half link fail detection logic p9_io_obus_attributes - Create new attributes to support pattern A detection scheme ATTR_IO_OBUS_PAT_A_DETECT_RUN - flag to track per half link status, ised to enable coordinated execution on endpoints without requiring HWP interface changes ATTR_IO_OBUS_PAT_A_DETECT_RX_AMP_VALUE - RX amp bias, override only ATTR_IO_OBUS_PAT_A_CAPTURE - actual RX data pipe content, for debug ATTR_IO_OBUS_LANE_PDWN - actual per-lane powerdown decisions, for debug Change-Id: Ic418000b1c50bcd6454be996e7206fa1d1690f75 CQ: SW443349 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65737 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-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: Christopher W. Steffen <cwsteffen@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65739 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Reset ATTR_SPCWKUP_COUNT to 0 at start of MPIPLChristian Geddes2018-09-211-0/+16
| | | | | | | | | | | | | | | | | | | | | | | We were seeing issues in the newly added PM_RESET call in istep 21. This was happening because if the SKIP_WAKEUP attribute is not set then PM_RESET will attempt to enable special_wakeup on all of the EX targets before enabling auto-special wakeup. We are then expecting special wakeup done bit to be set on all of th EX targets prior to enabling auto-special wakeup on the target. IF SPCWKUP_COUNT is still set to a non-zero value from the previous IPL the call to enable special_wakeup will result in a no-op so the special wkup done bit will never be set in the GPMMR. This causes to call to enable auto-special wakeup to fail Change-Id: Iabdb5099ea9d6eb195003697de8ca074804d2d98 CQ: SW446135 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66430 Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Set wakeup mode in istep 15 based on SMF setttingsChristian Geddes2018-09-202-3/+20
| | | | | | | | | | | | | Change-Id: I979d20fb8f38e2aa4e8fc29aebc38a7752aed5ce Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64939 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: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Support fapi2 i2c functionsMatt Derksen2018-09-2011-168/+1152
| | | | | | | | | | | | | | | | | New interface in fapi2 to perform i2c operations directly. This is needed for OCMB access before we get OMI bus running, specifically as part of a cmd/rsp protocol. Change-Id: I8b778f12f8c0c6820ceb51146f1e21d30891c964 RTC:197029 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63919 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add empty files for p9c soft PPR (row repair) functionLouis Stermole2018-09-203-0/+72
| | | | | | | | | | | | | | Change-Id: I1e918ec74b51c9f55447e98e0c36a6d1012feb73 CQ:SW444750 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65288 Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65703 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Ignore wakeup failures on checkstopped coresDan Crowell2018-09-193-8/+23
| | | | | | | | | | | | | | | | | | | | | | If a core (unit)checkstops, PHYP no longer allows wakeup operations to take place. However, HBRT has generic logic that always does a wakeup before doing any ec/ex/eq scom at runtime. Since PRD needs to do those scoms to analyze the checkstop we have a problem. The change here is for HBRT to handle a new return code from PHYP that indicates this situation. This RC will be treated as a success, thus allowing the subsequent scom operation to pass. Change-Id: I4ac62129399db50f48c938b649994423c99622a5 CQ: SW444076 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66143 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Fix part translation for SMP_CABLE calloutMatt Derksen2018-09-192-1/+9
| | | | | | | | | | | | | | | | Fix Not Applicable reported for subsystem for predictive error logs during runtime SMP cable pulls Change-Id: I619b32cb4d2e132296e8008bbf844e161e5aef87 CQ:SW445305 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66266 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> Reviewed-by: Nicholas E. Bofferding <bofferdn@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: William G. Hoffa <wghoffa@us.ibm.com>
* p9.int.scom.initfile -- mask early hang indicator FIR bitsJoe McGill2018-09-191-6/+6
| | | | | | | | | | | | | | | | | | | | bits 27,28,29 log operational (early) hang conditions mask them in the INT FIR to prevent predictive callouts which are occuring - they will report and be thresholded at the fabric center FIR logging entry into hang recovery Change-Id: If36fd8de8671f1978cb03046a0b0faf350585eda CQ: SW445312 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66330 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66339 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: William G. Hoffa <wghoffa@us.ibm.com>
* Moves sync code to generic folderStephen Glancy2018-09-1919-1617/+2110
| | | | | | | | | | | | | | | | | Change-Id: I440cdb0ea105a6dbdcd0ac26696308e55d56f88b Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65786 Dev-Ready: STEPHEN GLANCY <sglancy@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66323 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>
* Update computeNonPhypRtTarget for P9C OPALDean Sanner2018-09-191-3/+5
| | | | | | | | | | | | | | | Code walks through all targets, but inner filters only used functional. Update filter to all Change-Id: I6351dca6c1ce03a68c641b86603775e0cf953027 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64406 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: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix CVPD testcases for CDIMM configurationDan Crowell2018-09-191-4/+55
| | | | | | | | | | | | | | | The CDIMM and non-CDIMM configs have different VPD content so we need unique inputs in the VPD testcases. Change-Id: I896f92b2de0b62b6f1fab9abc9fc6316fcc5ec7d Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66270 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sameer R. Veer <sveer@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>
* eRepair: Correctly update xbus vpd records based on clock groupSumit Kumar2018-09-193-346/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Each XBUS constituted of two sub-buses XBUS-A and XBUS-B say for XBUS0 == [X0A, X0B] where X0A = bits[0:15] and X0B = bits[16:31] and they are distinguished by clock group param [0,1]. Clock group 0 == X[0,1,2]A == bits[00:15] Clock group 1 == X[0,1,2]B == bits[16:31] When referring xbus record in vpd the clock group param need to be encoded in record to correctly identify the xbus referred. To do this fabricBus/busNum member of struct eRepairProcDevInfo is divided in two parts to capture clock group param as bits [0:3] ==> Clock group param [0,1] bits [4:7] ==> XBUS bus number [0,1,2] - Optimized Xbus updateRepairLanesToBufProc() procedure Change-Id: I6543dd2fe0392bf29c4c9d4ca3843ebf50218d1a CQ: SW444885 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66132 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Christopher W. Steffen <cwsteffen@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66133 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Don't Process Interrupts During ShutdownIlya Smirnov2018-09-192-1/+42
| | | | | | | | | | | | | | | | | | | An issue has come up on OpenPOWER where we would checkstop during istep 10.2 or 16.1 when completing the interrupt processing due to the code attempting to access a memory area that got locked during the shutdown sequence. This change no-ops the complete interrupt routine if a shutdown has been requested to remedy this issue. Change-Id: Ie444149884c6a42a0010593fb94b91298b4bc798 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66049 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: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add part number and serial number to error log hw callout dataCorey Swenson2018-09-191-2/+26
| | | | | | | | | | | | | | | | | | The attribute code is generated in errludattribute.C. It is currently if-def'd out for size reasons, so I pulled the PN/SN code from there and added it directly to the xmltohb.pl script. Change-Id: Idfe50b25c77147ea5e098f6c2c31b99832e264ed CQ:SW444319 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66197 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: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Moves and renames swizzle.H to genericStephen Glancy2018-09-193-8/+9
| | | | | | | | | | | | | | | | Change-Id: I2cedeb3250d8adfbcf7bf57af08e09694a371936 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65702 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65707 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>
* Forcibly clear all previous wakeups when the PM Complex startsDan Crowell2018-09-198-34/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | The power management logic was designed with the assumption that the external callers would manage the state machine such that the order of operations is always: load->start->reset->load->start->reset->etc. However, we have discovered edge cases where a reset can happen before the first load or after a previous reset. In either case we will end up with our wakeup counter being off by one and thus never releasing wakeup. The solution is to add logic to the start path that will explicitly clear the counter out completely, regardless of its current value. This will ensure that wakeup is released once the complex is alive. Change-Id: Ifb436335090ff910b9ee0f083d9a550b81833287 CQ: SW442639 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65518 Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Adds skeleton code for LRDIMMStephen Glancy2018-09-181-0/+1
| | | | | | | | | | | | | | | | | Change-Id: Ifc3b97f9a01a93c1b3f538b5df3e5c69f25cbfee Original-Change-Id: I3f55896a48347fff7152c3a2a68cf8fab4fa0689 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64813 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66317 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove Nimbus dependencies from the SPD decoderAndre Marin2018-09-181-0/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | Created a new pre_data_engine to set preliminary data needed before eff_config. Moved SPD to attribute mapping to eff_dimm structure and away from the SPD decoder to make it reusable for future memory controllers. Updated bugs in unit tests. Added SPD factory classes. This is only needed for Axone. Change-Id: I7a412cf1697051e2f66c857c64729b38943e6b67 Original-Change-Id: Ief0a479ee1c7a4dab852ffb18b595564c0125e35 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/58611 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Dev-Ready: ANDRE A. MARIN <aamarin@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: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66316 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Adds MRW support for x4/x8 DIMM configurationsStephen Glancy2018-09-181-0/+74
| | | | | | | | | | | | | | | | | | Change-Id: Ic6d6fc964bb1ceffc1fed058890080ad6343af73 Original-Change-Id: Ifc5152564cddfcfda2f0ae9e709cad46b1d585b3 RTC:189937 CQ:SW426701 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57832 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@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: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66315 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fixes memdiags broadcast mode address check bugAndre Marin2018-09-181-2/+1
| | | | | | | | | | | | | | | | | Change-Id: I44c5965a03e171699e949628d6cba05372c0181e Original-Change-Id: Ibbbfd3490686f4c43daf9a2cbe06dd8c646f25fa CQ:SW414722 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54036 Reviewed-by: Louis Stermole <stermole@us.ibm.com> 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> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66314 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add plug rule for dual-drop DIMM configs that produce different xlate settingsLouis Stermole2018-09-181-0/+50
| | | | | | | | | | | | | | | | | Change-Id: I3049a116f612822f33932190965bbb89782777ea Original-Change-Id: Ief41995350e46386ed592d4c03dfc1f05e942a5c CQ: SW416081 RTC: 186549 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52972 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66313 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Adds plug rule for NVDIMM in specific DIMM slotsStephen Glancy2018-09-181-1/+61
| | | | | | | | | | | | | | | | | | | | | NVDIMMs can only be plugged into specific slots on certain systems. This code adds in plug rules to ensure that NVDIMM are only plugged into slots that can support them. Change-Id: Ie67bc57b6764df37d2478bb4de22cff1166a5469 Original-Change-Id: Ie54e46bbdf09236c8d6a431dcc41e19af54b9b34 RTC:186541 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52946 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@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: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66312 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Updates memory plug rulesStephen Glancy2018-09-181-1/+165
| | | | | | | | | | | | | | | | | | | | | | Plug rules to update 1) NO LRDIMM's allowed - currently not supported by code 2) No 3DS/non-3DS mixing - hardware workaround 3) No DRAM width mixing - from DRAM technical leadership 4) No hybrid/non-hybrid DIMM mixing Change-Id: I4f5126e10d935a34b3dfa549779fa7ba5c2b11de Original-Change-Id: I5505e37a1ccd2b96860b4c1fef0fdaba0a7f9b21 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/47013 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@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: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66311 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* L3 work for mss xmlsJacob Harvey2018-09-181-1/+0
| | | | | | | | | | | | | | | | mss_spd, mss_volt, mss_general, mss_data_buffer, mss_update_errors Change-Id: I3ec590bffc1e23c146d3cdcb451a0a95a96e9155 Original-Change-Id: I1252d6d11900e88e0842c234c5ed815063e68ec0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42962 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66310 Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove logErrors in plug_rulesJacob Harvey2018-09-181-46/+16
| | | | | | | | | | | | | | Change-Id: I32a1a280dfcc723298208bb2f9170a3aaf709fb8 Original-Change-Id: I4ddbe7b5ee6595ddfef7a46381ddc3f45adac48f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41830 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66309 Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix memory plug rules and error handlingJacob Harvey2018-09-181-101/+179
| | | | | | | | | | | | | | Change-Id: I055b98710a2806ece1422f9b876d54c4acfe7488 Original-Change-Id: I1eddbadb82ce9c5910a2f88260e8c988228fd1ba Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39906 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66308 Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update mss_eff_config to L3Jacob Harvey2018-09-181-1/+1
| | | | | | | | | | | | | | | | | Added error handling and cleaned up mss_eff_config and files touched by the procedure Change-Id: I995f0dfe78eb15d8798ba7bbbc1caa2460a9c1ee Original-Change-Id: I0eaa51b897a8e1df2258e3e2ee73a1611a3f5dca Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36376 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66307 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Implement BC attributes and make eff_dimm classJacob Harvey2018-09-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | Implementing the BC# attributes in eff_config Also implementing an eff_dimm object and factory Move functions from eff_config.C to eff_dimm.C Added MRW attribute for write_crc option Eff_config is no more Change-Id: Ia9937b21d0a81d606b8dd9f59345ce1013dde1fd Original-Change-Id: I16607510454f61410711cbcb5c6715e6f80241dd Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34253 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66306 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add rank config MRW override to plug rulesBrian Silver2018-09-181-26/+115
| | | | | | | | | | | | | | Change-Id: I78ee08cec0dac4ccc1bb900a4c94b18ecd547c8d Original-Change-Id: I4a13a0078242707a3ad56f663d887bed6a9b9687 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33312 Reviewed-by: Louis Stermole <stermole@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: JACOB L. HARVEY <jlharvey@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66305 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add an attribute to avoid the plug rules in partial good scenariosBrian Silver2018-09-181-0/+36
| | | | | | | | | | | | | | | | | | | Update test cases to verify attribute Change-Id: Id3df6c880ee457375aa25ce893d7229e85f2f673 Original-Change-Id: Ia94999cdb67e4745a9fb41bd0542b2e03b4bfa40 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29867 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: JACOB L. HARVEY <jlharvey@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66304 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add enforcement of DDR4 DRAM on Nimbus via plug rulesBrian Silver2018-09-181-2/+17
| | | | | | | | | | | | | | Change-Id: I6e4dd602c16eddc4e6b604b02b55910ba31bdb92 Original-Change-Id: I4e98cf7a1af5176c89f611585fbd72d425d99751 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29245 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66303 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add rudimentary memory plug rulesBrian Silver2018-09-181-0/+292
| | | | | | | | | | | | | | | Change-Id: I32ed76ff3e5e3ff0f5dd333c02f0ccd8158138c6 Original-Change-Id: Id1620d01291aa74d8f80f73d2ad90bd15515787b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28531 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: JACOB L. HARVEY <jlharvey@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66302 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add empty files for plug-rules mirrorBrian Silver2018-09-181-0/+24
| | | | | | | | | | | | | | Change-Id: I3c18f5a93b95ccb3146a24c36994e848ac1b0562 Original-Change-Id: Ib4b79b9c52cf873ce96f90e53f75cfd7a15e48ca Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28529 Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66301 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove to remirrorDan Crowell2018-09-182-1090/+0
| | | | | | | | | | | src/import/chips/p9/procedures/hwp/memory/lib/eff_config/ plug_rules.C nimbus_pre_data_engine.C Change-Id: Ia5e7b3298b13a9906249ef3d00590c5d57fbb497 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66300 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add OCMB_CHIP and MEM_PORT fapi2 test casesChristian Geddes2018-09-189-918/+253
| | | | | | | | | | | | | | | | | | | | This commit adds test cases for new OCMB_CHIP and MEM_PORT target types that are being added to support the new explorer memory buffer used in Axone. Also this commit fixed up the Axone target generation which was missing a break on the inner loop and removed some changes that were made in target.H which was allowing invalid parets to be looked up for dimm targets. RTC: 172970 Change-Id: I7564fbcfcdde2177ece934015fe40c79011f559f Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65511 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> 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: Matt Derksen <mderkse1@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update fapi2 tests cases with Axone targetsChristian Geddes2018-09-1812-1599/+997
| | | | | | | | | | | | | | | | | This commit will add new fapi2 tests case to make sure that the new MCC, OMI, and OMIC target types work correctly. Also in this commit I realized how much of a pain adding new targets can be for these tests so I added some macros to reduce the amount of changes required for some of the tests when new targets get added Change-Id: I5879c23dcd756686e369b1f81e58d56b73b1607f Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65204 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: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update scom test cases with Axone P9 TargetsChristian Geddes2018-09-181-73/+162
| | | | | | | | | | | | | | Add MC, MI, OMI, OMIC, MCC targets to scom tests to test suite Change-Id: I7ad641a833647380b7233910526984f627670184 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65399 Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* eRepair: Fix to update invalidate lane record correctlySumit Kumar2018-09-181-24/+51
| | | | | | | | | | | | | | Change-Id: I77f5de27945a6cd4150203c55f7dc1935eee7eaf CQ: SW445331 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66126 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66131 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>
* RAS_XML: updates to sync the XML with actual values from hardwareZane Shelley2018-09-182-10/+28
| | | | | | | | | | | | | | | | | | Change-Id: I590d6790cd391ff4be984001acd41c6a1ba48a06 CQ: SW445620 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63398 Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@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: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63840 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Clear out HOMER attributes and reset PM in PHYP modeDan Crowell2018-09-183-12/+80
| | | | | | | | | | | | | | | | | | | | During the IPL, Hostboot will initialize part of the PM Complex and setup the HOMER memory spaces. At runtime, PHYP will reinit the complex with its own memory spaces. This change explicitly resets the complex and clears any related HOMER attributes before jumping to PHYP so that the first call at runtime starts completely fresh. Change-Id: I540b79143d5fbba876ffc0ac72721639153a1cfa CQ: SW444669 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65983 Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Targeting support for NVDIMM-N P9 on ZZTsung Yeung2018-09-1816-7/+2288
| | | | | | | | | | | | | | | | | (Redo from previous change https://ralgit01.raleigh.ibm.com/gerrit1/#/c/56096/) -Added interfaces for accessing NVDIMM via I2C -Added attributes to support NV controller on NVDIMM -Moved all attributes to common file Change-Id: Ief68d9d5e0aaadfa017b4fe117bdb3e29739e772 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/59995 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add thread ID into trace_lite tracesMatt Derksen2018-09-181-2/+10
| | | | | | | | | | | | | | | Nice to have this in traces to help figure out some failures. Change-Id: Id4d5dfc2f89628d6fbaadd3ba418dadccdb0e5d3 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66017 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Undo hack for PM change that got revertedDan Crowell2018-09-181-2/+0
| | | | | | | | | | | | | Original change was: I1f7ca865640dfc0a08aef783fd3595d2f249a672 Change-Id: I6aff8378885ef6b49298e8eaefcf046a1b9bdcca Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66225 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Adds skeleton code for LRDIMMStephen Glancy2018-09-1816-6/+474
| | | | | | | | | | | | | | | | Change-Id: I3f55896a48347fff7152c3a2a68cf8fab4fa0689 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64813 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64967 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>
OpenPOWER on IntegriCloud