summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* p9_tor: fix tor_access_ring failureMartin Peschke2017-10-231-0/+2
| | | | | | | | | | | | | | Commit 33317 removed a couple of the lines that need to be kept. Impacts CME and SGPE. Change-Id: I5fccae529051c9ccfcff9042b67d238f8f5a94d3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36801 Dev-Ready: Brent Wieman <bwieman@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: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Brent Wieman <bwieman@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* p9_tor: fix endianess conversionMartin Peschke2017-10-231-45/+42
| | | | | | | | | | | | | | | | | The p9_tor code used htobe* in many places where it should have used be*toh, because the code reads values from the big-endian TOR image to host memory. This misuse should not show during execution, because these functions are equivalent. But the code was misleading and raising the wrong questions (How can we ever use values converted from host endian to big-endian in calculations and as sizes or offsets in memcpy operation?) Change-Id: I2117a22e3e0765dff44279e2bb291e13811b2f15 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33317 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: Martin Peschke <mpeschke@de.ibm.com>
* xip_tool: Now dumping raw decompressed DATA and CARE nibbles.Claus Michael Olsen2017-10-231-15/+97
| | | | | | | | Change-Id: If938045f9cf31529b8bdf7d5771b76a865a5a1dd Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36585 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sumit Kumar <sumit_kumar@in.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* xip_customize: MVPD compatible file set.Claus Michael Olsen2017-10-236-11/+64
| | | | | | | | | | Change-Id: Ib3b7aeb8045a28ca05d33370c1ef1dcb9ba1fb64 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29448 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Michael C. Sgro <mcs793@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* PGPE WOF Enablement Fixed/UpdatesRahul Batra2017-10-2317-356/+520
| | | | | | | | | | | | - Hardcoded OCC immediate response mode - Hardcode GPPB SRAM location. Will move once hcode_image_build is envoked. Change-Id: I2146db30a7e187d0bd8de8e410d07d870e03c0d4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35405 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* pstate parameter block: precalculated slopesPrasad Bg Ranganath2017-10-231-0/+9
| | | | | | | | | | | | | | - rebased Change-Id: I5a0fe6006ee6270581c486362b07eaa1e0576502 RTC:162554 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35341 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: SUDHEENDRA K. SRIVATHSA <sudheendraks@in.ibm.com> Dev-Ready: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PPE ONLY: Drop chiplet fence after scominit and scomcust hwpYue Du2017-10-237-162/+121
| | | | | | | | | | Change-Id: I6306d508a8bfc38d0e96504006994dd0d5d6ceb4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36299 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com> Dev-Ready: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* putring/CME error code supportGreg Still2017-10-239-22/+281
| | | | | | | | | | | | | | | | - Add cme_panic_codes.h - Fix wild paste in a comment - Extended this support to SGPE putring as well. Change-Id: Ieb2cef71f7a22afb8f02fac82c6eacd4f2ecc3a9 RTC:168123 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35540 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> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* p9_xip_tool: tabular ring output for dissectMartin Peschke2017-10-232-20/+76
| | | | | | | | | | | | | Prints a table as dissect output with one line per ring, including number of bits in ring. The compressed ring is decompressed, and hence verified as to correct decompression. Change-Id: I016c02949efa7a13bda0ba6529e24a34fe99ebe5 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32796 Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* p9_xip_tool: cleanup - no intermediate dissect output bufferMartin Peschke2017-10-231-124/+34
| | | | | | | | | | | | | We write ring dissect output to stdout anyway. So there is no point in maintaining all that convoluted code that first writes into an intermediate buffer and then writes that buffer to stdout. Change-Id: I64c58daef85dddbfc96a85df6a4cd062a84b270d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33193 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Sumit Kumar <sumit_kumar@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* p9_xip_tool: cleanup - ring dissect output warningsMartin Peschke2017-10-231-21/+14
| | | | | | | | | | Usually we don't want debug messages. Change-Id: I59333814751fdeeed6027945f47424af9dabecf0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33182 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* p9_tor: fix debug level for messages disturbing ring dissectionMartin Peschke2017-10-231-9/+20
| | | | | | | | | | | | | | These messages used to clutter the p9_xip_tool ring dissect output. I am reclassifying them so that they require a higher debug level. Change-Id: I19ef206068f0750d625c8cbbe6e5bb019c52d37d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36421 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: Sumit Kumar <sumit_kumar@in.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* PGPE Boot FixesRahul Batra2017-10-2314-61/+125
| | | | | | | | | | | | | | | | | - Setup OCC SRAM pointers - Performed read-mod-write to OCC SCRATCH2 reg - Fixed debug trap insertion - Refined some traces for debug - Added linker script fix for .pgpe_image_header Change-Id: Id49de48d1cb1ca9ffc1cb343f3a8cb99a7803eca Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35181 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: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* p9_pm_pstate_gpe_init and p9_pm_pba_init updates for PGPE bootingGreg Still2017-10-231-1/+10
| | | | | | | | | | | | | | | | | | | - Allocated PBA Slave 2 to PGPE for both booting and runtime. - Setup PBA Slave 1 for GPE1 for use by OCC FW during run-time - Added debug halt detection for lab use - Typos from comments - Made stand-alone with p9_hcd_common.H updates Change-Id: I9df3676c9f58cbced49f0a5605be0d787fa930c7 RTC: 168104 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35547 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: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Sangeetha T S <sangeet2@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PM: Added changes in SCOM restore region.Prem Shanker Jha2017-10-233-6/+15
| | | | | | | | | | | | | | - Added BLR as first instruction in Self-Restore region - Modified handling of STOP API SCOM operation RESET. Change-Id: I84096355b520f4c9cae98860ccf9ebf1c56229e4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35724 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> Dev-Ready: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Centaur istep 11 supportThi Tran2017-10-233-0/+301
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | initCompiler generate procedures & wrapper for Centaur SCAN initfiles porting Centaur initfiles into p9 for Centaur EC 21 update Initfile Compiler to generate wrapper and C/H Scan files for Centaur generate rings data to be pulled in Centaur HW image. centaur_ec_attributes remove all attributes previously used by SBE code -- only DD2 is supported cen_common_funcs cleanup trace messages add common clockstart module for NEST/MEM centaur_misc_constants define constants for PLL scan0 operations define MEM scan chiplet constant cen_tp_chiplet_init1 remove EC feature attribute qualifications -- only DD2 is supported scan0 flush TP PLL GPTR BNDY and FUNC ring cen_pll_initf cen_initf directly invoke generated scan HWPs until putRing support exists cen_chiplet_init remove EC feature attribute qualifications -- only DD2 is supported cen_startclocks initial release centaur.cleanup.pll.scan.initfile right justify spy value to match p9 initCompiler expectations centaur.dmi.scan.initfile update owner centaur.mba.scan.initfile remove EC feature attribute qualifications -- only DD2 is supported centaur.mbs.scan.initfile remove EC feature attribute qualifications -- only DD2 is supported add content missing from original port centaur.mem.pll.scan.initfile remove dummy settings centaur.nest.pll.scan.initfile adjust freq attributes to match P9 NEST attribute content remove dummy settings centaur.thermal.scan.initfile update owner add content missing from original port cen_mem_pll_setup cen_nest_startclocks remove, not required for P9 IPL flow add missing object depedencies create wrappers for all planned isteps RTC 163457 Change-Id: Idd0972207f356315f1e2f52f911e1cb27f72a737 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32714 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
* p9_setup_evid: add system parm (loadline, etc) supportGreg Still2017-10-231-1/+11
| | | | | | | | | | | Change-Id: Ia8ac6ae59d1fabcead3a1beed14c71a21d59b2dd RTC: 166812 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36320 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* HB/IPL: ex_is_abomination workaround for hostbootYue Du2017-10-231-0/+2
| | | | | | | | | | | | Change-Id: I8e17e5aacafb0cbd9c80bc5f7c6b4c75f0603d75 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35715 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: CHRISTOPHER M. RIEDL <cmriedl@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Revert "Hcode: Drop chiplet fence after scominit and scomcust hwp."YUE DU2017-10-237-117/+162
| | | | | | | | | | This reverts commit 8da1c05a2580a96b3cc4a46b8cd25ecce06ee208. Change-Id: I6c23f3a6dadc1b55a3df8f2d879fe225f227a639 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36067 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>
* PM: Instruction change in SGPE Bootloader.Prem Shanker Jha2017-10-231-4/+4
| | | | | | | | | | | | Commit introduces instruction 'add' in place of 'adde'. Due to assertion of CA, PHYP based systems show unexpected result. Change-Id: I025e0b83ee20de99ae48831b444e1baf5e0e88e4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35204 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: Save, mask all and restore SPATTN_MASK around self restoreYue Du2017-10-232-0/+8
| | | | | | | | | Change-Id: Ie98fb07747fa26573e7d0aa73eb101e6c1feb641 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35233 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Hcode: Drop chiplet fence after scominit and scomcust hwp.Yue Du2017-10-237-162/+117
| | | | | | | | | | Change-Id: I88e9f9087e9877b63cb9eadeda99ad6cc286485c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35758 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: JAMES DEZELLE <jdezelle@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Add check to verify SBE .ring section sizeRichard J. Knight2017-10-233-9/+121
| | | | | | | | | | | | | | | | | | | | | -Add option to p9_xip_tool to verify the size of the DD specific .rings section intended for the SBE image -Update makefiles to correctly run p9_ring_apply to insert and extract the DD level specific rings. -Update tor_access_ring to correctly advance the pointer to the next DD level in the HW image so the size can be extracted correctlty. Change-Id: I21a53b5d11341a14a4e9cc88388c9c2050394095 RTC:165558 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33873 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: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Add build_tag to xip image headerPrachi Gupta2017-10-236-10/+25
| | | | | | | | | | | | | | | | | When releasing an image to FW, we would like to keep track of which release tag was used to build this image. Later on, that release tag can be used to rebuild the same image. Change-Id: I734b9a642e1b1c0a63a1cc25ab9c61beb35b25f3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26930 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: Martin Peschke <mpeschke@de.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
* Revert "PM: Change in self sestore region for lab."Gregory S. Still2017-10-234-105/+101
| | | | | | | | | | | | | - Fix copyright on four files This reverts commit ac01a5296f3f403a3a2e186dc2d817efec7df8f6. Change-Id: Ie008a21138817c421ac9dc3d7b35ca8f9e032864 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35621 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: Joseph J. McGill <jmcgill@us.ibm.com>
* IOPPE image build flowMartin Peschke2017-10-231-3/+9
| | | | | | | | | | | | | | Defines IOPPE XIP image sections, creates build flow for IOPPE sub image, and makes the HW Image build flow pick up the latter. Change-Id: I4ff43a3fe556741c584cf929c86479034c4a516a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28320 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: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* I/O PPE Nvlink, Xbus, AbusChris Steffen2017-10-2315-1/+1279
| | | | | | | | | | Change-Id: I0b26c3547aff4278055b56772f25781814c237ef Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35070 Reviewed-by: Gary A. Peterson <garyp@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: Martin Peschke <mpeschke@de.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PM: Change in self sestore region for lab.Prem Shanker Jha2017-10-233-5/+9
| | | | | | | | | | | | | | | | To support a lab scenario, first instruction of a thread SPR restore region and SCOM Restore region should be a BLR instruction instead of an ATTN instruction. This prevents a thread from hitting attention if SPR restore entries don't exist for it. Change-Id: I86a268d2c8ec0ed4955dc37f338fca8f7410305e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33877 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PM: Fixed offset for CME Instance rings in CPMR Header.Prem Shanker Jha2017-10-232-4/+4
| | | | | | | | | | | | | | | | | | | | After realization of compact image layout, CPMR header's field pointing to core specific ring must be populated with a dynamically calculated offset instead of a fixed value of 300KB. CME's boot code doing second block copy too needs to be updated accordigly. Hcode Image build wrapper doing extraction of CPMR-CME region needs update as well. Rebase Change-Id: I366daca2d4fb81b683c387d2b6942a904b631ab0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35529 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+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>
* HW398205: fix cme entry abort changed irq masking assumptionYue Du2017-10-231-6/+2
| | | | | | | | | | 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 Du2017-10-231-12/+26
| | | | | | | | | 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 Du2017-10-2313-48/+38
| | | | | | | | | | | | | | | | 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: 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 Du2017-10-239-33/+30
| | | | | | | 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>
* Small fix to TOR API to NOT display dbg msg when passed a ringIdClaus Michael Olsen2017-10-231-1/+4
| | | | | | | | | | | | | | | that doesn't exist in TOR. (This dbg msg was recently added to the RS4v3 commit 33993 and is causing confusion, so we're putting it under local debug control.) Change-Id: I1b00f5b19951134b3d3517db59639d39e5c257a6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35419 Reviewed-by: Kahn C. Evans <kahnevan@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@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: Prachi Gupta <pragupta@us.ibm.com>
* STOP: Stop cme trace array and halt CME before stop cache clocksYue Du2017-10-231-3/+27
| | | | | | | | | 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>
* PMLIB Prolog FixRahul Batra2017-10-2348-315/+0
| | | | | | | | | Change-Id: I0c93b77ab253e0b9a9a1f085f8e00223c059d034 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35366 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* TOR space reductionsMartin Peschke2017-10-2312-1208/+1139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | These changes avoid some waste of valuable memory used to store TOR and rings contained in TOR. This is mostly needed as a SEEPROM relief. Contains: - 12 byte ring header (former 31551 commit) - less zero padding at the end of compressed ring (former 31524 commit) - removed an additional ring meta data structure (former 31524 commit) In addition, it contains these fixes: - fixed a bunch of scan addresses (former 33969 commit) - increased size of ring decompression buffer (former 32796 commit) - zero byte ring padding up to 4 byte boundaries for SBE (former 33969 commit) - added dbgl control of error trace after call to get_ring_from_sbe_image - added enumerated ringId to the RS4v3 header - fixed incorrect scan address masks for even/odd EX RS4 v3 ring handling in MVPD accessor functions - fixed incorrect scan address region bits for odd EX rings translated from RS4 v2 to RS4 v3 in MVPD accessor functions Change-Id: I8fd00760e6ac2b3760994d1ca819fffbf35188ca Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33993 Tested-by: Hostboot CI <hostboot-ci+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: Prachi Gupta <pragupta@us.ibm.com>
* Change copier to use add instead of adde instructionBrian Vanderpool2017-10-231-1/+1
| | | | | | | | | | Change-Id: I02957488aff7b047983a4fa7e0c7613ff5f9c9c2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35184 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Dev-Ready: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Revert DSL fix enableYue Du2017-10-231-1/+1
| | | | | | | | Change-Id: I9ac33e7db0cb9c33096cd8491099384d63446b47 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35116 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Dev-Ready: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
* STOP: Increase Cme entry thread stack size as stack checking failsYue Du2017-10-231-1/+1
| | | | | | | | | | Change-Id: I0bace7c9190b0ea610cc36f5ca7252a086596999 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35096 Reviewed-by: JAMES DEZELLE <jdezelle@us.ibm.com> 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: Enable DLS+ManualStop1 Fix for DD1Yue Du2017-10-233-13/+19
| | | | | | | | | 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>
* PK: make GPE using 8B in64/out64 opYue Du2017-10-231-31/+0
| | | | | | | | | | Change-Id: I02cd577023fe818bab2aabbe60d513b7d9355d13 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34840 Reviewed-by: Douglas R. Gilbert <dgilbert@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: Gregory S. Still <stillgs@us.ibm.com>
* Edit ECID+Perv code to use new gen'd centaur scom headersLuke Mulkey2017-10-233-72/+34
| | | | | | | | | | | | | RTC 163585 - Done Change-Id: I4fe900e3c1e919ff03158dd4cd02c268667dcbec Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34371 Dev-Ready: Brent Wieman <bwieman@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brent Wieman <bwieman@us.ibm.com> Reviewed-by: Peng Fei Gou <shgoupf@cn.ibm.com> Reviewed-by: Benjamin Gass <bgass@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
* STOP: fix nest_hang_limit to 64x and core fir mask/actYue Du2017-10-231-4/+4
| | | | | | | | Change-Id: I19ac1edd94c442093200e1228db91a0242c083de Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34945 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: James N. Klazynski <jklazyns@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
* SGPE HWP : tune PFET controller pollingAmit Kumar2017-10-231-1/+6
| | | | | | | | | | Change-Id: I37f067f88c422f29b131329436b3a96475e24e75 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34819 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>
* WOF Enablement in PGPERahul Batra2017-10-2329-944/+3400
| | | | | | | | | | | | | | | | | -Full functionality for OCC Start/Stop, Set PMCR, Clip Updt -New code structure for PGPE(actuate/process thread, etc) -Update CME code as per the new Doorbell0 -Added place holders for SGPE-PGPE IPCs -Place holders for Error Interrupts like OCB_Error, XSTOP -Added code to correctly account for VRM transition delays Change-Id: I301b14304677e2ed0130f1c3479d523dcb931293 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34156 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+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>
* PK stack checkingDoug Gilbert2017-10-237-7/+49
| | | | | | | | | | | | | | | | | | | | | | This commit adds a thread stack check when a thread is preempted. Another check is done to the kernel stack when back-to-back interrupts are processesed. These checks are done at a time and location in the code where it is inexpensive to do the check, and in the case of the thread stack, a likely place for an stack overflow to occurr. A trap will happen if stack overflow is detected. Two new macros have been made available that can be used to do stack checking at any point in code. These are more expensive so their use needs to be limited. They are currently not yet used. Change-Id: I4b4229a358c3c75a2c1c0cba89bc3a38e6252384 RTC:160103 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33624 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Fix ppe plat delay calculation. Increase SGPE pk kernel and stop entry stackBrian Vanderpool2017-10-232-2/+4
| | | | | | | | | Change-Id: Ic21365a72afded54e965f41e2086b1e6cbc43bfc Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34896 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>
* FIR updates -- pervasive/core/PPEJoe McGill2017-10-232-2/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | p9_obus_scom_address_fixes.H add OBUS IO PPE address constants p9.cme.scan.initfile align EQ pervasive LFIR/XFIR settings with RAS XML docs p9.core.scan.initfile align EC pervasive LFIR/XFIR settings with RAS XML docs p9.core.scom.initfile p9_hcd_core_scominit.c adjust core FIR action settings for bits 1,12:13 to match RAS XML doc p9_sbe_scominit.C mask PBA FIR bit 1 to match RAS XML doc initialize FBC/XBUS/OBUS PPE FIR registers p9_sbe_common.C align non-EQ/EC pervasive LFIR/XFIR settings with RAS XML docs Change-Id: Ifbc6a47eb2dbe268a7ea832e55986d46a1870420 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34271 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: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Kevin F. Reick <reick@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
* MCS FIR updatesJoe McGill2017-10-231-3/+0
| | | | | | | | | | | Change-Id: Ia9315cc1032f38c7d286c5b286aece41ec433c5a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34537 Reviewed-by: Thi N. Tran <thi@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: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
OpenPOWER on IntegriCloud