summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixes required to build P9 STOP API with skibootDan Crowell2017-10-235-62/+65
| | | | | | | | | | | | | | | | | | | | | | | | This commit contains code changes which are needed to build P9 STOP API for skiboot/opal firmware. Fixes are mostly around detecting skiboot environment using __SKIBOOT__ and including files required for the build. Fixes related to using C compiler instead of C++ Fixes related to mixed code and declaration and other compiler error/warnings Resolves #100 Change-Id: I49b0cb5918373c0b1a0e795fded2d245bf2aa3f7 Signed-off-by: Akshay Adiga <akshay.adiga@linux.vnet.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40151 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Stuart Z. Jacobs <sjacobs@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Enablement of n3_br_fure ring for Nimbus DD2Sumit Kumar2017-10-233-7/+9
| | | | | | | | | | | Change-Id: I913dce08862c05aedd21ea1e00bc02a147786536 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39634 Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> 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: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: SGPE fixes for PGPE InteractionYue Du2017-10-235-39/+63
| | | | | | | | | | | | | | - 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: 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>
* PGPE: Move Slopes and DPLL_PS0 calculation offlineRahul Batra2017-10-232-233/+7
| | | | | | | | | | | Change-Id: I766c84575f2f5083f2dbcc4709b032a57c1ec2dd HW-Image-Prereq: I7718a529b8754ffc6fd8fdeb957eccee563110b6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38575 Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+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>
* p9_nv_ref_clk_enable -- shift NV refclock field programmingJoe McGill2017-10-231-1/+8
| | | | | | | | | | | Change-Id: I4d0d4c6d32ba42f0760142cca01ac15ab4e42108 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39831 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: Benjamin Gass <bgass@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PGPE: Added Code to Start Pstates if OCCFLG bit is setRahul Batra2017-10-231-51/+98
| | | | | | | | | | Change-Id: I2a393ae060ebe10165b513d2dcb83a333df3676b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39739 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: CHRISTOPHER M. RIEDL <cmriedl@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Pstate: Resonant Clocking Enablement - CME HcodeChristopher M. Riedl2017-10-2312-133/+597
| | | | | | | | | | | | | | | | | - 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: 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>
* PGPE: WOF Calculation Phase 1Rahul Batra2017-10-235-81/+135
| | | | | | | | | | | | Change-Id: I57e87ee310141a7d569371d9987005db1c3d0209 HW-Image-Prereq: I7718a529b8754ffc6fd8fdeb957eccee563110b6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39683 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> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Release the PCB Atomic lock on aborted Stop 11 entryBrian Vanderpool2017-10-231-0/+12
| | | | | | | | | 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>
* p9_mss_setup_bars -- customize interleave granularityJoe McGill2017-10-231-0/+6
| | | | | | | | | | | | | | | | | | | | | | | create new attribute to encapsulate system-wide interleave granularity, ship default should be 128B (so that the stride between channels in a group is a single cacheline) other enums are supported for logic and performance verification update p9_mss_setup_bars HWP to apply granularity customization only for supported group sizes of 2, 4, and 8 Change-Id: Iadecb9164efbf6c9ce0658f75a0def03cc600f01 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39923 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: SHELTON LEUNG <sleung@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Scom Restore version 2Brian Vanderpool2017-10-2312-78/+92
| | | | | | | | | | | | Due to difficulty rebasing 31210, the changes were made on a fresh checkout of head and put into this commit 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>
* WOF: Additional fields needed in OCC Pstate Parameter block for WOFPrasad Bg Ranganath2017-10-231-6/+25
| | | | | | | | | | Change-Id: I7718a529b8754ffc6fd8fdeb957eccee563110b6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39415 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: enable decrementor wakeupYue Du2017-10-2311-104/+165
| | | | | | | | | | | EPM Note - MARKER changes 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>
* Core Chiplet Scan0 Mode changesSudheendra K Srivathsa2017-10-231-2/+31
| | | | | | | | | Change-Id: I8eee413034e3d030e7ab9d5d43c090d7a8714ef7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35735 Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* WOF: VRM timing, WOF and VDM enblement attributes additionsPrasad Bg Ranganath2017-10-234-5/+18
| | | | | | | | | | | | Change-Id: I1ff55edf512f1a3ec4b6b1c1773726e31ae2e611 RTC:169800 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38207 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: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Fixing CME TOR allocation bug in ring_apply and TOR APIClaus Michael Olsen2017-10-232-99/+97
| | | | | | | | | | | | | | | RTC172494 - ring_apply currently allocates for 13 CME chiplets when the CME(s) only handle one chipletType, namely the EC core. ** This will NOT break the lab ** Change-Id: I3ead5727d0306438cd69f0919d7f9ad0cc39a245 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39130 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Sumit Kumar <sumit_kumar@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: CME BCE IrritatorYue Du2017-10-2310-25/+251
| | | | | | | | | | | | | | | | | | | When bce_irr thread(lower priority) runs(need relax stop events) It copies homer cpmrBase + 0x80000 + 0x30000 + (8byte*cme_id) to cme sram 0xFFFFFFF0, cme reads it and check with shadow copy then do top byte++, put it back to cme sram, bce back to homer until next time thread run Disable CME interrupts around issuing the SRESET for core self-restore and polling for instructions running. Change-Id: I33adb6213d61c82dc4aa11afccbf21859c4d99d3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38440 Reviewed-by: Brian T. Vanderpool <vanderp@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>
* PM: Fixed cronus compile issue due to header file inclusion within namespace.Prem Shanker Jha2017-10-231-1/+1
| | | | | | | | | | | | Moves inclusion of p9_ringId.H outside namespace p9_hcodeImageBuild. Change-Id: Ic556caa578035279563079832215678361c78e3c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39691 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Kahn C. Evans <kahnevan@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PM: Added support for scanning of eq_inex ring.Prem Shanker Jha2017-10-233-2/+2
| | | | | | | | | | | | | HW-ImageBuild-Prereq: e7236c22506612c52f0f7812dd8317ff4108ba33 Change-Id: I713702bfea372c085c9562f2c0b230ada6cf43ed Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38729 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: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PM: Added support for eq_inex rings in hcode image build.Prem Shanker Jha2017-10-231-1/+10
| | | | | | | | | | | | Change-Id: I3b1c4297ad4847bc41d8f080cdc8e25e7ee5886a HW-Image-Prereq: abbdca4a66381499027d1a83f81d9c7bf79bdf6a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39036 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PM : SGPE CME Boot now checks PMCR_READY flagChristopher M. Riedl2017-10-232-2/+10
| | | | | | | | | | | | | | - Update SGPE CME boot procedure to check PMCR_READY flag to indicate when a CME is fully booted (ensures all CME threads have completed initialization) - Set the PMCR_READY flag in CME Flags once PMCR thread is initialized Change-Id: I857c9af84bf015d93aef2fd189520bf29f919abf Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39621 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>
* PGPE: Set FIT threshold to hard-coded value of 2Rahul Batra2017-10-231-2/+6
| | | | | | | | | Change-Id: I86fbbdb55651dafce8969c199c7b5e56aae58ae5 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39550 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>
* PM: Updated QM mode flags for CME.Prem Shanker Jha2017-10-231-0/+3
| | | | | | | | | | | | | | | Updates following fields of QM Flags in CME Image header : - ATTR_SYSTEM_RESCLK_ENABLE - ATTR_SYSTEM_IVRMS_ENABLED - ATTR_SYSTEM_WOF_ENABLED Change-Id: I5126231f0c5eb3b39f7e1ce48ddb09a5cd6e3fa7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39543 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: CHRISTOPHER M. RIEDL <cmriedl@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PGPE: Standalone System Parameters Calculation FixRahul Batra2017-10-231-12/+22
| | | | | | | | | Change-Id: Ia03118d9a63b76383d298d898a481199686d63bd Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39551 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Add global checkstop FIR check in CME/SGPEYue Du2017-10-236-36/+62
| | | | | | | | | 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>
* PM: PM: Added support for self-restore in case of LE Hypervisor - stage 3Prem Shanker Jha2017-10-232-10/+10
| | | | | | | | | | | | Change-Id: Ifd5c21b88e9494aea689c291136b90bde804882e HW-Image-Prereq: 2e8b318cb00d6a4d1c425f87d5c7f1d0fa000162 RTC: 172449 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39420 Reviewed-by: Michael S. Floyd <mfloyd@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>
* STOP: Add queued scom support to CMEYue Du2017-10-236-65/+25
| | | | | | | | | Change-Id: I2cbcfe1a33e51c114b539fece5e03db130579cd9 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39304 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>
* PM: Added support for self-restore in case of LE Hypervisor - stage 2.Prem Shanker Jha2017-10-234-67/+386
| | | | | | | | | | | | | | | - Special Handling of MSR Restoration. - Handles switchover of endianess after MSR update and accomplishes completion of self restoration as a little endian core. - Adds attention at all the architected interrupt vectors. - Minor update in SRESET handler Change-Id: I8dfae1cc3fd6aa98182d9adf0ff0f4fabb23ac2e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39417 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>
* PM: Added support for self-restore in case of LE Hypervisor - stage 1.Prem Shanker Jha2017-10-231-17/+26
| | | | | | | | | | | | | STOP API saves restore value of MSR in GPR R21. For other SPRs, it continues to be GPR R0. Change-Id: I212c15cf01485e16340b9daab7d334a8e3ac2091 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39408 Tested-by: Jenkins Server <pfd-jenkins+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: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PGPE: Added WOF Immediate ModeRahul Batra2017-10-232-2/+5
| | | | | | | | | Change-Id: I898ebbee8cd14c0acd03eb6ba8acc46c393a033a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39369 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PGPE: OCC Heartbeat Disabled during PGPE InitRahul Batra2017-10-231-5/+10
| | | | | | | | Change-Id: Ibadbac01c0d761a8ba3936a5a0bb37157fccf88d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39368 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 Du2017-10-233-57/+55
| | | | | | | | | 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>
* PM: Added support for PBI EQ async boundary crossing latchesPrem Shanker Jha2017-10-234-13/+36
| | | | | | | | | | | | | | | | | | Adds support for eq_inex ring buckets in hardware image. commit intends to avoid co-req between hardware image and hcode image build. Change-Id: I732032d02ae1ffdc6614233020e1ca3286897bba RTC: 165533 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38138 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: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Fixing SGPE TOR allocation bug in ring_applyClaus Michael Olsen2017-10-231-0/+1
| | | | | | | | | | | | | | | RTC172496 - ring_apply currently allocates for two SGPE chiplets when there only is one. So reducing allocation to one Quad chiplet. ** This will not break the lab. ** Change-Id: I5ef1a7922da3e3ee2633f8930c9ce7d472140d1f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39065 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: Sumit Kumar <sumit_kumar@in.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* p9_pstate_param_blk: Define VFRT table and initialize the dataPrasad Bg Ranganath2017-10-233-82/+129
| | | | | | | | | | | | | | | | | Change-Id: If517d23014f40bc3f07563fc4009ff25b59f7745 RTC:167141 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36131 Dev-Ready: 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> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Enable CHTMYue Du2017-10-237-25/+149
| | | | | | | | | | | | | | | CHTM traces use Homer CpmrBase + 0x80000 + 16KB*cme_id When enabled, the CHTM traces are hard coded to 0x20000000 + 16MB*EX 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>
* PK DEC timer interrupts too close togetherDoug Gilbert2017-10-232-9/+18
| | | | | | | | | | Change-Id: If62e99e8977fda7211df4e56b78f0d64d2d13217 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37820 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PK move global data to .sdata/.sbss sections to reduce code sizeDoug Gilbert2017-10-239-14/+17
| | | | | | | | | | | Change-Id: Iec504dba9dd8f92b4d633a19425fcd1800ddb783 RTC:167181 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34750 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PM: Resonant Clocking Enablement - InfrastructureChristopher M. Riedl2017-10-231-0/+139
| | | | | | | | | | | | | | | | | - update/implement resonant clocking pstate parameter block procedure - implement a function to initialize resclk attributes to defaults from a header file (header to be updated by clocking team) - update/fix resclk attributes in xml Change-Id: I0bb83303cdc5452931a72fb970931c6aff43c03b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38954 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: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com>
* PM: Added support for SPR LDBAR.Prem Shanker Jha2017-10-232-10/+11
| | | | | | | | | | | | | | | Commit adds support for restoration of LDBAR SPR. It is being treated as a thread level SPR. Hypervisor will decide if restoration entry needs to be created for one thread or all threads of a core. Change-Id: Ic9a5976b91f27584de23feba52a5f680e177ab88 RTC: 172193 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38969 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: Thi N. Tran <thi@us.ibm.com>
* STOP: Fix express processing commitYue Du2017-10-233-8/+10
| | | | | | | | | 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>
* PM: Res. Clocking Enablement - Infrastructure (new file for HB mirror)Christopher M. Riedl2017-10-231-0/+24
| | | | | | | | | - Add p9_resclk_defines.H 'placeholder' file for HB mirror Change-Id: I270739b43554d9717bd3d8a4f33b8469c95d933d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39094 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com>
* Add another writeBit API, modify getBit. Add unit tests.Andre Marin2017-10-231-3/+29
| | | | | | | | | | | | Change-Id: I9bd9efdc4b2c8a2eac26b7b1f1e1ef183d81f9b6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38817 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: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: JACOB L. HARVEY <jlharvey@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com>
* PM: Tools update for verification of HOMER.Prem Shanker Jha2017-10-231-0/+1
| | | | | | | | | | | | | | | | | | - Commit adds support for verification of error path of Hcode Image Build. Error is injected in hardware image to verify response of HWP to the scenario. - Commit updates Homer Parser to add capability to parse SPR Restore entries and SCOM restore entries. - Updates test case bucket - Fixes a bug in test case execution. Change-Id: I6efd51d3ed57fe871da9237bdaa96d4cb0a25b4f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38588 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>
* STOP: move DPLL setup to SGPE initYue Du2017-10-231-2/+2
| | | | | | | | | | | Change-Id: Ie83b057061d5a8db3f3945775f11da201fb18998 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38561 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@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: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: clear PCBMUX disable from STOP Exit instead of SGPE INITYue Du2017-10-2310-131/+162
| | | | | | | | | | 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 Du2017-10-2320-105/+93
| | | | | | | | | | 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 Du2017-10-2338-583/+586
| | | | | | | | | 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: Reduce CME SizeYue Du2017-10-237-184/+92
| | | | | | | | | | Change-Id: I327cad85f6b2cbfc89b712e4f20e51475dda5749 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38634 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: Jennifer A. Stofer <stofer@us.ibm.com>
* PM: Design changes in SGPE Boot copier and boot loader.Prem Shanker Jha2017-10-235-174/+215
| | | | | | | | | | | | | | - Use of consolidated SRAM Image Size to load SGPE Image. - Use of trap instead of self loop for interrupts. - Incorporation of SGPE Progress code debug of SGPE Booting Change-Id: I898f0966a727b76b31f3a737f91cdaa26b71558e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34220 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: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
OpenPOWER on IntegriCloud