summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* PSTATE: CME refactoring and cleanupRahul Batra2018-08-222-5/+5
| | | | | | | | | | | Change-Id: I27de746edab70e9d74183c2e7ce166cd8bb69b2e Original-Change-Id: I03cc2316da7b997c467ece0412a5212e38718318 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40823 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: move CME scominits from corequad_init to SGPEYue Du2018-08-221-0/+1
| | | | | | | | | | | Change-Id: I0b36b962a695c12e925649d045eab8f05639ea2a Original-Change-Id: I428c16cc512101bceb5a2431c599c50bfb732c02 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39514 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: BRIAN D. VICTOR <brian.d.victor1@ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Move Stop 8 code from CME to SGPE for CME space savingsYue Du2018-08-222-1/+54
| | | | | | | | | | Change-Id: I98d46b4bd4e5271da867e511f91de9accc908929 Original-Change-Id: I8ef3a2bb61d562462a7594275ea219597d7e519c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40667 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Fix hostboot stop level mappingYue Du2018-08-221-3/+5
| | | | | | | | | | | Change-Id: I7183c3c956e2d661b2b3ccafb51bfd1b0a13032b Original-Change-Id: I261944757d137077be4d2788f8433a9392d2dd80 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40761 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: CHRISTOPHER M. RIEDL <cmriedl@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Fix STOP1 with PowermixerYue Du2018-08-221-36/+45
| | | | | | | | | | Change-Id: Ia993479ed2d126ecbe5c91bdadd0a5e25d7ef799 Original-Change-Id: I42a9cbaab372506de09be183448bc3fcb5362c2c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41139 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Move delay after LPID change to before asserting quiesceBrian Vanderpool2018-08-221-2/+6
| | | | | | | | | | Change-Id: Ia6ca4e34a22f3a392672c9d4970269f06444ec61 Original-Change-Id: Ie4f44477258ad97432a368949618189905ad9c25 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40626 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Stop1 overall fixYue Du2018-08-221-15/+23
| | | | | | | | | | | Change-Id: I004d8662343da64c4aff31a23a8a5037e1f811e2 Original-Change-Id: I101179bce569ad47970d17e15c1213eee00fe447 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40680 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* This reverts the stop 1 commitsBrian Vanderpool2018-08-221-21/+18
| | | | | | | | | | | Change-Id: I351f8c6568540642eec0f95e6d7b3edea79e6a24 Original-Change-Id: Iddb6f734b8c05b97fc4d87268829ecb7af08fdf2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40653 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Dev-Ready: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Fix STOP1 correctly for DD1 WorkaroundMichael Floyd2018-08-221-9/+14
| | | | | | | | | | Change-Id: I9802c5fc79c5d651df3f15f8df82e46506c0cc85 Original-Change-Id: I8e10199208db098f5e73b9b3c66cb64a097f73e6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40603 Reviewed-by: YUE DU <daviddu@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Fix FABRIC_PUMP_MODE plumbing in stop imagesYue Du2018-08-222-46/+48
| | | | | | | | | | | Change-Id: I47f4b810a3815f2ca52949d9d5039d06d60396ec Original-Change-Id: Id0d10d56e421bb0cae2f02f2da54e11bd349ac1f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35443 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Actually enable Manual Stop1 for Nimbus DD1 to fix the PSSCR PLS reportingMichael Floyd2018-08-221-9/+7
| | | | | | | | | | Change-Id: I7b0b25ae5d470288bbcba51da1bf8f1839ecae2d Original-Change-Id: Ib001a6b4afe22b84f6cbf389cafec71dce86aa7b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40510 Reviewed-by: YUE DU <daviddu@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Pstate: Remove legacy VDM codeChristopher M. Riedl2018-08-222-8/+0
| | | | | | | | | | | | | | | | - Remove legacy VDM code in preparation for actual VDM enablement commit - VDM enablement only occurs during istep15 - Does not introduce any inter-platform dependencies Change-Id: I5770c5ff5c8e209c07444e7962c4d0d2867e2ccc Original-Change-Id: Ia46661f6133e2556bee0464a95c7109658a86beb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40185 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: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Support to unfreeze IMA after self-restoreMichael Floyd2018-08-221-6/+6
| | | | | | | | | | Change-Id: Ie36aac9857183d68e8a87528315343186655bc29 Original-Change-Id: Ibbfdd893ceeb69b69537fbe46cfc692ab18eb744 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40299 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: CHRISTOPHER M. RIEDL <cmriedl@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: SGPE fixes for PGPE InteractionYue Du2018-08-222-12/+12
| | | | | | | | | | | | | | | - SGPE checks PGPE_ACTIVE bit on OCC Scratch2 - SGPE uses semaphore for waiting on PGPE ACKs - SGPE checks STOP_LVL before sending Update Quad Active Exit - Sets IPC build flag to enable Change-Id: I6c2accdc144c2d21d1eafb1171002a397740ebdb Original-Change-Id: I8d99bf94e50d296e46c685ebf16f5e5cd155520d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39449 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Pstate: Resonant Clocking Enablement - CME HcodeChristopher M. Riedl2018-08-221-0/+3
| | | | | | | | | | | | | | | | | | - implement p9_cme_resclk_control and p9_cme_resclk_update - initialize resclk datastructures during init - add handler for comm_recvd (intercme msg interrupt) and corresponding irq priority (10) - update p9_cme_qm_flags.h to match header definition (uint16_t) and fix duplicate flag definition - add intercme msg functions and packet definition Change-Id: I4681668fd6ef89b946faea7c8f2f7b40261d36d3 Original-Change-Id: I3509892ec90b5a2135f7419f4c78209ac24e4e06 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39353 Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Release the PCB Atomic lock on aborted Stop 11 entryBrian Vanderpool2018-08-221-0/+12
| | | | | | | | | | Change-Id: If95f95933a4524c70d0d83d7b122eb64a0011588 Original-Change-Id: If11230c11e82f3a2ec2fe9fee16408374737b8f8 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39974 Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Scom Restore version 2Brian Vanderpool2018-08-221-5/+4
| | | | | | | | | | | | | Due to difficulty rebasing 31210, the changes were made on a fresh checkout of head and put into this commit Change-Id: I91e391054cdf4bbe32d1206fb5366c59e83d1c85 Original-Change-Id: Ia3590895691161880a348b4dd501fe644f00640e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39878 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: enable decrementor wakeupYue Du2018-08-222-2/+5
| | | | | | | | | | | | EPM Note - MARKER changes Change-Id: I5c4b6e83178ec0c2f737127ecdca2743ae8a0e22 Original-Change-Id: Idc99ab364107f25f48d74286570244f9f79b3e2e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39530 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Add global checkstop FIR check in CME/SGPEYue Du2018-08-221-0/+1
| | | | | | | | | | Change-Id: I6074867587391ae2b587ff89c516f812066b50da Original-Change-Id: Ic3559a9c9ee697e44bcef283acb806dbdffbd5fc Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39243 Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: DD2 workaround toggling pm_exit and wakeup without lpid ramYue Du2018-08-221-41/+45
| | | | | | | | | | Change-Id: I8b194c9605c08548c0a6de2a265e7ad3d031eeb6 Original-Change-Id: Ica2bba83c18318125e789fa721293a357c4261e5 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38751 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Enable CHTMYue Du2018-08-222-17/+43
| | | | | | | | | | | | | | | | CHTM traces use Homer CpmrBase + 0x80000 + 16KB*cme_id When enabled, the CHTM traces are hard coded to 0x20000000 + 16MB*EX Change-Id: Id678b1813191a5668a4772571ffaa9cef192ebf4 Original-Change-Id: I80256273a0b7fc31c2f8b5119108ca34e1599106 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38437 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: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Fix express processing commitYue Du2018-08-221-2/+2
| | | | | | | | | | Change-Id: I075ef2208ef477204e91540a3ecc8731d6790964 Original-Change-Id: Ic5824a0c8926ee5cf5713509b55ccc4a4a313b91 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39009 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: clear PCBMUX disable from STOP Exit instead of SGPE INITYue Du2018-08-223-51/+48
| | | | | | | | | | | Change-Id: Ia3cf92e7e5525f5fbcda8a1c47b5a631b3f57bd6 Original-Change-Id: Ice9d549cd5e752898a22dc823e39d5062206d0c2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38560 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: UIH updates on trace and phantom interrupt handlingYue Du2018-08-222-21/+21
| | | | | | | | | | | Change-Id: I4f953b2d0990acecb0beab7b464ff1c8b3461c67 Original-Change-Id: I28df758643540c2140142d4348983dae938dd1f5 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36976 Reviewed-by: Michael S. Floyd <mfloyd@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: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: express processing targets of stop1/2 and stop5/8 exitYue Du2018-08-223-31/+26
| | | | | | | | | | Change-Id: I2f3cb6487b33051b40b68386cc72110678f0e5f6 Original-Change-Id: I4dd0d2fd1d87340b7cc73ecd4196310c96a23f24 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38290 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Recent Lab FixesYue Du2018-08-222-98/+103
| | | | | | | | | | | | | | | | | | | | | 1) fix pig type3 for stop8+ 2) clean up the lpid fix traces 3) fix clean spwu after switch notify 4) clean up cme entry INF traces 5) clean up cme exit INF traces 6) fix halt cme before pb purge 7) clean up sgpe INF traces 8) fix phantom wakeup on wakeup_notify=0 9) fix epm_tunning compile 10)fix read OISR once on type2/3/6 status Change-Id: I740a992f300615e6b0e8e01036a589ab6210f0b2 Original-Change-Id: I06838f24cf2f788825ee25621cc7336001cfd80a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37984 Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: IPC FixesYue Du2018-08-221-28/+23
| | | | | | | | | | Change-Id: I24a46c9214b8ed59a0925c3bdb9cf995bf3ac2d1 Original-Change-Id: I32c0d3d7efd4323fb44712df97e99e53a9725538 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38258 Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Using PANIC codes at every pk_haltYue Du2018-08-222-24/+25
| | | | | | | | | | | Change-Id: I12006b9c926b83151405162d4fe550ba1171c961 Original-Change-Id: I89bba67a31ac5a049b5f7787a179aeea58adb917 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38390 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: DD2 set PPM_WRITE_DISABLE along with wakeup_notify_selectYue Du2018-08-221-2/+9
| | | | | | | | | | | Change-Id: I18a1db0358a5cd591129eb3acf6323e7d56bb677 Original-Change-Id: I037e2ca5d5b479a051b588aac2e702a72c8fae76 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34678 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: writing all 1s to lpid of each thread regardless fuse or notYue Du2018-08-221-3/+43
| | | | | | | | | | | | Change-Id: Id73f59173107e99d8637c58310a958526ea9b9df Original-Change-Id: I9b38af86e1d11167137d4c6a64a1229eb9ab4f59 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38423 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Conditional compile current error check to save cme sizeYue Du2018-08-222-0/+61
| | | | | | | | | | Change-Id: I53449f6d9f5bf75fbf124f54b20773bf820c576b Original-Change-Id: I46f19d388c6fdf16ae6865864cd648ecc707ba20 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38366 Dev-Ready: YUE DU <daviddu@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Acquire pcbmux after assert glsmux in cme exitYue Du2018-08-221-71/+32
| | | | | | | | | | Change-Id: Icafacaf99f324e6c0c1ed595ee66b473e1fe6981 Original-Change-Id: Ic5e3df2eb9508131f334686084ba65c5bde31618 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38361 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: FIX phantom wakeup vs. wakeup_notify_selectYue Du2018-08-222-2/+66
| | | | | | | | | | | | | | | | | | | 1) sgpe check type2 and 3 on the same core 2) cme check if notify is truely set 3) sgpe check if notify is truely set during stop8 entry 4) FIX phantom wakeup vs. wakeup_notify_select 5) so 4) isnt good enough as phantom can be noticed when notify = 1 or 0 (good type checker caught this) instead of using truth table to completely handle/detect unwanted cases. Change-Id: I513772fcba548e1ba96c7108f52999a4e9d74f52 Original-Change-Id: I3df8326260ba505db7efb3bdee17cc8908bd13fc Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37975 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Atomic lock of cache clock controller and PCB slaveYue Du2018-08-222-0/+24
| | | | | | | | | | | | | | Atomic lock the Cache clock controller before stopping L2 clocks. Do not release it until both EXs exit Stop8. Atomic lock the entire cache chiplet only for Stop11 entry, exit. Change-Id: I6dce138bc1c10f54fafe86ad8f0eb305a6daf1c9 Original-Change-Id: I63691b707c17026ac744b461d40b438666c40d01 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37881 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Change ring_save structure to 0xfff3fc00 PDA locationYue Du2018-08-222-26/+13
| | | | | | | | | | | | | | | | | | | | | | | | z .pda_ptrs 0x00000000fff3fc00 0x180 z 0x00000000fff3fc00 G_ring_save z z uint64_t G_ring_save[MAX_QUADS][8] z __attribute__((section(".pda_ptrs"))) = z { z {0, 0, 0, 0, 0, 0, 0, 0}, z {0, 0, 0, 0, 0, 0, 0, 0}, z {0, 0, 0, 0, 0, 0, 0, 0}, z {0, 0, 0, 0, 0, 0, 0, 0}, z {0, 0, 0, 0, 0, 0, 0, 0}, z {0, 0, 0, 0, 0, 0, 0, 0} z }; Change-Id: I1d4163887e9a0c8964ce1ee9e309c7bd92da5a98 Original-Change-Id: Ie48971ffaaa0d342d4091e0884cf1ae27a0265d6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36837 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: PCBMux Savior version 2 + TLBIE workaroundBrian Vanderpool2018-08-223-6/+324
| | | | | | | | | | | | | | | | 1. When the SGPE is scanning the cache, set the PM_DISBLE bits in SLAVE_CONFIG 2. Before the CME request the PCBMUX, mask return codes, do a dummy read to the PPM, unmask return codes, request the mux, poll for completion and then do a read to CPLT_STAT afterwards 3. TLBIE fix - save LPIDs, ram with dummy value, do TLBIE quiesce, restore LPIDS Change-Id: I6523ce1f9ffc168602ef3fb5584245e809e4b256 Original-Change-Id: I058c745aa442107d4af6e4331659d796399b11ed Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37509 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Enable CME IAR trace and remove stall events from traceBrian Vanderpool2018-08-221-0/+1
| | | | | | | | | | Change-Id: Ic070533ffc1771ab893b1d448e9f7860974edcb7 Original-Change-Id: I1557b7e1eded7df56fec20d862421d0d881d79aa Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37481 Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Hcode: Create centralized memory map headersYue Du2018-08-222-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | findings and todos: zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz redundant cpmr linker not sure which one is in use cme/link.cmd cme/linkcpmr.cmd cme/stop_cme/link_cpmr.cmd sgpe/stop_gpe/link.cmd sgpe/stop_gpe/linkqpmr.cmd zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz redundant asm of cpmr and qpmr headers: not sure which one is in use file names are inconsistant and confusing cme/p9_cpmr_header.S cme/stop_cme/p9_cme_cpmr.S cme/stop_cme/p9_cme_header.S sgpe/p9_sgpe_qpmr.S sgpe/stop_gpe/p9_sgpe_qpmr.S sgpe/stop_gpe/p9_sgpe_image_header.S zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz redundant edit programs not sure which ones are still useful contents are overlapping and out updated (i.e. cme one still try to edit build date/ver) cme/p9_cpmr_img_edit.C cme/stop_cme/p9_cme_img_edit.c cme/stop_cme/p9_cme_edit.mk sgpe/p9_sgpe_img_edit.c sgpe/stop_gpe/p9_sgpe_img_edit.c sgpe/stop_gpe/p9_sgpe_edit.mk zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz previous local makefiles not sure if still useful optional to keep or delete cme/Makefile cme/img_defs.mk sgpe/Makefile sgpe/img_defs.mk sgpe/stop_gpe/Makefile sgpe/stop_gpe/img_defs.mk sgpe/boot/Makefile sgpe/boot/img_defs.mk zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz Change-Id: I8f71356cf4f510061d359571009e04fdfe3430d6 Original-Change-Id: I94fbd28fc3e3c125e43232ea556a4e70b293db6d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36253 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>
* STOP: Fix optimize size and quad spwu issue of EIMR bookkeepYue Du2018-08-221-2/+2
| | | | | | | | | | | Change-Id: Ifc90927a64c140237bf56927933c1a35c3f245b6 Original-Change-Id: Ia0795467fc58076360cba2b48f1226b1c2a13079 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37234 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* IPL/Stop: Assert ABIST_SRAM_MODE_DC to support ABIST RecoveryYue Du2018-08-221-0/+5
| | | | | | | | | | | | Change-Id: I00aaadb18a01594d4706e42bd06e375b995e7aa0 Original-Change-Id: I4465535c32e3cde8e8e2f0f3a13bb1d66d1f7614 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36728 Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Joachim Fenkes <fenkes@de.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: move drop few quiesces from l2/cache startclocks to scomcustYue Du2018-08-221-1/+1
| | | | | | | | | | | | tlbie quiesce/l2 snoop disable for L2 refresh quiesce/lco disable for quad Change-Id: Ic4406adf42bb6c9ac561b4b92fefea9f49989511 Original-Change-Id: I221efae4d2d724c92334e5bc79f719307426583c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36614 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Fix L2 purge abort by pc interrupt on core handoff to sgpeYue Du2018-08-221-9/+19
| | | | | | | | | | Change-Id: I738ac02f0fccff8aadfe6b78535975cdc48b9155 Original-Change-Id: I81973d4de46f134f72dc9582aae7e6b6ea749e42 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36602 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: JAMES DEZELLE <jdezelle@us.ibm.com> Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: optimize size of stop imagesYue Du2018-08-223-361/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1) optimize scom with no rc and directly inline asm(saved for 2K :D) 2) initialize all variables(doesnt really save size, just good guideline) 3) loop both cores when block is big and redundant(saved only 50B -_-) (50b for 3 blocks, each block saves 17b, or 4 instructions) 4) improvement on history update(saved 500B more :)) 5) functionalize the exit catchup routine which is identical twice (this back fired and cost us 100B :() 6) functionalize the eval eimr override macro which is identical twice (saved 130B :|) 7) finally the saving is about 2728B on CME 8) apply history update tech to sgpe, found bug in the tech, fixed (but our saving is back to ~2500B) 9) clean up sgpe redundent ex branching code (same as cme saved only about ~60B) 10) rebase Change-Id: Id94e5d8b0e51868bc058723c279b590f01e7fc71 Original-Change-Id: I3664d6a2dcab85f896a583852afde948e635bd02 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34777 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* HW398205: fix cme entry abort changed irq masking assumptionYue Du2018-08-221-6/+2
| | | | | | | | | | | Change-Id: I57c1d4bd6ef5d6a5d3700ab1c6efa77205fb2514 Original-Change-Id: Ieecc329b28cb3aec67cfe8fc1d0e49999ad669bb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35338 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Dev-Ready: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Fix CME halt in sgpe entry to check partial good exYue Du2018-08-221-12/+26
| | | | | | | | | | Change-Id: I10a67de356b29c2fd0ad5f66a72385f721259c59 Original-Change-Id: If81bc4a88bafa5387fa0f78b7b042f1a3d5482ea Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35479 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: SUDHEENDRA K. SRIVATHSA <sudheendraks@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Clear up todo items in STOP and mark them with RTCYue Du2018-08-222-15/+11
| | | | | | | | | | | | | | | | | 1) add RTC marks for VDM/Xstop/CME Halt 2) add epm_p9_tunning for scan ratio 3) fix checking anep clock starts 4) fix large system default assuming header works now 5) poll for pfet sense line for power on/off 6) finalize panic upon fapi2 init fail in sgpe_main.c Change-Id: I73f2df838eb3a2d66af8c0ae6a2966b5fd59b9e0 Original-Change-Id: I064136b1b7a6c5ab4648663bc4774f4e2c82390c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34618 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: prevent ppe wait cycle being compiled out by compilerYue Du2018-08-222-4/+2
| | | | | | | | Change-Id: I1a34cfa9e8292e0ca180a30ce2b44b6bd9751cb5 Original-Change-Id: Ib9472733f828b557d4799ddb9fb00975ce004d9e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34378 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Stop cme trace array and halt CME before stop cache clocksYue Du2018-08-221-3/+27
| | | | | | | | | | Change-Id: Ic7b1db1de327c65e30929a5c357121a0faa1433c Original-Change-Id: I52b0e46799d8333f87b2954d5df66034c7002268 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34675 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Enable DLS+ManualStop1 Fix for DD1Yue Du2018-08-221-1/+1
| | | | | | | | | | Change-Id: I44589b1ebdb48b2a46231b563a146a7d2f356969 Original-Change-Id: I8df42108b198b7d8e7ddd06333c8e7221f4acf4a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34855 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: SGPE IPC support for WOFYue Du2018-08-222-11/+216
| | | | | | | | | | Change-Id: I7b0cbe3a1fcd112bbc3a6bcd4bada77ab0efdd1d Original-Change-Id: I7b8b10def5f2480e4886a48cf0c4a321dc99c7fe Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34249 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: ADAM S. HALE <ashale@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
OpenPOWER on IntegriCloud