summaryrefslogtreecommitdiffstats
path: root/src/usr
Commit message (Collapse)AuthorAgeFilesLines
...
* PRD: Axone MemAddress UpdatesCaleb Palmer2019-06-284-106/+81
| | | | | | | | | | | | | | Change-Id: I003f418df8f0cb9410ad89d3dfb858742b480b20 RTC: 208346 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77747 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Benjamen G. Tyner <ben.tyner@ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79672 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>
* PRD: Update NVDIMM BPM cable calloutCaleb Palmer2019-06-281-7/+10
| | | | | | | | | | | | | | Change-Id: Id6f73c0f60d957934bcbde2119ea632b5eed2f81 CQ: SW467211 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79544 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Benjamen G. Tyner <ben.tyner@ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79671 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>
* PRD: Remove use of unsupported MEM_PORT ExtensibleChipCaleb Palmer2019-06-2815-257/+165
| | | | | | | | | | | | | | Change-Id: I2fe2952854a62ce0b562eacdb7a554ed6a9f1881 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79344 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Benjamen G. Tyner <ben.tyner@ibm.com> Reviewed-by: Paul Greenwood <paul.greenwood@ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79346 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>
* PRD: Avoid gard for NVDIMMsCaleb Palmer2019-06-2814-22/+202
| | | | | | | | | | | | Change-Id: Icaa517b196826c2b442da769ef45b3cdf56e6a9d CQ: SW467502 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79189 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Benjamen G. Tyner <ben.tyner@ibm.com> Reviewed-by: Paul Greenwood <paul.greenwood@ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79670
* Add Device Tree support for Nuvoton TPM 75xMike Baiocchi2019-06-273-3/+36
| | | | | | | | | | | | | | | | This commit updates the code that creates the device tree to support Nuvoton TPM 75x models along with the existing 65x models. Change-Id: I46b08970911d259f620c747015800e4aeba34b99 RTC:204133 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78743 Tested-by: Jenkins Server <pfd-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> 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: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add HCDB Support for eeprom cache processChristian Geddes2019-06-267-83/+315
| | | | | | | | | | | | | | | | | | While parsing the EEPROMs of the system as part of the EECACHE process if we detect a part has been replaced, removed, or added then we must call markTargetChanged to notify hwas to take appropriate actions. This commit also introduces the new preloaded EECACHE section for simics. Change-Id: I9f2a8a62d5c6f9a6c66a0c0c7ed5ed86f7d94aec RTC: 211109 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78762 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: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Clean up the attribute error user detailsDan Crowell2019-06-256-139/+127
| | | | | | | | | | | | | | | | | | | | | | | Moved the structural parts of the errludattribute code into source files, instead of being generated. Now we only pull in the generated code where it is actually useful. This makes updates simpler and faster to compile. Added a couple more attributes to the supported list of displayable values. Improved an error path to get more useful information from unsupported attributes. Change-Id: Ie339e4a1b0a6c8a1d33def92a76e36ba81bab011 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79062 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: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PRD: Add handleRrFo for OCMB domainCaleb Palmer2019-06-256-3/+122
| | | | | | | | | | | | Change-Id: I8b55e1ce57d29d3c56fd21fa1bde0cbf829bf6ca Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79250 Reviewed-by: Benjamen G. Tyner <ben.tyner@ibm.com> 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/79254 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>
* Fix memory leak in nvdimm_update.CMatthew Raybuck2019-06-251-0/+18
| | | | | | | | | | | | Change-Id: I9e5574680ec0e48df560a72844cab3a641e14dd1 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79351 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> Reviewed-by: Roland Veloz <rveloz@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>
* Auto-arm the NVDIMMs at runtimeCorey Swenson2019-06-243-0/+30
| | | | | | | | | | | | | | Add control attribute and auto-arm NVDIMMs when OCC is enabled at runtime. Change-Id: I2e897e25f83b3c0ff51ddbaf3d922f07156d5747 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79069 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: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add planar vpd support to Axone simicsMatt Derksen2019-06-244-96/+68
| | | | | | | | | | | | | | | | Simics support was added so now we can read directly from hardware. Change-Id: I161a847377c7271d14bf94b2e1fa7c3c63c2530c RTC:209309 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78305 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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Enable fapi2MmioAccessTest for axoneMatt Derksen2019-06-244-19/+109
| | | | | | | | | | | | | | | | | | Use IB_RSP_ADDR memory spot to run some valid mmio operations. Also make sure a user's invalid input does not switch the scom switch to i2c operations. Change-Id: I68da42b2fc817f7bf4b99bb9c53cdf862136c7aa RTC:201738 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79195 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Run exp tests in Axone and make generic Load utilityMatt Derksen2019-06-2411-370/+604
| | | | | | | | | | | | | | | | | | | Removed CONFIG_AXONE_BRING_UP from expscomtest.H Added common load utility for loading/unloading needed modules for testcases. Added a mutex to avoid inband command/response contention between testcases. Change-Id: Ia96991983be18fab840b59b8dc7dd1383ecc4abc RTC:201738 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/76818 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@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: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Glenn Miles <milesg@ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add interface to mark eeprom caches valid/invalidChristian Geddes2019-06-245-31/+448
| | | | | | | | | | | | | | | | | | | | There are certain scenarios where we might want to update the table of contents at the start of the EECACHE section in pnor to indicate we have decided that the cached copy of one of the eeproms is no longer valid. This commit adds the ability to mark a cache entry as either valid or invalid by calling setIsValidCacheEntry in the EEPROM namespace and tests to verify this works. Future commits will add this call to places it is needed. Change-Id: I6b7dc807b7dbcaca3efa298790f862bc2c5f9ec6 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78494 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: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Enable the scomtest for AXONE configMatt Derksen2019-06-241-6/+2
| | | | | | | | | | | | | | | | | | Needed to adjust one scom address for Axone MI target and a simics fix for missing scom address resolved the other issue. Change-Id: I1b21009273935936504f47fb8390d28062376bbe RTC:201738 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78966 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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Glenn Miles <milesg@ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Enable sbe update for AxoneChristian Geddes2019-06-241-3/+0
| | | | | | | | | | | | | | | | | Previously we had an old SBE image and newer MVPD so the SBE update was failing. Now that we have an updated image for axone we can run sbe customization without failing to update the MVPD rings. Change-Id: I86d3c8f6c7f95bb6969a0d58a6082e329c5bd391 RTC: 210806 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78751 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: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Move the NVDIMM_ARMED attribute from PROC to DIMM typeCorey Swenson2019-06-214-39/+12
| | | | | | | | | | | | | | | | The attribute holds status for armed/occ_active/errors. As DIMM type it will more accurately reflect nvdimm status. Removed the workaround using the scratch register. RTC:211510 Change-Id: I8a1c686773fc7d9ba4d2788dc788764f5170c136 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79068 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Handle unsupported status bit for NVDIMM Encrytion StatusDan Crowell2019-06-211-3/+9
| | | | | | | | | | | | | | | | | The new NVDIMM FW level added an additional bit to the status register. We don't care about this bit so added a check mask to ignore it when we check the status of the encryption operations. Change-Id: I67ddd087ff8d04d7af81ee41549f1522f717d974 CQ: SW468004 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79335 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> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Default NV state to Memory Not PreservedDan Crowell2019-06-211-1/+3
| | | | | | | | | | | | | | | During the restore portion of the IPL we will force NV_STATUS_FLAG to indicate 'memory will not persist' (bit 0) since the logic is not armed until later on. Change-Id: I3008053081ae4f9cfe0406ab226639737e38b785 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79334 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> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Push NVDIMM attribute updates down to the FSPDan Crowell2019-06-212-20/+131
| | | | | | | | | | | | | | | | Added calls to send attributes down to HWSV whenever we update the KEYS or ENABLE values. RTC: 208343 Change-Id: I34f18e6b6c852aa673821853064d5126afdd840e Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79082 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@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>
* Modify I2C divider for AxoneDan Crowell2019-06-212-7/+23
| | | | | | | | | | | | | | | | Axone modified the internal divider that is used to calculate the i2c bus speed from 4 to 2. Change-Id: Ic2be08cfe97f3ea20f94e97d11ecaeb3ba679660 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79152 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: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Unit test for structure TARGETING::AttributeTank::AttributeRoland Veloz2019-06-213-1/+1732
| | | | | | | | | | | | This unit test, exercises the Attribute API, and the make attribute templates Change-Id: Iab9072f25c7920eb7f135c52e79198efdb755719 RTC:208343 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78795 Tested-by: Jenkins Server <pfd-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 omi attrs for omi dl config0Devon Baughen2019-06-201-0/+1
| | | | | | | | | | | | | | | Change-Id: If906dba9415e641f4347dde76dd474e230c24bec Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78816 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: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78850 Reviewed-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Force appropriate values for NPU configDan Crowell2019-06-201-0/+69
| | | | | | | | | | | | | | Hostboot will do no configuration of the NPUs during boot. Instead all of the configuration will happen at the OS level. Change-Id: I78c0bd06053524e9af981f1175c05281e5fdced4 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78181 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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Skip FSI info gathering for OCMB chipsDan Crowell2019-06-201-4/+11
| | | | | | | | | | | | | | | | | The OCMB chips don't have any FSI links so there is no data to send into the HOMER for the OCC checkstop handler to consume. We will be adding i2c information to access the OCMB later. Change-Id: If44fb52ea6c580f90166bc63605c5888b3da880a Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79063 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: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add Axone target types to errl/hwas functionsDan Crowell2019-06-202-79/+126
| | | | | | | | | | | | | | | | | | | Filled in a couple spots where we needed to support the new Axone targets types: OCMB, PMIC. Cleaned up the way we handle adding PN/SN/ECID to our logs to make them more generic to handle new types in the future automatically. Change-Id: I12173f762f92923347f7215c4e590436fcfb9ed7 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79061 Reviewed-by: Christian R. Geddes <crgeddes@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: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Enable tpmddtest.H for AxoneMatt Derksen2019-06-191-12/+24
| | | | | | | | | | | | | | | Simics now supports VENDORID_75x. Change-Id: Ic74f6d26ef791b0807c9c6441536348dac062294 RTC:201738 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79060 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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Handle NVDIMM encryption errorsCorey Swenson2019-06-188-166/+366
| | | | | | | | | | | | Update ATTR_NVDIMM_ARMED and ATTR_NV_STATUS_FLAG Update notifyNvdimmProtectionChange() Set encryption error and check before arm/disarm Change-Id: I1edf738af3460684ee93b02f06ff417c3e72d4e3 RTC:210689 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78828 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PRD: Explorer updates from RAS XMLZane Shelley2019-06-182-251/+464
| | | | | | | | | | | | Change-Id: Ib239109b353fc53b400fd77916bbc0835cfd2836 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78907 Reviewed-by: Benjamen G. Tyner <ben.tyner@ibm.com> 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/78997 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>
* MRW parsing for DDIMM, PMIC, and OCMB_CHIPChen Du2019-06-181-44/+119
| | | | | | | | | | | | | | | | | | | The way we are currently generating FAPI_POS and FAPI_NAME for DIMM, PMIC, and OCMB_CHIP for axone is incorrect. Currently swift.xml only contains 12 dimms per proc, 12 ocmb_chips per proc, and 24 pmics per proc, but P9A can technically support up to 16, 16, and 32, respectively. The FAPI_POS needs to reflect the upper bound of these values. Change-Id: I4c8efe4426f0ff976cc9e9c23ee461549e89f5f7 RTC: 172971 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78768 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: Matthew Raybuck <matthew.raybuck@ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PRD: Add AnalyzeFetchMpe PluginCaleb Palmer2019-06-172-0/+29
| | | | | | | | | | | Change-Id: Ib75e0a5247d8ef1e7ba58a7357e47dfab13c4ed5 RTC: 200583 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79053 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: Zane C. Shelley <zshelle@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* PRD: Axone memory updates from RAS XMLZane Shelley2019-06-179-202/+388
| | | | | | | | | | Change-Id: I02c7094b992a12d6232543bc008375cfb0b39f4e Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78906 Reviewed-by: Benjamen G. Tyner <ben.tyner@ibm.com> 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/78996 Tested-by: Zane C. Shelley <zshelle@us.ibm.com>
* PRD: Initial Axone Rule PluginsCaleb Palmer2019-06-179-10/+289
| | | | | | | | | | | | | Change-Id: I3c5002c7fd6df47234e3cedee83e2916cd961600 RTC: 200583 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78742 Reviewed-by: Paul Greenwood <paul.greenwood@ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Benjamen G. Tyner <ben.tyner@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/78995 Tested-by: Zane C. Shelley <zshelle@us.ibm.com>
* PRD: Initial Explorer Plugin FilesCaleb Palmer2019-06-1713-7/+725
| | | | | | | | | | | | | Change-Id: I42191cb8afa66cdb8c2dfe71383f81e20c358bcc RTC: 200583 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78481 Reviewed-by: Paul Greenwood <paul.greenwood@ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Benjamen G. Tyner <ben.tyner@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/78994 Tested-by: Zane C. Shelley <zshelle@us.ibm.com>
* Skip MSS cleanup for now in AxoneChristian Geddes2019-06-171-3/+5
| | | | | | | | | | | | | | | | The hwp currently ran in this step cleans up a bunch of Cumulus related attributes. We will need something similar eventually for Axone but there is a story covering this so just comment out for now. Change-Id: I65fac404bc66d979061daf0993b1577e88bc9de7 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78462 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>
* Add istep7 include directory for pmic EFD processingMark Pizzutillo2019-06-141-0/+2
| | | | | | | Change-Id: I6cf23ba5da1851de968faa591b9393a5fa60bd7a Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78758 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Temporarily disable testExplrMMIO bad write testDan Crowell2019-06-131-1/+4
| | | | | | | | | Disabling due to intermittent CI failures Change-Id: Ice33a92564017251a967051d14d932ee30ee5e5b Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78896 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Reworked the AttributeTank::Attribute APIRoland Veloz2019-06-121-120/+119
| | | | | | | | | | | | | | | | | | | | | | | Once I made the Attribute structure public, I exposed the API. It was no longer sufferance to allow users to just modify the properties of the structure openly. It was time to encapsulate the data and provide a proper API. Removed the 'virtual' keyword from the class AttributeTank. This class is not being used polymorphically any where, therefore the keyword 'virtual' was just adding to it's memory size foot print for no reason. Change-Id: I073aa5dbef1eba911afb95392de5e580f6aac100 RTC:208343 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78756 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: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Zachary Clark <zach@ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Use i2c word write for NVDIMM updateMatt Derksen2019-06-123-44/+76
| | | | | | | | | | | | | | Trying to reduce the update time and this reduced teh time to about 12.3 minutes. Change-Id: I97cd29a8bcda58902089480f2cc0849381e7d2cf CQ:SW466226 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78422 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>
* Update DIMM's 0-8 EEPROM_VPD_PRIMARY_INFO to match the corresponding OCMBsChristian Geddes2019-06-111-38/+38
| | | | | | | | | | Somewhere along the line we updated the OCBM's i2c information but never updated the dimms. This resulted in the eeproms being cached twice. Change-Id: Ia58d624c3711e22ad5eaaccc8aa39be2b6c23ca4 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78775 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* NPU SCOM translation Hostboot updatesCaleb Palmer2019-06-111-0/+10
| | | | | | | | | | | | | | Change-Id: I92aeaf9a73d07f74c54c85322c7c620e060ac6a0 RTC: 208523 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78439 Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Benjamen G. Tyner <ben.tyner@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: Paul Greenwood <paul.greenwood@ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
* Update non-present dimm/ocmb i2c attributesChristian Geddes2019-06-101-102/+113
| | | | | | | | | | | | | | | | | The dimm/ocmb i2c information should match up, especially for the VPD_PRIMARY attribute. Also we had a problem where the settings we had for the dimm target was getting targets that were not present in the simics model showing up present to hostboot. By forcing targets we no should not show up to have invalid devAddr fields set in the attribute, we avoid having targets show up when they should not. Change-Id: I3002e81d39ec78f3ba25c22ce9d29e718ee68df1 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78415 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 OMI BAR calculations to MRW scriptsChen Du2019-06-103-4/+45
| | | | | | | | | | | | | | | | | | | | Need to set the OMI attribute OMI_INBAND_BAR_BASE_ADDR_OFFSET The algorithm to determine this attribute is explained in src/usr/mmio/mmio.C Each OMI BAR is an offset from the base (0x0006030200000000) The offset for an even OMI is every 8 gigabytes The offset for an odd OMI is 2 gigabytes after the preceding even OMI Change-Id: I08973e0b2952a6ea32dbf4b95ad00cf5bbe92484 RTC: 210315 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77742 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: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Revert "Add workaround to avoid DARN instruction at runtime"Corey V. Swenson2019-06-101-7/+1
| | | | | | | | | | | | | | | This reverts commit 20f6884ac8c615da75db885feae636ca60dc6f5a. Change-Id: I083743def26e5ae8679db22e64f11fcd796ee803 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78470 Reviewed-by: Matt Derksen <mderkse1@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: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove some Centaur procedures from Axone compileDan Crowell2019-06-105-26/+35
| | | | | | | | | | | | | | | The Axone compile is getting large so this is trimming a few unneeded HWPs from the image. Change-Id: If49afacae3f53ed02ece9e6d23082018f1e6f767 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78563 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: Matthew Raybuck <matthew.raybuck@ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* MRW parsing for DDIMM, PMIC, and Axone OBUSChen Du2019-06-103-102/+402
| | | | | | | | | | | | | | | | | | | | | | Task 3: Deal with dimm, pmic, and obus Code parses out pmic and dimm because of their parent/child relationship. The primary thing to note is how the affinity path is calculated. It differs depending on how the praent/child relationships are set up. For PMIC, there are 4 PMICs per OMI whereas for DIMM, there are two DIMMs per OMI. Also handles OBUS and OBUS_BRICK. OBUS_BRICK new layout is now 2 bricks for OBUS0, 1 brick for OBUS1, 1 brick for OBUS2, and 2 bricks for OBUS3 Change-Id: I581320f551479a40dddb77550e9440e8edfd373f RTC: 172971 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/76804 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@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 MMIO test cases that force failuresGlenn Miles2019-06-072-30/+139
| | | | | | | | | | | | Change-Id: I9af1230917c1629c9f9568ae6645291c11b0140e Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78524 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: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* OCMB MMIO error handlingGlenn Miles2019-06-076-350/+1452
| | | | | | | | | | | | | | | | | | | | | | | | | | Added the following -Error checking and FRU isolation on explorer side -Cleaned up MMIO write error handling to read an MMIO error register -Fixed and enabled MMIO test cases -Moved parameter checking and channel checkstop checking into seperate functions. -Only check for channel checkstop for the channel that an OCMB is connected to. -Switch to using I2C on first MMIO failure. Change-Id: I5e997c5177f8a68a2966f837acc9b578a4cc1897 RTC:201588 RTC:201901 RTC:202533 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77859 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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add pmic_efd_processing to istep07 makefileDan Crowell2019-06-061-0/+3
| | | | | | | | | | | | Needed for mss_eff_config changes Change-Id: I4dbfb4530f11766c7ac6e6f907c1ec3860a11116 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78343 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>
* Implementing PHYP to HBRT NVDIMM message to issue an NVDIMM operationRoland Veloz2019-06-061-125/+325
| | | | | | | | | | | | | | | | | | | | | -- Created interface hostInterfaces::hbrt_fw_msg::nvdimm_operation_t that will be used to send operation (disarm, disable encryption, remove keys, arm and enable encryption) for all processors or a single processor as specified by the caller. -- Added method doNvdimmOperation that is called by firmware_notify, when an nvdimm_operation_t message is received, to execute the operation(s) request. Change-Id: I22e2d49de87e1fdd2784b6f77a74a24c45dc3206 RTC:207162 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77318 Reviewed-by: Matt Derksen <mderkse1@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> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
OpenPOWER on IntegriCloud