summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add empty p9a unit test and axone_pre_data_engine files for HB mirroringAndre Marin2019-02-171-0/+24
| | | | | | | | | | | | | | Change-Id: I771015bb61d4b89d46c9570bbe16a57f55645818 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68668 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@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/71982 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: Christian R. Geddes <crgeddes@us.ibm.com>
* Add L1 procedures for p9a and makefilesAndre Marin2019-02-174-0/+28
| | | | | | | | | | | | | | | Change-Id: Ifffd416d18cf52d76e7fb93f5aa73408d5cacd17 Original-Change-Id: I9f56a57f85a1b970bb17adde474ff6f89dc3c19d Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69155 Tested-by: Jenkins Server <pfd-jenkins+hostboot@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/71981 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>
* Add empty HWPs, UTs, and makefiles needed for AxoneAndre Marin2019-02-174-0/+96
| | | | | | | | | | | | | | Change-Id: Iba9ffe506bd84667240f6cb00accbb362e93813d Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69142 Tested-by: Jenkins Server <pfd-jenkins+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/71980 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>
* Add new path in EEPROM device op to allow reading from new EECACHEChristian Geddes2019-02-1628-2602/+3328
| | | | | | | | | | | | | | | | | | | | | | | | | | Recently a new EECACHE section was introduced to Hostboot. This section gets populated with a copy of every PRIMARY_VPD eeprom (someday could contain other eeprom roles also) during host_discover_targets. This commit add support to allow users to select where they want to perform their EEPROM device operation. If they pass CACHE to the deviceOp macro then a read will come from the pnor cache, writes will write to pnor cache and then also write to the eeprom HW. If HARDWARE is passed in then reads and writes will be directly done on the eeprom hardware. If AUTOSELECT is passed the code will check our cache to see if we have a copy of the eeprom in question, if we have a copy we will go the CACHE path, if no copy exists we will go the HARDWARE path. Along with this change some reorganization was done w/ the eeprom related files. RTC: 196805 Change-Id: If2c4e5d3e338a1a10780740c1a019eb4af003b73 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70822 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> Reviewed-by: Roland Veloz <rveloz@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 istep_mss modules makefile to generate mss accessorsChristian Geddes2019-02-162-2/+159
| | | | | | | | | | | | | | | | | | Recently in hostboot we have pulled in a script from the EKB that will parse various memory related XML files and generated header files that the memory HWPs use to access various attributes. This commit will add calls to the makefile to make sure that these headers get generated during the build. Change-Id: I071f32553fc9f8e5cdc3645b18f1ca7870cb80ad Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71870 Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@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 simics xml to match simics model for OCMB port numberingChristian Geddes2019-02-151-7/+7
| | | | | | | | | | | | | | | | | There was a bug where the i2c controller information had the wrong port values for OCBM targets 2-8. Correct value for the port for these targets is 0. In the current axone simics model OCMB 0 is on port 1 and OCMBs 1-8 are behind a 8-1 mux on port 0. Port was correct for OCMB 0 and 1 but incorrect for 2-8. Change-Id: Id34a812e2f278d0bc90beb44ba26b0fec32d2087 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71700 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add new P9A hwp error xml path to fapi2 file generation makefileChristian Geddes2019-02-151-1/+3
| | | | | | | | | | | | | | | | In fapi2.mk we run a lot of scripts which generate various headers based upon information we parse for different XML files. We were missing the new path of XML files that was added for Axone and this commit addresses that. Change-Id: I2815221483a71d62120503b35feaa5c719cc8866 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71943 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: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Explorer_inband support: add response data buffer to getRSPMatt Derksen2019-02-153-4/+23
| | | | | | | | | | | | | | | | | | | getRSP can check if a data response exists and then grab that data and load it into a vector. The caller is responsible for converting the data into big endian format for their expected response structure. Change-Id: Ie97488cde7036c230ab02610b5105e590c5d4249 RTC:186630 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69533 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@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: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69561 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
* Use proper top-level include for fapi2 targetDan Crowell2019-02-157-14/+14
| | | | | | | | | | | | | | | | | | There is a specific order of #include for fapi2 header files. The generic name (target.H) is the only one that should be used by application code. That header will include the fapi2-specific header (fapi2_target.H) and the plat-specific (plat_target.H) in the proper order. Change-Id: I7e7c3429bfccbc7e1e675a8716fc127695cad15a Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71539 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> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Support tool that can package UCD* flash images into a binaryNick Bofferding2019-02-152-1/+488
| | | | | | | | | | | | | | | | - Implements new tool that takes UCD* flash images, aggregates them together, and puts a TOC on the front. Supported UCD models include UCD9090 and UCD90120A - Distributes the tool to FSP and OpenPOWER trees Change-Id: I21af0d0dc5b9234d9be50227c2752a136bb2aad6 RTC: 201992 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71548 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add call to exp_check_for_ready to istep 10.4Christian Geddes2019-02-152-13/+62
| | | | | | | | | | | | | | | | | | As per P9 Axone IPL flow doc, this HWP needs to be called on every functional OCMB targets. This is called after the p9a_ocmb_enable hwp is called in this istep. Change-Id: I5bab233545769f396ba35b6d61c0733a9afd9087 RTC: 195553 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71787 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add expscom test casesChristian Geddes2019-02-155-6/+738
| | | | | | | | | | | | | | | | | | This commit introduces some tests that check that scoms out to the explorer chip work. This first commit only enables test through the i2c path to ddimm0. Eventually expscomtest.H should contain tests that write and read over both i2c and mmio on ddimms that are and are not behind mux chips. Change-Id: I9a0e6612fd1d72a26991b936301aabd29508db90 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69579 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: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix tags in exp_omi_train attribute xmlChristian Geddes2019-02-151-5/+7
| | | | | | | | | | | | | | | | | | | There was some bugs where we were defaulting to zero instead of using the <initToZero/> tag and did not specify platInit on values with real defaults. These changes are required in order to make this XML consumable by Hostboot Change-Id: Iab9ea1b4681c2a4d78050f271dc52326016d2ded Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71944 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: 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/71949 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Convert mss explorer and axone code to use attr accessorsLouis Stermole2019-02-151-0/+7
| | | | | | | | | | | | | | | | | | Add more xml files to accessor generator makefiles Also fix const param errors in attr setter functions Change-Id: I4d8bd353689fe65179c4cd47cfef11b849e24147 Original-Change-Id: I178ee5c420cf6f9f8bae61a6ad80bdaea81e231f Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69954 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: STEPHEN GLANCY <sglancy@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/71935 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Add new MSS attributes for AxoneLouis Stermole2019-02-151-0/+15
| | | | | | | | | | | | | | | | | | | | | ATTR_MEM_MRW_IS_PLANAR ATTR_MEM_EFF_DIMM_SPARE ATTR_MEM_VPD_DQ_MAP Change-Id: I1e63f4d6113f4adbcd7f149f00c14bb023115611 Original-Change-Id: I36915bf7aa8c6fffc3e8b27aea595d9feb1760dc Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69903 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@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: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71934 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Update setup_fw_boot_config() to read out actual values from attributesAlvin Wang2019-02-151-0/+146
| | | | | | | | | | | | | | | Change-Id: I8240116e74612023ea4e827e1812318fa0931837 Original-Change-Id: I2574f01fceb79fb0d3234010581aab92d48ce409 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68248 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: JEREMY R. NEATON <jrneaton@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/71933 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Port-over generic SPD attributes that shouldn't change per controllerAndre Marin2019-02-151-0/+749
| | | | | | | | | | | | | | | | Change-Id: Ia6354f8caea694d35b5322254e6102bc56015ca6 Original-Change-Id: I39a4f22146735332d6316f7b16c39868f5f637c8 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65461 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: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71932 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: Christian R. Geddes <crgeddes@us.ibm.com>
* Add empty generic memory effective attr xml for HB to mirrorAndre Marin2019-02-151-0/+26
| | | | | | | | | | | | Change-Id: I2a3f074759fef77845d8f03adf4511b94ae7253e Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66749 Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@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/71931 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Added initial copy of generic_memory_si_attributes.xmlAnuwat Saetow2019-02-151-0/+454
| | | | | | | | | | | | | | Change-Id: Iee59ccbc38b16a277e1ec369d9690724b1fc3165 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65405 Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: BRIANA E. FOXWORTH <befoxwor@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@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/71930 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: Christian R. Geddes <crgeddes@us.ibm.com>
* Manually garded targets incorrectly being resource recoveredMatt Derksen2019-02-151-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Garded targets were not always setting GARD_APPLIED bit in ATTR_HWAS_STATE_CHANGED which was causing ATTR_BLOCK_SPEC_DECONFIG to always be set after a resource recovery. To recreate failure: 1) gard a critical target (gard --md 0x50000) 2) IPL 3) verify resource recoverd (gard --gc fabric) 4) verify ATTR_BLOCK_SPEC_DECONFIG set to 1 (hwsvCmd -y) 5) power down 6) clear previous gard (gard --clr all) 7) gard all XBUSes (gard --md 0xE0000 .. gard --md 0xE0005) 8) IPL 9) verify XBUSes were incorrectly resource recovered (gard --gc fabric) This SPEC_DECONFIG code was added in fips920. We don't believe the fix needs to go back because it requires a double failure and manual garding. The first failure must be a gard of a critical resource, which forces a reconfig. In the field, the failed parts would be replaced and rely on a different bit (RESRC_RECOV) and code path. Also, if this isn't fixed the targets will just be garded again later. This also only applies to Predictive garded parts. Change-Id: I183b74ef200a5034e5dba20c0f64ad8f75763167 CQ:SW454599 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71929 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: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Better logging for Partial Good Issues (2/2)Matt Raybuck2019-02-1514-60/+661
| | | | | | | | | | | | | | | | | | | PG issues were only ever displayed in traces. This commit creates a new error log user detail section that will display the PG vector and highlight which entries have issues. In addition, targets that are determined to be non-functional will be added to the log and a hardware callout will be added if a chip is found non-functional. Change-Id: I9b401bcd5686951303946789034671c1a395fb91 RTC:180365 CMVC-Prereq:1075293 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70004 Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@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>
* Add a couple useful traces to the PNOR build scriptDan Crowell2019-02-141-2/+10
| | | | | | | | | | | | | | | Added a couple traces that indicate more clearly when and how we are rearranging sections for our CI tests. Change-Id: I33dbfa546218684d3039477de0cdfe7f12fb31c6 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71613 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@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: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Revert "Adds exp_draminit_mc"Jennifer A. Stofer2019-02-142-108/+0
| | | | | | | | | | | | | | | | | | | This reverts commit 7a9e1cebc8cf1304102f6032cf65a8bb781005c1. Change-Id: I3f49c62572b26715a1875dca5a2ca25deba891c6 Original-Change-Id: Id86cd49977c4311e89d37186cfa302abc7877cfb Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71146 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: ANDRE A. MARIN <aamarin@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/71849 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: Christian R. Geddes <crgeddes@us.ibm.com>
* Adds exp_draminit_mcAlvin Wang2019-02-142-0/+108
| | | | | | | | | | | | | | | | Change-Id: I7c3c1f703adaa35b98187edf84ee8c442b05e089 Original-Change-Id: Ib4a31d2893c5524e3b2ce9128a2c4900bd82b2c0 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68597 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: Louis Stermole <stermole@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@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/71848 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Adds initfile for ExplorerBen Gass2019-02-142-0/+89
| | | | | | | | | | | | | | | | | Change-Id: Icf52808681df2346de80ecc5a6def36aed4a2ef4 Original-Change-Id: I8dc18bbe6850199de4a0fee2bc88e275ae484a82 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64063 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> Reviewed-by: Benjamin Gass <bgass@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@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/71847 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Rename exp procedures files to match FW docAndre Marin2019-02-148-0/+192
| | | | | | | | | | | | | | Change-Id: Id3873ba6b62cea95a757500efd063d79f9f34322 Original-Change-Id: I1c16801f3ecff886028af4d0cee3dec1ac1a435e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/62668 Tested-by: Jenkins Server <pfd-jenkins+hostboot@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/71846 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Add p9a_mss_volt procedureLouis Stermole2019-02-141-1/+20
| | | | | | | | | | | | | | | | | Change-Id: I35d60362696a550954860dad4db08ea41190ba8d Original-Change-Id: I893685b365f6c815653717d4cc8149f2ea7acb94 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68412 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: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@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/71845 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: Christian R. Geddes <crgeddes@us.ibm.com>
* Add L1 procedures for p9a and makefilesAndre Marin2019-02-148-0/+224
| | | | | | | | | | | | | Change-Id: I9f56a57f85a1b970bb17adde474ff6f89dc3c19d Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69155 Tested-by: Jenkins Server <pfd-jenkins+hostboot@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/71844 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: Christian R. Geddes <crgeddes@us.ibm.com>
* Explorer registers and fields generated from devBen Gass2019-02-141-24/+0
| | | | | | | | | | | | | | | | Removed *_fixes.H files because we're not using the FIX macros Change-Id: Ia2114437d438b47ededd5aa40e6047a7b9f6a600 Original-Change-Id: I3a944f5c22305f6fbecdf7bb7c74a31928ccf268 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65472 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/71843 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: Christian R. Geddes <crgeddes@us.ibm.com>
* Adds p9a chip directory structureStephen Glancy2019-02-1427-0/+648
| | | | | | | | | | | | | | Change-Id: I8174da6acab79848b33f3e3b3f4b92b3b97001e6 Original-Change-Id: I0d4825b953fcb59655caa3dec814a7f90bf46440 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56017 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+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: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71842 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* FAPI2: Multicast API 2/2: Introduce the actual multicast functionsJoachim Fenkes2019-02-146-14/+279
| | | | | | | | | | | | | | | | | | | | | Chip targets gain a getMulticast() method to generate MC sub-targets. The meaning of getParent()/getChildren() is updated to reflect MC specialties. Add an API call to update the multicast group mapping table per chip. For details, please see hwpf/fapi2/docs/topics/multicast_doc.C Change-Id: I4cea561fd14324b1accedf4ffaae9943159caf71 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69457 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Matt K. Light <mklight@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/70946
* FAPI2: Multicast API 1/2: Platform-breaking changesJoachim Fenkes2019-02-148-94/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Target gains a new template parameter, M, that specifies the multicast type. This is propagated through all affected header files. A new target type is introduced, TARGET_TYPE_MULTICAST, and platform specific assertions put in place to prevent users from creating such targets before the platform supports it. Target also grows a new inline function for updating MC targets. Platforms not supporting MC can provide a dummy implementation. The example platform code in fapi2/include/plat/plat_target.H is updated with minimal example code for platform implementers. Change-Id: Ia0990f26890dc5c719caca608cd134a4964a3acf Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69456 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-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: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70867 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
* Update FAPI2 functions to handle new template parms for multicast supportduchen2019-02-144-41/+60
| | | | | | | | | | | | | | Include changes 70177, 70867, 70946 and get them compiling Due note that this will not compile as is because we still need some changes on the ekb side. List of such changes include: 1) fapi2_hw_access.H: MulticastGroupMapping not defined 2) fapi2_target.H: plat_apply_target_limits() and mcUpdateHandle() not defined 3) multicast_defs.H: MulticastCoreSelect enum not defined Change-Id: Ib828644d1535c65f4adcf9b3715cf0b1316f5700 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71310 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PRD: PlatServices support for NVDIMM persistency lost msgCaleb Palmer2019-02-143-3/+41
| | | | | | | | | | | | | Change-Id: Ifc2029d18052b9bc2b44a5636ec7d0707d31b3b1 RTC: 204394 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71617 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71868 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>
* Convert mss explorer and axone code to use attr accessorsLouis Stermole2019-02-131-5/+4
| | | | | | | | | | | | | | | | | | | Add more xml files to accessor generator makefiles Also fix const param errors in attr setter functions Change-Id: I4f30451d92b767cc380005a586e95aafc4771f50 Original-Change-Id: I178ee5c420cf6f9f8bae61a6ad80bdaea81e231f Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69954 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: STEPHEN GLANCY <sglancy@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/71832 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: Christian R. Geddes <crgeddes@us.ibm.com>
* Add ATTR_MSS_MEM_MVPD_FWMS to generic xml and fix accessorLouis Stermole2019-02-131-29/+44
| | | | | | | | | | | | | | Change-Id: I5ad8d4d989d84aec572af4c7a924567b863cb464 Original-Change-Id: Ia792b99afd94cf216e3036167dcd849e8936bdf0 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69998 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@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/71831 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Add new MSS attributes for AxoneLouis Stermole2019-02-131-1/+4
| | | | | | | | | | | | | | | | | | | | | ATTR_MEM_MRW_IS_PLANAR ATTR_MEM_EFF_DIMM_SPARE ATTR_MEM_VPD_DQ_MAP Change-Id: I2495b48850f8cce3ababfeea66e33ddbfc81acfb Original-Change-Id: I36915bf7aa8c6fffc3e8b27aea595d9feb1760dc Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69903 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@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: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71830 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Add generic attribute accessor script and makefilesLouis Stermole2019-02-132-0/+1253
| | | | | | | | | | | | | | | | | | | Added makefiles for generic and ocmb/explorer attrs Also add mssAccessorName tag to explorer attrs Change-Id: Ie1ddcd10505bafde881a0fac5ca4580ba593bd24 Original-Change-Id: I738c44e9bdf1999eb2746e79d4849683204ae567 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69017 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@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/71829 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
* Update to allow DDR4-SORDIMM modules to be used [3].Evan Lojewski2019-02-134-1/+13
| | | | | | | | | | | | | | | | | Add support for the module type in the SPD parser. This change has been tested with the VR9FR2G7228JBKSBD4 module from Viking Technologies: 2666MHz DDR4-SORDIMM, rank 2, 16GB Note- Above mentioned module need an additional patch due to an unexpected SPD manufacturer being detected. Change-Id: Iaf8d78579381c48cbe6b735d02dd624855d0e57e Signed-off-by: Evan Lojewski <github@meklort.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71055 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: Christian R. Geddes <crgeddes@us.ibm.com>
* Axone core initfile update to match Nimbus DD23Jenny Huynh2019-02-131-77/+568
| | | | | | | | | | | | | | | | | Change-Id: I8c00727d5c5d6692b02b8239eb43a45c944a0e88 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70198 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-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: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Benjamin Gass <bgass@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70224 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: Christian R. Geddes <crgeddes@us.ibm.com>
* Added Alink changes in attributes and initfilesPretty Mariam Jacob2019-02-134-761/+618
| | | | | | | | | | | | | | | | | Change-Id: I6572bfaa5834c585901ce9a5fc923f82a296b930 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70689 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-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: Soma Bhanutej <soma.bhanu@in.ibm.com> Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Reviewed-by: Benjamin Gass <bgass@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70722 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Memory Controller Axone initfiles - initialAdam Hale2019-02-1318-25/+1173
| | | | | | | | | | | | | Change-Id: I6255f1e3aac26bc20b9331e58c445939b19cc17c Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69199 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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: SHELTON LEUNG <sleung@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69202 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
* Updates MCA write and read timingsStephen Glancy2019-02-138-13/+328
| | | | | | | | | | | | | | | | | | | | Allows LRDIMM's to pass MCBIST writes and reads Updates initfile code to use new attributes Change-Id: I69c19bdc66ca3ab1ace61bbc49101f6ca8267065 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68568 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Dev-Ready: STEPHEN GLANCY <sglancy@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: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68573 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Update i2c driver for OCMB chipChristian Geddes2019-02-132-26/+40
| | | | | | | | | | | | | | | | | | | | | | | After doing some testing with the simics Axone model we found that we had some errors in the protocols used to do reg reads and writes. We had to put extra dummy information when we latch and address to read and also we were not reading enough bytes when reading the status. This commit addresses both of these issues. Change-Id: I15ce40ef28d6c6c2303fe600986c8872b0829ad0 RTC: 196806 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69575 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@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: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69584 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: Christian R. Geddes <crgeddes@us.ibm.com>
* Add EEPROM caching device opChristian Geddes2019-02-1313-174/+994
| | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces a new EEPROM_CACHE deviceOp and registers the OCMB_CHIP, PROC, and DIMM targets to it. This is part of the larger effort to transition for a "VPD" cache to an "EEPROM" cache in pnor. The deviceOp is currently called in hwasPlat's platPresenceDetect if the target in question has a ATTR_EEPROM_VPD_PRIMARY_INFO associated with it. The layout for the new EECACHE section in pnor is defined in eepromCache_const.H. Essentially it is a header that contains an array of record headers that tell where in the EECACHE pnor section a given cached EEPROM can be found. All EEPROM targets will be allocated space in the EECACHE section but only present targets will have their cache filled in. RTC: 196805 Change-Id: I49c341c9784be04ddf0259bd444f06c9baf8c6f1 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70520 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: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Disable Sync TestChristian Geddes2019-02-131-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SyncTest has been periodically failing with with a data storage exception. While this is being looked at we will disable the test to stop it from failing CI tests. Fail being seen: |-+ TID 840 State: Block on Futex(0x80000000081da810) SyncTest::watch_counter(void*) [libtestsyslib.so] NIP : _syscall5+0x4 : 0x00002928 F[00]: sync_cond_wait(_cond_imp_t*, _futex_imp_t*)+0xd0 : 0x00010ee0 F[01]: SyncTest::watch_counter(void*)+0x5C : 0x40bc0a7c F[02]: task_end_stub+0x0 : 0x00002710 |+ TID 841 State: Block on Futex(0x80000000081da7f0) SyncTest::increment(void*) [libtestsyslib.so] NIP : _syscall5+0x4 : 0x00002928 F[00]: barrier_wait(_barrier_imp_t*)+0x13c : 0x0001084c F[01]: SyncTest::increment(void*)+0xE8 : 0x40bc09f8 F[02]: task_end_stub+0x0 : 0x00002710 |-+ TID 842 State: Zombie(Crashed) SyncTest::increment(void*) [libtestsyslib.so] NIP : UNKNOWN+0x0 : 0x7c5b03a63840002c F[00]: _start+0x0 : 0x00000000 RTC: 204720 Change-Id: Ie5546167cf3728b168b504db8a24389af36aa26e Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71792 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: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix issues w/ axone updates to simics scriptsChristian Geddes2019-02-134-21/+52
| | | | | | | | | | | | | | | | | | | | | | | | | Simics teams were hitting a problem trying to boot older simics models because our scripts relied on $MACHINE being set to CEC_MODEL. This value gets set by linux so we cannot rely on it. Instead use the old way to lookup MODEL for older version of simics, and for new way, (axone and beyond) just force MODEL to be "AXONE" for now. Eventually simics team needs to provide interface to lookup MODEL. Also in this commit we need to write "0x5A5A5A5A" to the SBE seeprom images to avoid updates, update the simics backing build, and change the CLI args for hb startsimics in axone to no longer use -o and always pass in the path to the combined SBE image/ HBBL image Change-Id: Ib477e86b0b8aa1a4d44545c62b16fc2cbed2034b CQ: SW453806 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71323 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: CALEB SCHLOSSIN <calebs@us.ibm.com> Reviewed-by: VIJAY F. LOBO <vflobo@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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add Node Communications Transfer ProtocolMike Baiocchi2019-02-138-213/+738
| | | | | | | | | | | | | | | | | | This commit adds a more flexible Node-to-Node Transfer Protocol that will be used for the secureboot/trustedboot algorithm in multi-node configurations. The original message transfer has been updated to use this new transfer protocol. Change-Id: I12704e8d71d8c0aac52c286160322f9b845a5026 RTC:203641 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71317 Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@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>
* Adds p9a_omi_train procedure(START)Alvin Wang2019-02-1311-55/+1328
| | | | | | | | | | | | | | | | Change-Id: Iafa88363b862e9175982836f1686199e9366d555 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69721 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@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: 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/69872 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: Christian R. Geddes <crgeddes@us.ibm.com>
* Added p9a_omi_train procedureAlvin Wang2019-02-132-0/+81
| | | | | | | | | | | | | | | Change-Id: Id0a163cdae74abd0fe4562444f6e97be0562b653 Original-Change-Id: Icc48dd9103f045119760f965c1df672833b60662 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68723 Tested-by: Jenkins Server <pfd-jenkins+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/71763 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>
OpenPOWER on IntegriCloud