summaryrefslogtreecommitdiffstats
path: root/import
Commit message (Collapse)AuthorAgeFilesLines
...
* CME/SGPE: yet another updating commit for stop imagesYue Du2018-08-223-248/+353
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | patchset 1: fix EISTR in stop interrupt handler patchset 2: add QPMMR[21-26] setup in sgpe(for John) patchset 3: add DD1 VCS workaround to sgpe patchset 4: add common header file change for patch3 patchset 5: fix an error in vcs workaround patchset 6: reorganize the compiler flags patchset 7: fix a typo in 6, and rebase to fix jenkins patchset 8: reorganize the compiler flags(cme) remove ppm write protection of cme patchset 9: fix a typo in sgpe_exit qssr reporting patchset 10:add extra dd1 vcs workaround patchset 11:rebase patchset 12:fix cme interrupt handler(marker changed) patchset 13:fix compiler error in 12 turn on sgpe kernel trace patchset 14:fix again patchset 15:fix wake/stop priority group patchset 16:fix markers for EPM patchset 17:reformat CME PK_TRACEs patchset 18:reformat SGPE PK_TRACEs patchset 19:fix some typo in 18 patchset 20:fix VDM scom fail via INTERPPM settings patchset 21:core hist in sgpe based on partial good fix vcs workaround in stop image add qloop limiter in sgpe exit add stop level mapping support patchset 22:enable vcs workaround by default patchset 23:add dpll_initf fix dpll_setup bit(9) make epm skip workaround doesnt need patchset 24:fix stop2 exit express fix some old compiler flags patchset 25:add dd1 doorbell workaround add comment on serialize quad PFETs patchset 26:fix cme_boot() on repeat booting one CME patchset 27:increase sgpe_exit_thread stack size patchset 28:sdis_n set/reset becomes permanent patchset 29:add skewadjust procedures patchset 30:add queue scom mode init patchset 31:using ppe_scom instead of fapi_scom patchset 32:continue protect cme on partial bad core patchset 33:add support for EX_L3_MODE_REG1 setup patchset 34:using real time qcsr for l3-lco victem patchset 35:fix a bug in patchset 32 patchset 36:Increased the CME/SGPE Hcode defines. Change-Id: Ib2a9ab543e018fbd5832a3342f3ab39cf3da436d Original-Change-Id: Id3fd4d4e0d9740a7903c913fa8fc80b6cee55ff9 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30925 Dev-Ready: YUE DU <daviddu@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: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* CME/SGPE: STOP image updates and fixesYue Du2018-08-223-25/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | patchset 1: fix quad spwu(initial) patchset 2: fix quad spwu patchset 3: set scan0 and arrayinit code as default patchset 4: fix for stop3 being nop patchset 5: fix unitified interrupt handler hole of ee bit patchset 6: workaround for pbie read ptr hw bug(initial) patchset 7: optional debug trap based on occ flag[12]/[13] fix stop8 history update typo update fix in patchset 6(still more to come) patchset 8: default disable HW386311_PBIE_RW_PTR_STOP11_FIX patchset 9: workaround for pbie read ptr hw bug(complete) patchset 10:update workaround debug trace and RTC comment patchset 11:add more pk traces to workaround and fix addr patchset 12:fix region bits for the workaround patchset 13:fix region bits ver2 patchset 14:rebase for merge conflict patchset 15:reset scan0/arrayinit to on after rebase patchset 16:fix workaround ring length for rotate back patchset 17:fix pk trace on printing 64bit variables patchset 18:fix l3 purge abort add more traces in partial good config patchset 19:fix history reporting in scominit patchset 20:fix spin bug on 6bits change thread stack size on cme to 512 fix sgpe default pk_app_cfg on istep15_hack patchset 21:fix a typo in patchset 20 patchset 22:fix quad stop history bit0 patchset 23:fix typo in previous 22 patchset 24:add more debug thrace for workaround have parameter for each thread stack size patchset 25:fix typo in 24 patchset 26:fix quad spwu done and possible for pfet error patchset 27:fix stupid kernel bug to cause 0x03abcdef patchset 28:1) add dls+stop1 workaround for pls+srr1 issue 2) some code for bce irritator 3) add block wakeup support and db1+db2 change 4) Note: one marker change for doorbell patchset 29:add broadside support for scan0 module patchset 30:add fused core mode workaround fix workaround compiler define patchset 31:fix qspwu parital good case fix compiler error with broadside mode fix conflict of enum between two headers patchset 32:fix stop handler anormaly introduced by unified interrupt handler returns group id patchset 33:fix a bug introduced by patchset 32 patchset 34:clean scan0 region after workaround patchset 35:Rebased Change-Id: I93f9f02b337ee953886cb72f0f1d0058cf6e04b3 Original-Change-Id: I315d8ccc425a0d420a77d82814962ff6eaa38152 RTC: 161155 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29405 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Dev-Ready: Gregory S. Still <stillgs@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* SGPE and CME scanning integrationGreg Still2018-08-221-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Enable FAPI2 targets (move to .C) - Add/enhance hcode_image_build and wrapper tracing for debug - Fix CME boot to match the layout of CPMR with common scanning - Add internal target creation to initf for testing - Update p9_hcode_image_defines with realistic sizes. - Cleaned up some wrappers for better debug and tracing - Cleaned up some extraneous defines - Fixed vector constructor functionality. - Removed -gc-sections from stop_gpe.mk so that constructor code remained - Fixed hcode_image_build in its adding of scan rings to not overlay the Hcode data region. - Fix quad based creation of local target - Redid boot_loader to properly deal with scan ring sections - Fix boot copier header dependency - Moved SGPE Hcode space to 38KB to deal with present size; Made SGPE total OCC SRAM allocation 80KB for now. This growth is due to fapi2 required vector support (4 x 128KB) plus target init (1KB) plus scan ring allocation per latest assumptions. The FAPI2 elements will be readdressed later. - Remove skip arrayinit/scan0 from istep15_hack and into EPM_TUNING - Some bug fixes in hcode_image_defines to get proper common ring offsets in SGPE header as well as proper placement of common rings in image - Changes from Prasad with putrings updates - Removed break points to call broadside scans in CME and SGPE codes. - Added Prasad's changes for putring for CME and SGPE. - Increased thread stack size - Rebased and commented out memory faulting code for now - Removed call in p9_pm_stop_gpe_init to ppe_state due to HB strings (for now) - Fix SGPE_ALLOCATED_SIZE - Boot loader fix - Pulled in PK PBA context bug fix as this corrupts the PBASLVCTL0 and thus memory accesses - Make CPMR and CME Header values have maximums. Add check to not allow overrun - Hcode Image Wrapper update - CME header debug output Change-Id: Ia96972dc9cf7482903b4c454dcbb8f348842bbe4 Original-Change-Id: I71718485ff3192f3723fdfa03b8bc6f558ef120e RTC: 136960 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27421 Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Dev-Ready: Gregory S. Still <stillgs@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Putring support for SGPE platformPrasad Bg Ranganath2018-08-221-1/+0
| | | | | | | | | | Change-Id: I90c74ebb35d844641dfea84bffd3320c3209e099 Original-Change-Id: I6f310e16181ea3d395a306ed1681ab606fcd7cea Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26703 Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* CME/SGPE: STOP Images functional bug fix collectionYue Du2018-08-222-62/+81
| | | | | | | | | | Change-Id: I2bd4631c5bdff525fcd28dd26b7cc3faf7f758d7 Original-Change-Id: I3858a93ade6f21c006c980a497f58d6dafd9b628 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27000 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* CME/SGPE: Optimus Prime approves these upgrade of STOP imagesYue Du2018-08-223-180/+309
| | | | | | | | | Change-Id: Id1d699e416c2dcc34a2a5f442e009ce39e416d8c Original-Change-Id: I2486797c6614213418624427fd0d225e2792d15c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23684 Tested-by: Jenkins Server Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* CME/SGPE: update stop cme/sgpe imagesYue Du2018-08-223-111/+230
| | | | | | | | Change-Id: I5f425dbee4af74a15c60158cc613ce7b9ff0e45c Original-Change-Id: I9c2de4e90e7445d123290de37fff9e26dae2d1ae Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22464 Tested-by: Jenkins Server Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Combined Stop/PState Cme Image + unified interrupt handlerYue Du2018-08-223-544/+607
| | | | | | | | Change-Id: I2e9299665f7cb49884991e04ac067eb34652bcda Original-Change-Id: Ie954197008f1a35bd8336c9d921f55165ec52207 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/20857 Tested-by: Jenkins Server Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* CME/SGPE: STOP11 CME/SGPE Images SnapshotYue Du2018-08-223-17/+52
| | | | | | | | Change-Id: I551f77be3f1b77191b6ef9bdb2233b7ea52b8378 Original-Change-Id: I13d6c747e7b4b0b19e317ba7a5b74f852dee6ddf Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23571 Tested-by: Jenkins Server Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* CME/SGPE: Complete Working STOP8 CME/SGPE Images SnapshotYue Du2018-08-223-477/+642
| | | | | | | | Change-Id: Ib2d67d71fbee16b250bd6f2143b0c8b4d82c4cf2 Original-Change-Id: I5e8cc9cbdccb10edcc4e2474f1c9a15e41f2c6ed Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23292 Tested-by: Jenkins Server Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* first draft of ppe_closed/cme & sgpe, and common/pmlib/Yue Du2018-08-223-0/+1367
| | | | | | | | Change-Id: Id2c21a8475ec9a10f73a864013fbdd3ea32a7650 Original-Change-Id: I08440fadfeff7e4777a776167d4fdcffe5fec82f Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21058 Tested-by: Jenkins Server Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Remove files to restore git historyhostboot2018-08-223-3654/+0
| | | | Change-Id: Iebd10abef2c2fa9888e35761287d73b339e228ea
* STOP: Fix VDM Droop Event DB3 Window condition breaking STOPYue Du2018-07-251-1/+6
| | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I9ba799f1e0d87868b86a87bc70a334bca070a660 CQ: SW438457 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/62846 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PGPE: Fixes and Cleanup for Mfg/Char teamRahul Batra2018-07-257-18/+162
| | | | | | | | | | | | | | | | -Gen. correct number of entries in OCC Pstate table -Correctly correct aux thread period -Fill VDM fields in Pstate table Key_Cronus_Test=PM_REGRESS Change-Id: I0f11b35ec5d6b3667e253f683325b559a93801af CQ: SW436423 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61095 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: remove chiplet enable drop in core_poweron for multicast scomYue Du2018-07-251-3/+0
| | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I388c81cc1af356231daa4a11702a3a84dcc222c9 CQ: SW437797 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/62580 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Fix hole in 62403Yue Du2018-07-251-0/+6
| | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: Ieef4ad78a186fbbb7ae9fc947b21640970b723f0 CQ: SW438634 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/62843 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Fix Stop1 Window conditionsYue Du2018-07-251-1/+1
| | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I59429f5ac7282378ae5550b3c09e319a51208cdc CQ: SW435666 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/62656 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PM: PGPE hang fix during VDM droop workaroundYue Du2018-07-172-1/+5
| | | | | | | | | | | | | | | -Fixed stop entry suspend ACK in CME to resolve PGPE hang -Masked PARTIAL_GOOD error in PGPE when doing core throttle multicast. Key_Cronus_Test=PM_REGRESS Change-Id: I56888585ddaf429a4ffd7ebdc13b7b7c6b5b8cc5 CQ: SW437277 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/62082 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Cleanup: Updated Mvpd access function and removal of unused ringsClaus Michael Olsen2018-07-154-19/+15
| | | | | | | | | | | | | | | | | | | | | | | | | - Removed the function that converts the outdated RS4v2 header format to the current RS4v3 header format in the Mvpd accessor functions, mvpdRingFundFind(). This can be done since all Mvpd in existance on any of our supported P9 systems (i.e., >=P9N DD20) use RS4v3. - Removed two #R rings which are no longer supported since P9n DD10. Because these rings happen to be located at the end of the TOR instance ring sections, it will alter the image, but will not interfere with the traversing of the ringSection image due to the way chiplet and common/instance sub-sections are partitioned. Key_Cronus_Test=XIP_REGRESS Change-Id: I39740a099b224bfade8a97a057453b85498e5880 CQ: SW437855 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/62448 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-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: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Fix Core Special Wakeup window conditionYue Du2018-07-071-28/+23
| | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I933a7d9cc264cc05a2f11254b646092c13d7dc16 CQ: SW436006 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61996 Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@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: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Ravi Medikonduru <ravimed1@us.ibm.com>
* PM: Added support for enable disable of 24x7 IMA.Prem Shanker Jha2018-07-041-0/+1
| | | | | | | | | | | | | | | | | | Commit incorporates an ability to enable or disable 24x7 IMA. It reads an attribute and populates a field of QPMR header. 24x7 firmware is expected to read this field and enable or disable 24x7 IMA by itself. Key_Cronus_Test=NO_TEST Change-Id: I1f1fc738a58f11346f7972eb3c547aac0e2f805f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61667 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: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Clean up stop state after aborted L3 purge during Stop 11 entryYue Du2018-07-041-0/+8
| | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I8177aa82f188ecc9ef9efccfa44971486e60c42a CQ: SW435009 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61394 Tested-by: Jenkins Server <pfd-jenkins+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: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Alink Hot Repair FixChris Steffen2018-07-039-13/+7621
| | | | | | | | | | | | | Change-Id: Ie6fc10cefe5084af41a14c5edfd31d4cdc6f591d CQ: HW446279 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61067 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> Reviewed-by: Gary A. Peterson <garyp@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Clear CPPM_PECES on entry during power save cycle to prevent wakeup eventsBrian Vanderpool2018-06-292-0/+128
| | | | | | | | | | | | | | | | | | During the power save cycle, clear stop exit enables to prevent a hw generated wakeup pig from overwriting the stop entry request. In this mode, SGPE will read the per thread PSCR information and restore the PECE Shadow Key_Cronus_Test=PM_REGRESS Change-Id: I2521b38918f23c5dac4aefc59968ead05ad29b4d CQ: SW433304 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60975 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Fix CME Special Attention handlingYue Du2018-06-271-1/+8
| | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: Ic88c33e3f557710b1ec8bf006089797e63ffe8a9 CQ: SW432080 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61104 Tested-by: Jenkins Server <pfd-jenkins+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: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PM: clear Hcode error injection bits upon injection and malf alertGreg Still2018-06-2612-10/+89
| | | | | | | | | | | | | | | - Also deals with PM callout order issue with the malf alert assertion Key_Cronus_Test=PM_REGRESS Change-Id: I78b41c59d09369c60891beb41ff9debc986e59b4 CQ: SW434547 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61020 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP API: API conditionally supports 255 SCOM restore entries for each quad.Prem Shanker Jha2018-06-235-105/+139
| | | | | | | | | | | | | | | | | | | This is first of the series of commits intended for incorporating new mechanisms for SCOM restore. STOP API looks for a specific version in QPMR header of HOMER. If version is greater than 2, it allows - 255 SCOM Restore entries per quad - doesn't divide quad restore region in to L2, L3 and EQ sub-region If version is less than or equal to 2, API provideis legacy functionality. Key_Cronus_Test=PM_REGRESS RTC: 188827 Change-Id: Iac6ee94619302f745fee0c77acc168eaba04c3da Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61074 Tested-by: Jenkins Server <pfd-jenkins+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: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Fix Srr1 wrongly reported upon special wakeupYue Du2018-06-212-74/+85
| | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: Idaacd4fd30afbf49b1cfbaea4baf6cf898373c3a CQ: SW431323 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60835 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* support IO reconfig loop for OBUS DL link training failuresJoe McGill2018-06-121-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | - p9c DD1.1+ only, DD1.0 not supported - FW to trigger reconfig loop back to step 0 from sys_proc_fab_iovalid if: 1) sys_proc_fab_iovalid rc = FAPI2_RC_SUCCESS -- AND -- 2) new output o_obus_dl_rcs (vector of P9_FAB_IOVALID_DL_NOT_TRAINED_ERR rc objects identifying links which failed on this chip) has entries - attribute changes: ATTR_LINK_TRAIN -- remove platinit tag, attr should init to zero (both even and odd), and reconfig loop will adjust value as we go Change-Id: I95eebd2b893db6d2511aae40798c0a4e049835d6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59770 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: 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>
* PGPE: Add Comments(No functional change)Rahul Batra2018-06-1214-197/+710
| | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I51755982ff23cb5e2e0cac72eb06308a492fcccd CQ: SW429661 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60312 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>
* PPB: Bug fix in computing IAC Vdn valuePrasad Bg Ranganath2018-06-081-5/+5
| | | | | | | | | | | | | | | | | | | - Hardcode the Vdn Ceff value to 1 as the dimension is not supported in the WOF Tables. This avoids the root of the issue noted which was VPD data dependent in the previous algoithm for an unused element. - Update OCC Pstate Parameter Block comments on Iddq units to 5mA -- This is non-functional update to ensure the header comments represent reality and is for documentation only!!! (no pre/co-req) Key_Cronus_Test=PM_REGRESS Change-Id: I3a790160998eda4e384d9bcb9da7198aa45f457c CQ:SW429936 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60033 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: Jennifer A. Stofer <stofer@us.ibm.com>
* PGPE: Ack Back any pending quad active update during WOF DisableRahul Batra2018-06-082-5/+27
| | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I6c473add9d794aa0cf99acc3da4b2248e3afb4c0 CQ: SW431277 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60036 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* mask core SPATTN bit used for core checkstop handshakeJoe McGill2018-06-062-0/+4
| | | | | | | | | | Change-Id: I9c0a7224c3880ab40bb9111d8f66449912029e2f CQ: SW431474 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59858 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: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: CME/SGPE Hcode size reduction via global use of literalsYue Du2018-05-3132-372/+474
| | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: Ic9ec56beff42f052e88bde98e90e01d44ac43e4f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58542 Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+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: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Handle Quad Special Wakeup Done while pm_resetYue Du2018-05-301-1/+3
| | | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I89c9a3b8a80a58653be60f5e84e42e89b301ce72 CQ: SW416547 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59293 Tested-by: Jenkins Server <pfd-jenkins+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: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Add URMOR RAM to CME for NDD23 SMFYue Du2018-05-303-0/+25
| | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I7b4bc42805a82cafe52f6a80a646c2554e973905 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58953 Reviewed-by: Michael S. Floyd <mfloyd@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: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PM: Addressed TODOs in hcode image build HWP.Prem Shanker Jha2018-05-261-11/+6
| | | | | | | | | | | | | | | | | Commit addresses TODOs which were found to be functional. Code has been updated for those which needed an investigation. TODOs which intend design improvement has been deferred for next release. Change-Id: I68eb6c388cc9ff6bb72b79d9de718baa2812beab RTC: 184604 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59317 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: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PGPE: Fix WOF Enable/Disable IssuesRahul Batra2018-05-231-0/+1
| | | | | | | | | | | | | | | | | | | | | - Only send Ctrl Stop Updt on the very first WOF enable since PGPE boot - Send correct ACK for WOF_CTRL(OFF) IPC - Disable WOF during Pstate Stop processing if not already disabled Key_Cronus_Test=PM_REGRESS Change-Id: Ibae39b5917a0b6a02d8283656b38871f3d0bbe83 Original-Change-Id: Ia48d196343ce77893d0369fd8daa4373a121fc46 CQ: SW429049 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58738 Tested-by: Jenkins Server <pfd-jenkins+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: YUE DU <daviddu@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PGPE: Fix WOF Enable/Disable IssuesRahul Batra2018-05-231-4/+22
| | | | | | | | | | | | | | | | | | | | - Only send Ctrl Stop Updt on the very first WOF enable since PGPE boot - Send correct ACK for WOF_CTRL(OFF) IPC - Disable WOF during Pstate Stop processing if not already disabled Key_Cronus_Test=PM_REGRESS Change-Id: Ia48d196343ce77893d0369fd8daa4373a121fc46 CQ: SW429049 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58738 Tested-by: Jenkins Server <pfd-jenkins+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: YUE DU <daviddu@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PGPE: Correctly Set retActQuads during Safe ModeRahul Batra2018-05-231-2/+4
| | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I14a93245405ab1575675dee1140f33b9d6fde8bf CQ: SW427212 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58794 Tested-by: Jenkins Server <pfd-jenkins+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: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Fix History Write Data Machine Check by PPM_WRITE_DISABLEYue Du2018-05-181-7/+7
| | | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: Id0e6ccfec61ab2c6cf03fe58523d4610dc9d5ccd CQ: SW428789 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58688 Dev-Ready: YUE DU <daviddu@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: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Update to p9_xip_tool to handle stand-alone DDCO ring files.Claus Michael Olsen2018-05-174-188/+304
| | | | | | | | | | | | | | | | | | | | | | | | | In this update, we're adding support to p9_xip_tool to be able to dissect and extract stand-alone DDCO ring files, i.e. files that are DD packaged through using the dd_container API and which is the DD packaging that XIP "understands". Right now, dissect and extract (of a specific DD level) can only be achieved if the DDCO binary is attached to the XIP image as one of the rings sections, .rings, .overlays or .overrides. Key_Cronus_Test=XIP_REGRESS Change-Id: I8be00742f05b4df61652a1de6d0230bb5d203f97 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54704 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: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Sumit Kumar <sumit_kumar@in.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PGPE: Use global literals for reg addrsRahul Batra2018-05-1712-102/+141
| | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I1e38eca3b888dde64b953e977efff887013dbd5e CQ: SW428872 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58540 Tested-by: Jenkins Server <pfd-jenkins+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: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PGPE: Correctly write DB0 when used as DB3 payloadRahul Batra2018-05-112-2/+11
| | | | | | | | | | | | | | | | | | - When DB0 is used as payload for DB3, it should be written even if db0 value to be written is all zeroes. Key_Cronus_Test=PM_REGRESS Change-Id: I4acd634e817c0cac4acc1d2c9d42405af8ef5095 CQ: SW425931 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58580 Tested-by: Jenkins Server <pfd-jenkins+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: Steven Sombar <ssombar@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PGPE: Use PGPE Header from p9_hcode_images_defines.hRahul Batra2018-05-098-94/+64
| | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: Ie72b0d588b4da9eadf93625227a3d0cd519e9e6e CQ: SW421711 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56043 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.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: YUE DU <daviddu@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Adding p9c DD13 supportSoma BhanuTej2018-05-091-0/+7
| | | | | | | | | | | | | | | | | | -> p9_sim_model_boot.C -> p9_frequency_bucket.H -> cronus_auto_settings.H Change-Id: Ic3b099c7e43d673d861c83f33caede27f9b5d10e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58402 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Dev-Ready: Soma Bhanutej <soma.bhanu@in.ibm.com> Reviewed-by: Benjamin Gass <bgass@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> Reviewed-by: Brent Wieman <bwieman@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* CME: Process DB0 inside intercme_msg_handlerRahul Batra2018-05-045-15/+10
| | | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: Ibba9da7c8715dcd0b79790c8466db72a0ccdeeb1 CQ: SW426908 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58123 Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@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: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Revert "STOP/PSTATE: Fix CACCR Dual Cast Machine Check on Data mismatch"Gregory S. Still2018-05-031-25/+12
| | | | | | | | | | | | This reverts commit ebb51d9f438b9da99d0dbebef137cc360d927333. Change-Id: I1721d7f6c1801e33c80c9a12755bd8c92f69f981 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58093 Reviewed-by: RAHUL BATRA <rbatra@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: YUE DU <daviddu@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Risk level 3/4/5 support: Step 2 - image update to TOR v7Claus Michael Olsen2018-05-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | - 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>
* STOP/PSTATE: Fix CACCR Dual Cast Machine Check on Data mismatchYue Du2018-04-301-12/+25
| | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I093f1b98abf5f48e99c901d64aa47750c1abc83c CQ: SW426908 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57958 Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@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> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
OpenPOWER on IntegriCloud