summaryrefslogtreecommitdiffstats
path: root/src/hwpf
Commit message (Collapse)AuthorAgeFilesLines
* Axone chipId supportRaja Das2018-10-241-2/+5
| | | | | | | | Change-Id: I19c59782b617b03872b2fd2330a0c6f1f76ec866 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67928 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Simics check in case of spless system before modifying HRMOR to 4GBRaja Das2018-09-211-1/+1
| | | | | | | Change-Id: Ife2ae7699350a8570ed212cfaaf1feff4a6c894b Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66457 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* [SBE-ARCH1]HRMOR relocated to 4Gb for SPLess Opal systemRaja Das2018-08-301-9/+19
| | | | | | | | | | | | | | | | -removed s0s1 compile time flag -64MBytes * 64 = 4096MBytes Address -Updated simics patch to hack the Fspbit to be set, so that for SBE Jenkins testing, SBE picks up the default 128MB HRMOR. Change-Id: I77eb5cb018b1f684b4322f23c2b64307bfe1e230 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/56151 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Add hook to setup ATTR_SMF_CONFIGDean Sanner2018-08-281-0/+7
| | | | | | | | | | Read from scratch register and set SBE ATTR Change-Id: I5c9b7022fda7803ece8d438efafc5ae3787aafcc Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64412 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Risk level 3/4/5 support: Step 2 - image update to TOR v7Claus Michael Olsen2018-05-031-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | - This commit updates the image ring sections to TOR v7. - It will fail with EKB FSP CI until we include the prereq to the merged step 1 commit in PPE and HB. Key_Cronus_Test=XIP_REGRESS cmvc-prereq: 1053262 cmvc-prereq: 1053182 Change-Id: Ie7452fe42877297da4f0da5cd4e51c989b6ac28d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57421 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: James N. Klazynski <jklazyns@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57432 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Extract PROC_CHIP_MEM_TO_USE correctionspashabk-in2018-04-261-8/+6
| | | | | | | Change-Id: Iacf5297268c6c69b14ff6afbaa8c89cea267939a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57895 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Risk level 3/4/5 support: Step 1 - backward compatibility and v6 imageClaus Michael Olsen2018-04-241-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Introducing RV_RL3/4/5 ring variant (RV) support for EC/EQ chiplets. - Dropping RV support for all chiplet's instance rings which saves 456 Quad bytes and 58 Nest bytes in Seeprom's TOR slots (compared to master). - Each additional risk level adds 144 bytes in Seeprom TOR slots. - Various changes to data names associated with ring variants to clarify that the notion of ring variants is now specific only to Common rings while Instance rings only have the BASE variant. - Also, removed backwards compatibility to TOR v5, i.e. from before we introduced RL2 in february. Assumption is that all images/drivers used in fips910/920 and OP920 are TOR v6. - This commit produces a TOR v6 image to ensure EKB FSP CI success. Key_Cronus_Test=XIP_REGRESS Change-Id: Icfcb1e68fd74a10ffc48ee7a5da528a8042ef3b1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56973 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Kahn C. Evans <kahnevan@us.ibm.com> Reviewed-by: James N. Klazynski <jklazyns@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56982 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Handle only group ID if mem proc chip attribute not setspashabk-in2018-04-191-6/+9
| | | | | | | | Change-Id: I51e52333463702222dab0a28ce3e9cfcd4346317 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57446 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Update PROC_CHIP_MEM_TO_USE attribute based on valid bitspashabk-in2018-04-161-0/+46
| | | | | | | | | | | Handling memory swapping on different proc Change-Id: Ibe46dde78fe9fc163eefdbd1a2af3fb00fc09d5a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55959 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Revert "SBE Space optimisation" by moving ramming to pibmemShakeeb A. Pasha B K2018-03-293-7/+48
| | | | | | | | | | | | | | | This reverts commit 2dce1d2d7fbbca6e1f917fb9c76632561c5a84b1. And move plat target init and plat attr init to seeprom Perfromace measurements - from sbe_tart to proc_attn_listen: Without this change: 3.433112590s With this change : 3.458556197s Change-Id: If6b5dfcae2e40aa5d0d608e1d01036546c525628 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56239 Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Additional risk level support - (step 2) Updating the image w/RL2Claus Michael Olsen2018-02-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit changes the images' .rings section by adding the TOR RL2 variant slot to the runtime Quad chiplets, EQ and EC. Specifically, we have changed the definition of the ATTR_RISK_LEVEL attribute to now have three risk levels, RL0 (prev FALSE), RL1 (prev TRUE) and RL2 (new). To accomodate RL2, a new "override" txt file has been created, ./attribute_ovd/runtime_risk2.txt and changes to many other files using the ATTR_RISK_LEVEL attrib have been updated as well. Lastly, and to allow for the inclusion of RL2 rings in the HW image, the TOR_VERSION has been updated to version 6 which will allow for RL2 support in the ring ID metadata files. p9_setup_sbe_config is updated to write the RISK_LEVEL value into scratch 3 bits 28:31, and deprecate the existing mailbox. RISK_LEVEL processing has been removed from p9_sbe_attr_setup. It's only function is to seed mailboxes which are empty via the attribute state present in the SEEPROM. Since RISK_LEVEL is zero at image build time, and explicitly cleared as a result of every customization, there's logically no need to process the RISK_LEVEL here. PPE changes to accomodate the new RISK_LEVEL mailbox location need to be implemented in the PLAT code: src/hwpf/target.C Key_Cronus_Test=XIP_REGRESS HW-ImageBuild-Preqeq=52659 - 52659 must be fully merged in Cronus and HB before this commit (53292) can be merged. This is to avoid a Coreq situation. CQ: SW416424 cmvc-prereq: 1046058 cmvc-prereq: 1043606 cmvc-prereq: 1045920 Change-Id: Ia0471219916602cc0041a2c55a1070013f66a7d9 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53292 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53322
* Retry multicast chiplet offline errors.Sachin Gupta2018-02-151-6/+22
| | | | | | | | | Change-Id: Idd3840981a8b48cdf778e104380b5c43ff07d7ba Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53980 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Joachim Fenkes <fenkes@de.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Support new RISK level attribute valuesSachin Gupta2018-02-111-10/+7
| | | | | | | | | Change-Id: I007205a1f03297ea703c6e319fc9182eea614d70 CQ: SW416424 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53667 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Additional risk level support - (step 1) Backward compatibilityClaus Michael Olsen2018-02-082-85/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The purpose of this commit is to avoid a coreq situation by ensuring this commit is fully propagated through our repos and test drivers before introducing the change to the new HW image with two RLs. The commit enables simultaneous support for producing a HW image and retrieving rings from an image that has either one or two risk level (RL) rings in the .rings section. The commit however does NOT actually, yet, make any changes to the image which is the aim of the (step 2) commit 53292. Nor does this commit generate any raw ring files or process any RL2 level rings yet. Again this will happen in 53292. The commit also includes, - various related cleanups in data naming and ring file processing, - some data and invironment specific parts in ring_apply.C have been moved to common_ringId.C. Key_Cronus_Test=XIP_REGRESS HW-Image-Prereq=53292 - This commit (52659) must be fully merged before merging 53292. Change-Id: I402d53c4a3ca6a084c958321069cc6f60e04ad24 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52659 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Dev-Ready: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@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: 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://ralgit01.raleigh.ibm.com/gerrit1/53015 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Error out on non-TOR ring section detection.Claus Michael Olsen2017-12-061-7/+4
| | | | | | | | | | | | | Updating ring section parsing code to error out if it detects that there is no valid TOR magic header word in the beginning of the ring section. Change-Id: If92278a16de3e4f5c1605161606ed8621e30f56e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49883 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* SBE:putring: Ring Id validation checkPrasad Bg Ranganath2017-12-011-3/+7
| | | | | | | | | Change-Id: I6d089d488f0673fe539a9030bccdd59a504e7d59 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49349 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Initialise ATTR_BACKUP_SEEPROM_SELECTSachin Gupta2017-11-021-0/+18
| | | | | | | | | | | Change-Id: Id92f5f8effa01d5bee872ccb6cdf49124e0f3fc7 CQ: SW405828 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48976 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Centaur ring support - TOR APIClaus Michael Olsen2017-11-022-55/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Key_Cronus_Test=XIP_REGRESS - Updates to TOR API codes to allow user codes to call TOR API function on a Centaur image. Note that the API no longer needs the caller to supply and XIP section ID. - Updates to TOR API codes to take advantage of the improved data and meta-data representation in the ring Id codes and the more self-contained ring image which now has the TOR magic header. - Updates to xip_tool to allow dissection of Centaur image. - Additional updates to TOR API codes and ring Id codes to continue improving overall clarity of data, data structures and flow through TOR API, incl name changes to related data variables and structures. Change-Id: I42891b9662cc0c443d2b16ce866ac945dc2c58dc Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38018 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38562 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Centaur ring support - ring_apply and ring dataSumit Kumar2017-11-022-22/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Introduces Centaur ring ID header files and ring_apply support to generate a separate Centaur ring image file. - Introduces common ring ID header file consumed by both P9 and Centaur and all user codes, e.g. putRing, ipl_build, xip_tool, etc. - Introduces a namespace approach for complete separation of P9 and Centaur ring data and to facilitate execution time selection of either P9 and Centaur ring data. - Added Centaur image .rings generation function to p9_ring_apply. - This commit does NOT support Centaur in the TOR API nor in xip_tool. See commit 38018 for that support. - Modified hw_image.mk file to support Centaur XIP image generation. - Updated ring_apply to also support .overrides ring gen for Centaur. Change-Id: I12a27b194dc14d906fea7bc273eb9f766f0fc5bf Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35639 Tested-by: HWSV CI <hwsv-ci+hostboot@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> Reviewed-by: Sumit Kumar <sumit_kumar@in.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36010 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Make plat init attributes non-writableSantosh Puranik2017-10-272-2/+281
| | | | | | | | | | | | | | | | | Change-Id: I382948a4083293e4ecc42a9759559a060444f5f0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34997 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> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35043 Reviewed-by: Hostboot Team <hostboot@us.ibm.com>
* Handle PIB Offline error on multicast addressSachin Gupta2017-10-262-7/+28
| | | | | | | | | | | | Change-Id: I64bed9d1789bd7081a34ddca3d068267244c980f CQ: SW405835 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48739 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Align fapi sim delay to 32bytesspashabk-in2017-10-181-1/+1
| | | | | | | | | | | | | change fapi sim delay to 32bytes from 8bytes Change-Id: I74aaee7b741077e3d747c6bbd9e5f05b70cbb538 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48457 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Soma Bhanutej <soma.bhanu@in.ibm.com> Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com>
* SIM delay align to the instruction cachlinespashabk-in2017-10-041-4/+11
| | | | | | | | | | | | | align fapi delay for sim to the instruction cachline RTC:180278 Change-Id: I391b7f4cd02a15d4b58bced5061c61069a0eed33 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/47048 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* SBE PUTRING: Reduce function parameter count from 6 to 5Prasad Bg Ranganath2017-09-211-2/+1
| | | | | | | | | | | | | | Change-Id: I2bcae253dd13ed901c9090dd9d49b4b7a408e48b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46552 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46556 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* TOR magic header commit: Primer for commit 35372Claus Michael Olsen2017-08-301-58/+110
| | | | | | | | | | | | | | | | | | | | | To prevent a co-req situation between the HW image and the SBE image in connection with the merging of the TOR magic header commit 35372, the following code updates have been made: - Updated the TOR header file to define the data and structures needed on the ppe side in plat_ring_traverse.C to make SBE putRing code backward HW image compatible. Change-Id: I14cae65911938c4ae8e853ea9149f10e0d2fe9b8 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45046 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@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> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45049 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* change queryChipEcAndName to return fapi2 ReturnCodeJoe McGill2017-08-301-1/+3
| | | | | | | | | Change-Id: I1a7d1d4582cdae0a35fd7066b1da04092dd179ec Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45235 Reviewed-by: Joachim Fenkes <fenkes@de.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Fix for pibmem attribute dumpspashabk-in2017-07-251-11/+9
| | | | | | | | | | | | | | Alignement fix for attr dump Collect attrdump in simics Fix in sbe-debug.py to determine file not found Change-Id: Ia55ccdb21e19a2f43d1f6255dc5f5533689eb8e1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43204 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Removed delay tracesSachin Gupta2017-07-141-3/+0
| | | | | | | | | Change-Id: Ia6f32ecded704d3ed2001c80c7146fb90e7dcc65 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43127 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Fuse core mode supportRaja Das2017-07-051-3/+8
| | | | | | | | | | | Change-Id: I9f034d958ff3a499da623d73badd2ee06565a425 RTC: 166962 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41521 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* plat: Add PLAT_FAPI_ASSERT_NOEXITJoachim Fenkes2017-06-191-0/+23
| | | | | | | | Change-Id: I4f18fa8494eee19fb11e0d5150e0e03878e8ca46 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41543 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Removed critical_section enter/exit calls within the delay methodRaja Das2017-06-141-11/+0
| | | | | | | | | | | | | | It is disabling the __pk_schedule_hardware_timeout calls which updates ppe42_64bit_timebase (time accumulator). This gets stuck at such a boundary that the decremetor diff addition will never be equal to the target time, hence infinite loop Change-Id: I8c2990cc7e02fa2bb530b961ddac49c21addb273 CQ:SW386997 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41810 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Fix putScomUnderMaskSantosh Puranik2017-06-093-16/+49
| | | | | | | | | Change-Id: I06452679730b236a4e00f4df89265c3f8fcf5a52 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41487 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Benjamin Gass <bgass@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Add support for MC and MI targetsSantosh Puranik2017-06-095-15/+87
| | | | | | | | Change-Id: Ife13683349bfe4f618ab2632d78e6ade70cc095c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39870 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Added FAPI traces in the delay method to for current/target timeRaja Das2017-06-061-0/+8
| | | | | | | | | | Change-Id: Ibbca69573eb833e5ea9738ae69eefdb4aea9ca8a CQ: SW386997 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41364 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Remove Endian SwitchesSantosh Puranik2017-06-014-90/+13
| | | | | | | | | | | | Plat code will always run on big endian Change-Id: I858cf8d217534414716de81f20227d9ad30756bd Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41090 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
* FAPI Plat CleanupSantosh Puranik2017-05-3127-212/+47
| | | | | | | | | | | | -- Remove src and include subdirs Change-Id: I47d2b7d0b3667e7765692fb014932ae23a6325f7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41085 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
* SBE:GETRING: Code optimization for getring chiop performancePrasad Bg Ranganath2017-05-152-49/+1
| | | | | | | | Change-Id: I1fd32f833f197d94a98e971e23c815775ec628a2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38189 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Remove PIB reset on scom failurespashabk-in2017-05-051-8/+0
| | | | | | | | | Change-Id: I8b44253b1ddbbdfcfa49536c5a5a79a71738ac24 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39799 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Joachim Fenkes <fenkes@de.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* Set unique FAPI RC for SCOM failuresSantosh Puranik2017-04-281-0/+45
| | | | | | | | | | | Allows HWP code to infer the PCB-PIB error by looking at the FAPI RC Change-Id: I1853391c6c5aa3c19ba08e80c5819139d39b78b0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39147 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
* Cumulus ATTR_NAME SupportSantosh Puranik2017-04-183-4/+68
| | | | | | | | | | Change-Id: I47946f25067c1d7cf6f56e1734406d1416269f5b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38212 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
* Fix getParent typo for EQ targetsspashabk-in2017-04-181-1/+1
| | | | | | | | | | | | | | Enabled tracearray testcase for EX, which was earlier failing because this bug Change-Id: Ic3bf6945e2b71365333c736fa1ef08288b1ca553 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39135 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Change RingID to RingId_t in putRingKahn Evans2017-04-061-5/+5
| | | | | | | | | | | | | | | Change-Id: If809a8ec82ff90a6ed9dc2763f7e609524fc75fb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38351 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38353 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* Support for TARGET_TYPE_PHBSantosh Puranik2017-04-065-5/+85
| | | | | | | | Change-Id: Id4c2407655c38325431eff256aa10f3b0b48fff2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38281 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Remove traces from FAPI_TRY as temporary workaroundSachin Gupta2017-04-061-3/+4
| | | | | | | | | | | | | | We will get more space once image compression is in place. Then we can enable the traces again as it helps in debugging problems. Change-Id: I86cff7681e094b6b41bbfadeb6af9f3a41accd6e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38911 Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Consolidating globals in SBEspashabk-in2017-03-201-2/+3
| | | | | | | | | | Overall an increase in size of 88bytes Change-Id: I975ec1536bc2d8153772133d26f750688a849a70 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37714 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* SBE:putring - fix risk level tor offsetPrasad Bg Ranganath2017-02-171-7/+17
| | | | | | | | Change-Id: Iceae19d79cb30df8d23da0042ca7dd76328487da Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36548 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Plat fixes for array opsSantosh Puranik2017-02-032-3/+25
| | | | | | | | | | | | -- Enable ATTR_CHIP_UNIT_POS on all chiplet targets -- Add PERV to compound target for getParent specialization Change-Id: I156e5b92b21c486f549543c63ed66f59f60fc9bc Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35789 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
* Specialization of getParent for compound targetsSantosh Puranik2017-01-123-12/+70
| | | | | | | | Change-Id: I14f9a99a4f645d9560a96503fc3941abc18c3c04 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33516 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
* Enabled Put/Get Scom tracesRaja Das2017-01-111-4/+7
| | | | | | | | | | Change-Id: I58b6c41eb1d0e37dedbd41a38f1672d4c49227c6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34471 Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* Disable FAPI_TRY for attribute accessesSantosh Puranik2016-12-203-71/+64
| | | | | | | | | | | Change-Id: Ie69e7bb2a91d477077b74391bb434539af03b31b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33019 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
OpenPOWER on IntegriCloud