summaryrefslogtreecommitdiffstats
path: root/src/hwpf
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Update fapi::delay implementationSachin Gupta2016-12-011-24/+8
| | | | | | | | | | Change-Id: I1194b6819de9c9c4935e2761b984de1f40ba9aec Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31680 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: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Fix some trace problemsDoug Gilbert2016-11-231-3/+3
| | | | | | | | | | | | | | | | | This change is in preparation for future, better trace handling. Bit fields don't have a size_type - so they need a cast to int or uint in a trace statement. Pointers are always 4 bytes in PPE. Pointers cannot be converted to a uint32_t (%x) without an explicit cast. The printf/trace format %x is 4 bytes, even %016x is 4 bytes. What is needed is %llx or %016llx otherise a uint64_t will get truncated. Change-Id: I0b55a355f3211a7f6913e846834486b4808f50c1 RTC: 161851 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31189 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>
* Workaround for function versus presentSachin Gupta2016-11-141-1/+24
| | | | | | | | | | Change-Id: Ib37ae27c93ee1707ba02f17969c3118919219806 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32028 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> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Fix fapi2::Target creation on the SBESantosh Puranik2016-10-311-2/+2
| | | | | | | | | | | -- Made plat target c'tor explicit so that fapi2::Target can't be constructed with a uint32_t Change-Id: Ibcfa3bffe41afdcef7256c3a65ffee5ef23fc76b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31943 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>
* Temporary Fix for timerSachin Gupta2016-10-261-1/+17
| | | | | | | | | | | Also include fix for changing the behavior on simics CMVC-Prereq: 1009109 Change-Id: Ib191e2c30ac508d2506ea1ed48dd76cc59da62f2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31519 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Tested-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Fix for delay, fifo and npllsetup ( placement in memory )Sachin Gupta2016-10-141-1/+1
| | | | | | | | | | | | | | | | | | | 1. FAPI Delay does not use uint64_t when converting nanoseconds to ppe timebase. Also as delay is working, updated wait time in test case framework. 2. npll setup procedure is moved to PIBMEM as npll setup changes sbe frequence and we can not access seeprom before changing I2C bit divisor rate. 3. In FIFO utils, the empty status of queue is next state. So we need to use valid flag to see if FIFO was really empty. Change-Id: I59ccfc70f3013822532110230ec231408675a1a0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31245 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* SBE:getring bug fixPrasad Bg Ranganath2016-10-141-2/+2
| | | | | | | | | Change-Id: I33a90103dab1d44757dfd82d4c6d02f55672f335 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31128 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: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* SBE:PUTRING: Instance repair supportPrasad Bg Ranganath2016-10-111-8/+29
| | | | | | | | | | | | Change-Id: Id0ec9ea3dadff49e785b73669b4e76bba77093b8 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30679 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30683 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Fapi::delay fixSachin Gupta2016-10-111-6/+3
| | | | | | | | | | | | Code was using mix of uint32_t and uint64_t which was causing it to fail. Change-Id: I5eff465ec942023845b67e27acc77c000d3d8bc6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30975 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Do not optimize busy for loopSachin Gupta2016-10-091-2/+4
| | | | | | | | | | | | Change-Id: Ia12a5ba093f7d1551d3c94d67fc324e80750951a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30869 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> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* SBE:GETRING: Fix the data part returned.Prasad Bg Ranganath2016-10-061-1/+10
| | | | | | | | | Change-Id: I70270c6d6f36a80d492af46832ececaed46afe0b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30449 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>
* SBE plat scom error handlingShakeeb2016-10-042-22/+47
| | | | | | | | | Change-Id: Iffc9686fa745040a0d0f1c3a6b5f0dacc89a1c66 RTC:158016 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30078 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>
* Disable putScomUnderMaskSantosh Puranik2016-10-031-0/+8
| | | | | | | | | | | | | -- Temporarily disabled until implementation is fixed. Change-Id: I14bbb3e7dae6e5bbd6fb632fb04d76707c537a53 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30609 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: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
* Removed PPE specific code for SCOMsSantosh Puranik2016-09-303-82/+83
| | | | | | | | | | | | | | | Change-Id: Ib15f7f204d5afdba8ce23eaa2b749383b81ae3bc Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30280 Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30286 Reviewed-by: Hostboot Team <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>
* Changing ATTR_PG from 32 to 16 bitAnusha Reddy Rangareddygari2016-09-211-3/+3
| | | | | | | | | | | | | | | | | | | Change-Id: I346f10136e9621ea06e381cfad2a2b903cb2bd64 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29834 Tested-by: Jenkins Server <pfd-jenkins+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: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Dev-Ready: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29836 Reviewed-by: Hostboot Team <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: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
* SBE:getRing L2 supportPrasad Bg Ranganath2016-09-201-12/+130
| | | | | | | | | | Change-Id: Id0337c0b349b9a1150eb277c4b4cb5c0b59e36ca Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29416 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Unpack attributes for Pervasive targetsSantosh Puranik2016-09-191-0/+3
| | | | | | | | | | | | | | | -- Reserve space for all 64 possible chiplets Change-Id: I21b431205c84c8502b98364eb4c2befc31cdf3d9 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29839 Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29840 Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
OpenPOWER on IntegriCloud