summaryrefslogtreecommitdiffstats
path: root/import
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* STOP: Set chiplet ids in sgpe and cmeYue Du2018-08-221-0/+1
| | | | | | | | | | | Change-Id: I413be46cfa7eb53523d3c055692d3a511aab35b9 Original-Change-Id: Ic7955a7e6c8282633896952fb3f4642bbace75f0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34462 Reviewed-by: ADAM S. HALE <ashale@us.ibm.com> Reviewed-by: CHRISTOPHER M. RIEDL <cmriedl@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: Gregory S. Still <stillgs@us.ibm.com>
* STOP: scominit adding initfile callsYue Du2018-08-221-3/+14
| | | | | | | | | | | | Change-Id: Ib80e77ccb5ed12c84f2fda974fd84f25ca58fbaf Original-Change-Id: I060917f4350fbb213a01868e54a75bfda6b6bc06 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32797 Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Dev-Ready: ADAM S. HALE <ashale@us.ibm.com> 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>
* STOP: DD2 - abort entry on attn/recov + skip power off on OOB bitsYue Du2018-08-221-18/+43
| | | | | | | | | | | Change-Id: Ia0eca836474585c1965c3ca5ad52c7530d5a65e0 Original-Change-Id: I6102ed0035a629506b8622a83a6b4853a00bb681 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33491 Reviewed-by: ADAM S. HALE <ashale@us.ibm.com> Dev-Ready: ADAM S. HALE <ashale@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Cache Scom Restore(without copy to Sram)Yue Du2018-08-221-1/+9
| | | | | | | | | | | | Change-Id: Idc3e743279bab2ea0da1b3884199d70dbecbef3c Original-Change-Id: I64eb053c3efb42a918a4e6dea0e043074cf8ec9a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33791 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: ADAM S. HALE <ashale@us.ibm.com> Dev-Ready: ADAM S. HALE <ashale@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: fix variable spin being defined under epm_tunning enabledYue Du2018-08-221-1/+1
| | | | | | | | | | | Change-Id: I6019df9038be3ffb3d87898bbc356037e4cf1850 Original-Change-Id: Id248be67a145e5b46915e6b0704358196c00209e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33779 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: ADAM S. HALE <ashale@us.ibm.com> Dev-Ready: ADAM S. HALE <ashale@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: logic hole in L2 purge abort causing core being 0 undetectedYue Du2018-08-221-2/+3
| | | | | | | | | | | Change-Id: I3bf19685aef6101e337098d6b613e630cd899350 Original-Change-Id: I01208bcb3d243077a330ee6764f655726ba84bdf Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33742 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: ADAM S. HALE <ashale@us.ibm.com> Dev-Ready: ADAM S. HALE <ashale@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: enable cme trace array before cme boot in SGPEYue Du2018-08-221-0/+8
| | | | | | | | | | | | Change-Id: I37f24ecee79a409e1c3e6cd2c0abdb2ec3167a83 Original-Change-Id: If54189d3fcb17cb3b59019c62eb389ef01fc58cb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32749 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: ADAM S. HALE <ashale@us.ibm.com> Dev-Ready: ADAM S. HALE <ashale@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: clear EISR pm_active in entry catchup case.Yue Du2018-08-221-0/+1
| | | | | | | | | | | Change-Id: Iac64ba1cce89b15bbe6672f57c262c0fd662fbe4 Original-Change-Id: Ib3db555ba189c21414020e37c1d4ffad8478363d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33382 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: JAMES DEZELLE <jdezelle@us.ibm.com> Reviewed-by: ADAM S. HALE <ashale@us.ibm.com> Dev-Ready: ADAM S. HALE <ashale@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* OCC Flags/OCC Scratch UpdatesRahul Batra2018-08-221-0/+1
| | | | | | | | | | | | Change-Id: I344ff0afcf2717bed3dd3afb3db8966b0ee31d17 Original-Change-Id: I21020ebf7dfe39dd48e2d2727607dd35297831d7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32695 Tested-by: PPE CI <ppe-ci+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: 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 Image updatesYue Du2018-08-223-68/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is pending to be regressed and merged. Thus, freeze puting new change feature in unless necessary fix to existing features. 1) add starting ANEP clock and drop ANEP regional fence before starting DPLL clock 2) change trace level to 1 by default change trace level 1 to only print tiny traces trace level 2 will print variable debug info trace level 3 will print all traces 3) use self restore address from header instead of hardcoded 4) enable dpll lock check when in lab 5) finish up lco settings in sgpe code 6) DTS enablement in stop/istep code 7) skip cache power off if hostAttn or localXstop 8) istep4 set special wakeup, sgpe remove when ready 9) disable dpll lock check as still work in progress 10)rebase 11)fix jenkins 12)fix db1 workaround on OR/CLR address 13)can write db1 base address directly instead of read first 14)fix self restore address fetch 15)clear pig type2/3/6 pending in sgpe setup 16)move hostAttn/localXstop read before stopclocks 17)fix typo in 16) 18)fix getscom(hostAttn/localXstop) 19)fix hrmor[13:42] Change-Id: I5e235f245b4d73c68b8d8c7bcda3eefc40289b5a Original-Change-Id: Ibde32271db0543661c426d8eed8531ba6312c6e5 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32514 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Dev-Ready: 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>
* HB: fix HB core boot resulting cme bootYue Du2018-08-222-11/+24
| | | | | | | | | | | | | | Change-Id: Ic2b36106a2423cdad267a8e54e9cd8f021487455 Original-Change-Id: I18f7c24dc84536126a90a251ae770b0498b5d3d0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31138 Dev-Ready: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@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: Michael S. Floyd <mfloyd@us.ibm.com> Dev-Ready: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Hcode SPWU replacing auto spwuYue Du2018-08-221-3/+12
| | | | | | | | | | | Change-Id: I2f5a08ffec79a9732442cccdc6da1cb9ebcc27b4 Original-Change-Id: I60983e5d42a1e16639930c67524618ae138f59ac Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31209 Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Dev-Ready: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
OpenPOWER on IntegriCloud