summaryrefslogtreecommitdiffstats
path: root/src/usr
Commit message (Collapse)AuthorAgeFilesLines
* Moving libnvdimm into a resident moduleDan Crowell2019-03-221-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | The nvdimm module provides the back-end of a device driver interface. That means that it has a REGISTER_ROUTE call that will run when the module is loaded. Right now the module is loaded/unloaded for several isteps, which means we end up seeing DEVFW_RC_DOUBLE_REGISTRATION errors. These are only informational, but they are still indicating a problem. This change moves the libnvdimm.so module into the list of extended initservice tasks that get loaded before we start the isteps. This is where all of our other device drivers live. I cleaned up a leftover call to libmmio.so that was there from the same kind of change previously. Change-Id: I3e2e1bc8e273b46b8c297be0d9d75ff3e660fa00 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72731 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: William G. Hoffa <wghoffa@us.ibm.com>
* Support UCD for I2C calloutsMatthew Raybuck2019-03-213-49/+164
| | | | | | | | | | | | | | | Adds in the necessary code to have UCDs in the current I2C callout API Change-Id: I505373da5b53c194270bf414f546877f6baee390 RTC:205982 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73360 Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-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: Daniel M. Crowell <dcrowell@us.ibm.com>
* OPAL/MPIPL: Processor Dump Area Table interfacesRaja Das2019-03-219-7/+512
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support to collect processor architected register data. SBE <--> Hostboot : ------------------- During first boot, hostboot reserves memory to copy architected register data by SBE and sends address to each SBE (see commit 9f49d11b). During MPIPL SBE collects architected register data and copies to reserved memory. Hostboot <--> Hypervisor : -------------------------- HDAT/SPIRAH has new ntuple (Processor Dump Area) to pass various architected register data. During IPL/runtime hypervisor reserves memory for architected register data and updates SPIRAH. During MPIPL (istep 14.8), hostboot converts SBE formated architected registers data to HDAT format and copies to hypervisor reserved memory. It uses NACA/SPIRAH pointers to get hypervisor reserved memory details. Hostboot has to update SPIRAH ntuple after loading new LID to memory. Hence this patch introdues below new attributes: - PDA_CAPTURED_THREAD_REG_ARRAY_ADDR - PDA_CAPTURED_THREAD_REG_ARRAY_SIZE - PDA_THREAD_REG_ENTRY_SIZE - PDA_THREAD_REG_STATE_ENTRY_FORMAT Change-Id: Idc7489e8cf6fc68fe80f028ba6deb97aa72486bf CC: Sampa Misra <sampmisr@in.ibm.com> CC: Daniel M. Crowell <dcrowell@us.ibm.com> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/61627 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Enable OCC Start in MPIPL path for OPAL based systemsMurulidhar Nataraju2019-03-211-12/+1
| | | | | | | | | | Change-Id: I1101255ce7628e891264d11fd5844a7eb398fba8 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/74801 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>
* Security List Binary Dump Chip-op SupportRaja Das2019-03-212-1/+109
| | | | | | | | | | | | Change-Id: I4a4b7c8fccab508ee59e5e6330b27b07b5ae91f8 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71417 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Ilya Smirnov <ismirno@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: MURULIDHAR NATARAJU <murulidhar@in.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PRD: MEM_PORT getConnected supportCaleb Palmer2019-03-201-9/+17
| | | | | | | | | | | | Change-Id: I51e09b122f1d3b84b2d240e43882f9edafb45d3b RTC: 206186 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72786 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72888 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>
* Compile new Axone/Explorer memory libs in isteps_mss libraryChristian Geddes2019-03-201-2/+17
| | | | | | | | | | | | | This commit will make isteps_mss.so contain the required libraries for Axone and Explorer chips. Change-Id: I14fee93aecce6d694c1360fbca2d6d24b982ab13 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/74695 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>
* Update UCD class member variables and functionsMike Baiocchi2019-03-202-51/+75
| | | | | | | | | | | | | | | | | This commit makes Ucd class member variables to hold the I2C information stored in an attribute of the UCD. It also makes updateUcdFlash() a member function. Change-Id: I66221f0bd1b7dbe82ed4547c0635fbf99628471b RTC:205979 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/74674 Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Matthew Raybuck <matthew.raybuck@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>
* UCD flash update invokerNick Bofferding2019-03-202-48/+564
| | | | | | | | | | | | | | | | | | Implements the main algorithm for finding applicable UCDs to perform flash update on and walking the UCD flash image table of contents to find the image associated with a UCD. Also adds a check to skip the update if simics is running. RTC: 201991 Change-Id: Ib35abec2f0a2ed22ae8d41a2acecd146f699bc43 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73484 Tested-by: Jenkins Server <pfd-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: Matthew Raybuck <matthew.raybuck@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: Daniel M. Crowell <dcrowell@us.ibm.com>
* PRD: Remove EccSp from errl when not availCaleb Palmer2019-03-203-6/+7
| | | | | | | | | | | | | | | | Change-Id: Ib57dc550fc71ba12e4cf98a7e3eaae5745ec3594 CQ: SW458138 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73427 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Benjamen G. Tyner <ben.tyner@ibm.com> Reviewed-by: Paul Greenwood <paul.greenwood@ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/74683 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>
* PRD: NVDIMM reg review updatesCaleb Palmer2019-03-203-81/+251
| | | | | | | | | | | | | | | | | Change-Id: I81614ce325b84fd6c64fe98f1848b9a0ea8a0687 RTC: 204560 CQ: SW460080 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72592 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Paul Greenwood <paul.greenwood@ibm.com> Reviewed-by: Benjamen G. Tyner <ben.tyner@ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/74685 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add ASSERT trace buffer to task crash logDan Crowell2019-03-191-1/+4
| | | | | | | | | | | | | | | | | | A common cause of task crashes is an explicit assert. Without full traces we can't differentiate an assert from a nullptr error, and we don't know which line failed. This will add the ASSERT trace to the error log that gets created for any task crash. Change-Id: Ieaccf74ab7c8688109b80b0e22818e45cfdb8028 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72557 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Catch Unknown Values for CONFIG_APPLY attributeBill Hoffa2019-03-191-0/+7
| | | | | | | | | | | | | | - If an unknown value is encountered the default value will be used instead Change-Id: I151574914d4e2a72fd4cdca0ca014dd45eab9ac8 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73256 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* TESTCASES: Improve performance of general PG algorithmMatthew Raybuck2019-03-181-988/+322
| | | | | | | | | | | | | | | Updates to the testcases for the new PG algorithm Change-Id: I015c5c3174e22ebbdd6cb2b2cf256ba5686844cf RTC:206066 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72733 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: Glenn Miles <milesg@ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Improve performance of general PG algorithmMatthew Raybuck2019-03-182-248/+380
| | | | | | | | | | | | | | | | | | | The previous PG algorithm had several places where targets would be rechecked or modified unnecessarily. This commit restructures the PG algorithm and pulls all related code out of discoverTargets and adds it to checkPartialGoodForDescendants which will be called by discoverTargets. Change-Id: I045f17f7ac22c673633cd3d951997b2371be1b8d RTC:206066 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72732 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: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add functions to get Device Id and MFR revision from UCDMatthew Raybuck2019-03-181-9/+324
| | | | | | | | | | | | | | | | This will add the necessary functions to properly read the Device Id and MFR revision from the UCD90* devices on a ZZ or Zeppelin system. Change-Id: I38ffdffb62bf1c1af8941819cdbd74458308879f RTC:205979 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73185 Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@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>
* Add UCD devices to ATTR_I2C_BUS_SPEED_ARRAY for ZZMike Baiocchi2019-03-181-1/+6
| | | | | | | | | | | | | | | | | | This commit adds specific support for the UCD9090 and UCD90120A devices to be added to the ATTR_I2C_BUS_SPEED_ARRAY that Hostboot uses to know which I2C buses have devices on them and what speed thoses buses should be run at. Change-Id: I74c73dc4ed6528eb8937795c105da79101a9f1e3 RTC:205979 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73505 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: Matthew Raybuck <matthew.raybuck@ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Adjust I2C Reset for OpenPower MPIPLMike Baiocchi2019-03-182-3/+99
| | | | | | | | | | | | | | | | | A new internal I2C function was created to read the Security Switch Registers "Seeprom Update Lock" ("SUL") bit and reduce the I2C reset level if set to avoid Arbitration Lost errors during an OpenPower MPIPL. Change-Id: I1709b425182be92377a988cd64d5683733236b05 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73405 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: Matthew Raybuck <matthew.raybuck@ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PRD: Don't skip ECC spare when no DRAM spareCaleb Palmer2019-03-181-1/+2
| | | | | | | | | | | | | | | | Change-Id: Ibc9dcb61a7e94aad5c9651ad8a838dcabb036fca CQ: SW459261 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73240 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-by: Benjamen G. Tyner <ben.tyner@ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73446 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>
* Skip establish ex chiplet step (15.3) during Axone for nowChristian Geddes2019-03-171-0/+2
| | | | | | | | | | | | | | | | For some reason when we set the multi-cast groups it breaks some multi-cast registers in simics that PRD uses after isteps. For now just skip this step so we can continue with the IPL. Change-Id: I2511ecb35ab32dae1d9a334964bc88317de74ef0 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73149 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: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Set MAX_COMPUTE_NODES attribute so TOD code gets setup correctlyChristian Geddes2019-03-171-0/+4
| | | | | | | | | | | | | | | | | Without this change during istep 18 we hit errors trying to determine correct configs. This attribute was getting defaulted to 0 which got multiplied resulting the software telling us 0 procs were allowed. By setting this to 1 the issue was resolved Change-Id: I78ed0a82036f86daf8de02d14107de86ccbf2d7f Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73151 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: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Allow single dimm configurations in AxoneChristian Geddes2019-03-171-1/+1
| | | | | | | | | | | | | | | | | | This attribute was likely copied from Cumulus where single dimm configurations we invalid. In Axone single dimm configurations should be valid. I hit this during bringup when I had the simics scripts configured in a way that was only making a single dimm detectable Change-Id: I13908a18ba22a63fae74c68f2d43221dce0a07f1 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73194 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-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: Chen Du <duchen@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add std::remove_all_extends to HB STL libraryAndre Marin2019-03-151-0/+60
| | | | | | | | | | Change-Id: I6fa0e9930a9d8340416ab3c775238f60931882d8 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72688 Tested-by: Jenkins Server <pfd-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: Chen Du <duchen@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fixing runtime i2c operationMatt Derksen2019-03-152-13/+37
| | | | | | | | | | | | | | | | | Base i2c operations were updated with new parameter for UCD work, but runtime i2c was not updated. Also fixing orphaning error log memory and potentially calling toString on a nullptr. Change-Id: I6c912e71b22da80b166e13dc66bdf0e5a51abfbb CQ:SW459731 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73361 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@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> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Support UCD target generation for Zeppelin MRWMatthew Raybuck2019-03-152-27/+198
| | | | | | | | | | | | | | | Update processMrw.pl and Targets.pm to generate UCD targets for Zeppelin Change-Id: Ie7e6513b4072c2d9f4a989914337ec72c018fe6b RTC:201991 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73072 Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Support UCD discoveryNick Bofferding2019-03-155-12/+92
| | | | | | | | | | | | | | | | | | - Added new attribute to indicate if target should be assumed present - Added that attribute to SP/BMC/UCD targets - Check for assumed present UCDs in discover targets - Iterate through every UCD for data flash update RTC: 201991 Change-Id: Ia535a58ea0355582621a23d3c1b50b2417ad362f Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73047 Reviewed-by: Matthew Raybuck <matthew.raybuck@ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@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>
* Dropped messages at shutdownChen Du2019-03-152-35/+104
| | | | | | | | | | | | | | | | | | | Mailbox is needed to send attrs to FSP but it is disabled after a shutdown request, which causes messages to be dropped. Solution is to process messages as normal, but after the shutdown is requested we then ignore all future attr messages Change-Id: I7f3cc4bea66f324ae9ab8dbffe59bf9a7a7edc87 CQ: SW448904 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71012 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@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>
* Disable OCMB mmio communication tests until MMIO worksChristian Geddes2019-03-142-2/+4
| | | | | | | | | | | | | We want to start running Axone in CI and this is blocking ,disable for now. Change-Id: Iadf61be5a4c8e61e659848c7be74080d88cf131d Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73249 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Support UCD target generation for ZZ MRWNick Bofferding2019-03-131-3/+109
| | | | | | | | | | | | | | | - Updated Hostboot parser to generate UCD targets for ZZ Change-Id: Iac08aa456d8ba7e429473b196c7fdcdad426ac63 RTC: 201991 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72968 Reviewed-by: Matthew Raybuck <matthew.raybuck@ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@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>
* Fix issues with how we were handling new .so added for AxoneChristian Geddes2019-03-131-26/+4
| | | | | | | | | | | | | | | | | | This commit addresses two problems, one is that we were loading and unloading expaccess.so in the ocmbcomm tests when it is included in the extended image. Also we had mmio.so listed as a DEP lib in istep 12, this caused it to get unloaded after that step. This .so is also part of the extended image. To remove compile errors I added these new .so's to the listdeps.pl script. Change-Id: I83292a53e0021c05468605e62f9b00cefc2af268 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73182 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add callouts for NVDIMM errorsCorey Swenson2019-03-118-44/+85
| | | | | | | | | | | | | | | | | | - Add part callout for NVDIMM controller - Add part callout for Backup Power Module - Call new procedure for NVDIMM errors Change-Id: I33d14b8e4220ced3c632c8174eaed5faca4f088d RTC:199645 CMVC-Prereq:1077602 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71977 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-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: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: TSUNG K. YEUNG <tyeung@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Skip enabling PM complex (start_stop_engine HWP) in Axone simicsChristian Geddes2019-03-111-1/+6
| | | | | | | | | | | | | | | | For now, until the OCC / PM complex gets straighted out in simics we will just skip enabling the PM complex in Axone. We should be able to continue to boot even while skipping this step. Change-Id: Ic38c1d46922767c6a9efa14e26932233afacc0d7 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73033 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: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Run memory training in parallel across centaursGlenn Miles2019-03-113-68/+154
| | | | | | | | | | | | | | | | | | | -Uses a thread pool to do memory training for multiple (up to 4) centaurs at a time. -Also fixes mdiasm.C to set the thread pool count before creating a thread pool instead of using whatever was set before it. Change-Id: I7331bfcd0e1e85af1b825e8ac4e0d1d76924014a RTC: 71239 CQ: SW454787 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71614 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@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>
* Use thread_local for globals that require itGlenn Miles2019-03-112-33/+23
| | | | | | | | | | | | | Change-Id: I84294a60c53da2501b7bb1b53fe84d9f9709f8b1 RTC:147599 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72379 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: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Thread local storage: Update unit tests for thread local storageJaymes Wilks2019-03-1114-19/+978
| | | | | | | | | | | | | | | | | | | | Test cases now support TLS tests for: - intra translation unit (already existed) - inter translation unit, within the same module - inter module - trivial and non trivial constructors - both orders of declaration and usage Change-Id: I71681b00525bfe3e7906541e0b5b4c21a8556beb RTC:147599 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72633 Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-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: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Support thread local storageJaymes Wilks2019-03-112-4/+16
| | | | | | | | | | | | | | | | | | | | | | | Generally adds support to declare variables as thread_local - Add support in HBRT start assembly to skip adjusting TLS relocations - Add support in linker to generate tagged TLS entries - Update linker to process TLS relocations correctly - Update TLS code to ignore top half of module ID - Update module images to hold a "module ID" - Update custome linker to update module ID during binary link - Update TLS code to track TLS sections via module ID Change-Id: I1589550d7787beb08827ca24a728397dedf0373b RTC: 147599 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71709 Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-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: Daniel M. Crowell <dcrowell@us.ibm.com>
* UCD attribute and targeting updatesMatt Raybuck2019-03-112-1/+113
| | | | | | | | | | | Change-Id: I6e9f237b421f4eadac8c000784548cf5880582bd RTC: 201991 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71891 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>
* Always use original defaults for attribute fields with no valueDan Crowell2019-03-115-29/+34
| | | | | | | | | | | | | | | | | | When a complex attribute is modified to add new fields, it is possible for the system xml to get generated with blank values for the new fields. This value will then get pushed into the final binary instead of a valid default from the metadata xml files. Change-Id: I26d5434c7039d62486b52eb79b395c6dd3d77db7 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73089 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Create a common explorer accesss module expaccessChristian Geddes2019-03-1119-42/+507
| | | | | | | | | | | | | | Move everything from expscom to the new, more general, expaccess. All code dealing with io to explorer should live here. Also add some ocmb communication test cases. Change-Id: Icd57bc094782873afb18ac22518aa2681db0b933 RTC: 186630 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72224 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> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Fix getChildByAffinity call in mmio.C and add more tracesChristian Geddes2019-03-081-4/+4
| | | | | | | | | | | | | | | | | There was a bug in mmio.C where we are trying to find the ocmb targets associated with a proc. We are looking up UNITs which is wrong because OCMBs are CHIPs so this commit addresses that. Also this commit elevates some debug traces to real traces to help with bringup. Change-Id: I9c11ca4a30c24192955474148cf4e61cca16489c Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72964 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Create runtime mss libraryDan Crowell2019-03-083-8/+105
| | | | | | | | | | | | | | | Creating a runtime library to hold a subset of the memory HWP code that is required for runtime functions (mainly PRD). Change-Id: I7456a5309d823b652261239a27e4a45fc5082a07 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72653 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: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Add p9a_omi_training_check hwp call to istep 12.9Christian Geddes2019-03-082-2/+43
| | | | | | | | | | | | | | | | | For the Axone IPL flow we need to check that omi training has completed. We do during the establisted istep 12.9 which we have set aside for post-memory interface training steps. Change-Id: Ibf43b1b69977ace1e3ca7e9e2c96167958a86e04 RTC: 195554 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72440 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: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* UCD Flash Update: Support I2C SMBUS operations for UCD flash updateNick Bofferding2019-03-087-29/+1139
| | | | | | | | | | | | | | | | | - Adds I2C SMBUS operations for UCD flash update - Creates UCD component ID + trace name - Creates stub for UCD flash update entry point Change-Id: Id75cdd137b5a4924998c04bdbdce9218610a4906 RTC: 201992 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72229 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: Matthew Raybuck <matthew.raybuck@ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Disable Mutex Attribute Test Cases for nowChristian Geddes2019-03-081-2/+5
| | | | | | | | | | | | | | | | | We have been seeing random fails in our CI , there is a story that is looking into this. To avoid useless CI fails we will disable this for now. Change-Id: I19cb4f9ff0dffe0ede6d5d6970608f6c8e5b8067 RTC: 204720 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72916 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: Matthew Raybuck <matthew.raybuck@ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Force VPD IO through HW (Axone) ,add plat function to get OCMB VPDRoland Veloz2019-03-075-12/+276
| | | | | | | | | | | | | | | | | This commit follows up on previous work that pulled in the code that can find the correct EFD given a SPD blob of data which has the DDR SPD and the EFD for the DDIMM. This commit adds ocmb_spd.C which provides a DeviceFW::SPD read interface for OCBM targets, and hooks is up to the platform implementation of the FAPI interface platGetVPD for OCMB target. Also this commit forces all VPD IO in Axone to go through HW, which will actually read from the new EEPROM cache in pnor. RTC: 203718 Change-Id: I270500898c422d4c78daa3b917b1b2e5b049e856 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72165 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Adds mcbist empty filesAlvin Wang2019-03-071-0/+1
| | | | | | | | | | | | | | Change-Id: I9b2df15d131f63c1c2881ddda037cbaec3827a6d Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70728 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> 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/72227 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>
* Updates to testcases for AxoneDan Crowell2019-03-0715-112/+281
| | | | | | | | | | | | | | | | | | Disabling a few testcases temporarily until Axone gets off the ground. Cleaned up some bad traces, etc in existing code. Add CI support for AXONE config Change-Id: I7a2140366e225971c91a50cec1f7e822e4847078 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72186 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-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: Christian R. Geddes <crgeddes@us.ibm.com>
* Force reboot without visible errors for core wakeup failureDan Crowell2019-03-061-9/+34
| | | | | | | | | | | | | | | | The intermittent core wakeup failure continues to plague us with no solution in sight. Since the error is extremely rare (less than 1% of boots) we have decided to force a manual reboot and not log any visible errors to the customer. Change-Id: Ic30f6330431bd2c8ce75075befc2c36d278d8152 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71319 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72921 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Base HWP mirroring control on HB policyDean Sanner2019-03-062-1/+25
| | | | | | | | | | | | | | | | | | | PHYP can't support mixed mirroring/non mirroed memory, so MRW mirroring needs to be on/off. HB already has this info in a TARGETING ATTR (but not FAPI) and they don't match meaning one for one. Thus make ATTR writable and replicate FW setting to HWP setting Change-Id: I899272d338947f4c41f93c1ece88028053ce9d5f CQ:SW438826 CQ:SW459005 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64580 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>
* Secure Boot: Log error when attribute override attempted in secure modeLuis Fernandez2019-03-063-2/+61
| | | | | | | | | | | | | | | | | | | | While in secure boot, the first time an attribute override is attempted, an error is logged to let the User know that the override did not take. A flag was created in hb only attributes which tracks if attribute override has been attempted. Change-Id: Ife99e0cfa17934a02abeb291dfd7e06fe86e75e2 RTC: 205071 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72079 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Matthew Raybuck <matthew.raybuck@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: Daniel M. Crowell <dcrowell@us.ibm.com>
OpenPOWER on IntegriCloud