summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fapi Implementation of Level2 HWP p9_stopclocksSoma BhanuTej2017-10-231-0/+1
| | | | | | | | | | | Change-Id: Ic9138a0734201ac936b870a5ae6bc3e0b124d47e RTC:159632 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28578 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Soma Bhanutej <soma.bhanu@in.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com>
* Level 2 HWP for p9_sbe_localreg_dumpAnusha Reddy Rangareddygari2017-10-231-14/+50
| | | | | | | | | Change-Id: I9d31907b20e5181ad1a1e98f513d0e4fbd571df0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28281 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com>
* p9_xip_delete_section: Modified APIClaus Michael Olsen2017-10-232-11/+50
| | | | | | | | | | | | | | This API has been updated to remove any random section, not just the last section. Also, an update has been made to p9_xip_tool, which uses this API. Change-Id: I0acdcd24d860093322cf13abf98511032e5b3eb1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28125 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: Prachi Gupta <pragupta@us.ibm.com>
* PK Prime new file in preparation for PK_PANIC using trapDoug Gilbert2017-10-231-0/+30
| | | | | | | | | Change-Id: I5406e32426ac5e963312b4e193777e7c8d24a729 RTC: 147211 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28621 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* p9_common_poweronoff: delay 10us/40k simcycles between FSM idle pollingJoe Dery2017-10-231-5/+11
| | | | | | | | | | | | Change-Id: I296ffb4520f276fc0ed8594122b59367c5b3e04e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28271 Reviewed-by: Kevin F. Reick <reick@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: YUE DU <daviddu@us.ibm.com> Reviewed-by: Sumit Kumar <sumit_kumar@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* add common header to define nest/mem frequency bucket contentJoe McGill2017-10-231-0/+65
| | | | | | | | | Change-Id: I86e270e1e997e860422722dc96be5a633a43ae19 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28526 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Adding tor_append_ring APIGirisankar Paulraj2017-10-233-238/+628
| | | | | | | | | | | | | | | | | | declared tor_append_ring API. Added new image magic parameter for cme and spge tor_get_ring function for supporting tor_append_ring API. Added new return code for tor_append_ring. Added code for tor_append_ring function. TOR starting address. Earlier it was referred from starting ring section starting address Change-Id: Ia07dc52dc3fe9e8d2c9acc67c7822357e559f45c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25454 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: GIRISANKAR PAULRAJ <gpaulraj@in.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
* p9_tor / p9_ringId: fixing layering violationMartin Peschke2017-10-233-29/+28
| | | | | | | | | | | | | | | | p9_tor builds on p9_ringId, not the other way around. Hence p9_ringId should not include p9_tor. Resolving by moving a definition and fixing some includes. Change-Id: Ibfe4d7c0c28838a836bf6ee5fc704ff515827c72 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27918 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: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: GIRISANKAR PAULRAJ <gpaulraj@in.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* p9_ringId / p9_ring_identification: cleanup extern declarationsMartin Peschke2017-10-234-138/+132
| | | | | | | | | | | | | | | | | | | | | | There is whole bunch of extern declarations in p9_ring_identification.H which refer to stuff that is actually declared in p9_ringId.C. So the right place for these extern declaration is p9_ringId.H. Moving these allows to move a couple of structure definitions, which belong to p9_ringId as well. Besides an unused structure definition is removed entirely. Having these things fall into the right places has enabled cleaning up a few include statements. This makes sure that other code doesn't pick up stuff that it doesn't need. Change-Id: Ic6e8748b8b56653859d1e146ea44e19b7243fd23 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27909 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* p9_ring_id.h: move ring IDs to plain C header fileMartin Peschke2017-10-234-304/+334
| | | | | | | | | | | | | | | | | | | The enum RingID is moved from p9_ringId.H to p9_ring_id.h. Now the latter has minimum content to support manufacturing. Its plain C content is compatible with wafer test Sun SC4.0 18 Oct 1995 C++ 4.1 . Besides HWP usually content themselves with p9_ring_id.h. Change-Id: I2d6cffb33a8c16a1083a02c6c04d4be7078480d2 RTC: 158310 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27682 Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Joseph E. Dery <dery@us.ibm.com> Dev-Ready: Joseph E. Dery <dery@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.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>
* Remove IBM confidential from files mirrored to hostboot currentlyStephen Cprek2017-10-231-5/+0
| | | | | | | | Change-Id: I840eee8a063c0eb7ae195060a85da189d5e19e82 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27944 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com>
* PM:Enhanced STOP API Tool.Prem Shanker Jha2017-10-233-2/+31
| | | | | | | | | | | Change-Id: I76278953c7441e0b21ad65e19f2e709e57030092 RTC:152905 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24320 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PPE42 PK lib locaton changesDoug Gilbert2017-10-234-5/+342
| | | | | | | | | Change-Id: I292a3e823073233eafb95f549cd4ccb1e7c9294a RTC: 157965 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27653 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* TOR API OVERRIDE supportGirisankar Paulraj2017-10-231-3/+23
| | | | | | | | | | | | | | | iv_num_variant changed as 1 for override function and added condition as work only on seeprom image override section. Added ringVaraint suppot to accommudate latest p9_ring_apply changes Change-Id: I1bf149a65a625a181246fec9a6d17fe38218c9a0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27706 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Kahn C. Evans <kahnevan@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* Level 2 HWP for p9_sbe_dumpAnusha Reddy Rangareddygari2017-10-2315-0/+1601
| | | | | | | | Change-Id: I2c3f863b26730905a93a2567805fbba6ec53593f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27760 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Dev-Ready: Deepak Kodihalli <dkodihal@in.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com>
* Rename tor_get_ring API as tor_access_ringGirisankar Paulraj2017-10-233-106/+106
| | | | | | | | | | | | | | | API functionality expended beyond get_ring function. now, it will support tor_append_ring functionality. Renamed as tor_access_ring more generic functionality name. Change-Id: I790c8bdecdebe82df084a98dcce44ceffc04ce45 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27551 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: Kahn C. Evans <kahnevan@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
* Adding debug level in tor_get_ring functionGirisankar Paulraj2017-10-232-99/+100
| | | | | | | | | | | | | | | It helps cronus team to enchance debug level printout based on mode of operation. Add uint32_t dbgl parameter to tor_get_ring API adjusted p9_tor and p9_xip_tool for support latest tor_get_ring API Change-Id: Id7e9a30b16feaa058668b94932baf3b6893c7c08 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27550 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: Martin Peschke <mpeschke@de.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
* Fix missing symbols from cme and sgpe imagesDoug Gilbert2017-10-232-6/+12
| | | | | | | | | Change-Id: Id598cdae66cf8f1e0f4f2e923dc50c6fe7785b5b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25455 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Updated ring_identification list: Now synchronized with ringId.H.Claus Michael Olsen2017-10-232-126/+143
| | | | | | | | | | | | | | Also, updated to support Mvpd support in xip_customize - To ignore GPTR rings - To facilitate orderly appending of Vpd rings to Seeprom image Change-Id: I0c38adad3219e932a8b63082149038de734495e7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27403 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Joseph E. Dery <dery@us.ibm.com> Dev-Ready: Joseph E. Dery <dery@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
* CORE/CACHE: core/cache/l2_stopclocks Level 2Yue Du2017-10-231-0/+8
| | | | | | | | | | | Change-Id: Ie4bce2bcaf0ffb2d1e57370312c4536356b62efc Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27338 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: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* p9_scan_compression: code structure cleanupsMartin Peschke2017-10-231-152/+82
| | | | | | | | | | Mostly simplification of some convoluted 'do {} while(0)'. Change-Id: I565edfd515dae7e5d9a9eee9e1ee6284939ecc0e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26605 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
* p9_xip_customize L1 checkin w/backwards support for Seeprom MB settings.Claus Michael Olsen2017-10-231-6/+21
| | | | | | | | | | Change-Id: I0a70ced101cf57bd469bd960ebeb15a75b2f939b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27406 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* Fixed ec_gptr ring offset in ringId.CPrasad Bg Ranganath2017-10-231-2/+2
| | | | | | | | | | Change-Id: Iedc82600f8335d49a21b7ea5eb7f715719d3a528 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27354 Reviewed-by: GIRISANKAR PAULRAJ <gpaulraj@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+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: Martin Peschke <mpeschke@de.ibm.com>
* Pstate Parameter Block structureGreg Still2017-10-232-0/+1408
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added VDM and Droop attributes refined in design sessions - Refined OCC, Local (CME) and Global (PGPE) content - Additional attributes to structure updates - Moved freqeuncy bias attributes from "EXT" to applying to both external (Global) and internal (Local) computations (eg remove EXT_ from the name) - Add resonant clocking attributes - Add iVRM attributes and content to p9_pstates.h and INT biasing attributes to XML - Add generated Pstate output structure - Moved ATTR_DPLL_DIVIDER to p9_pm_hwp_attributes.xml as it is written with default vs relying on platform from necessarily providing it.. - Change ATTR_DPLL_DIVIDER default access to check for 0 value to then set default value - Added temporaty HB attributes - Added ATTR_VDM_ENABLE plus rebase - Deal with HB CI warnings - Rebase Change-Id: I435bcbbbba0006718211341322d26c6d98bb7dec RTC: 153217 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24904 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: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* p9_scan_compression: RS4v2 decompressionMartin Peschke2017-10-232-17/+43
| | | | | | | | | | | | This adds RS4v2 support to decompression. Compression was already RS4v2-ready. Change-Id: I9621b0f72827924734953fd7fd98f861506bd8e0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25984 Tested-by: Jenkins Server <pfd-jenkins+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: Martin Peschke <mpeschke@de.ibm.com>
* p9_scan_compression: RS4v2 decompression, preparatory renamingMartin Peschke2017-10-232-36/+36
| | | | | | | | | | | | This patch just renames some variables so that additions for the upcoming RS4v2 enhancement fit in more nicely. Change-Id: I005da883c017f21ce3e39990957f5b42f801ad8a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26599 Tested-by: Jenkins Server <pfd-jenkins+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: Martin Peschke <mpeschke@de.ibm.com>
* p9_scan_compression: RS4v2 compression documentation fixesMartin Peschke2017-10-231-37/+80
| | | | | | | | | | | Fixing RS4v2 documentation changes and a couple a wrong assumptions in compression routine. Change-Id: Ie6e23191ff76a323aa8b39e299f46802b7f9c251 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25981 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* ex_l2_fure and ex_l2_mode ring points to ex_l2_fure raw ring name.Girisankar Paulraj2017-10-231-28/+27
| | | | | | | | | | Fixed code and now p9_ring_apply picks up right raw ring file. Change-Id: I99e59280dd9b01f0501471355c3afca05a484357 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26765 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
* support RISK LEVEL RINGGirisankar Paulraj2017-10-233-1/+41
| | | | | | | | | | | Added struct for adopting order of ring variant Added code support for above struct Change-Id: I21e7a2a83126ff426ef8ee0db53e613982ab5bdb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26625 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
* VBU IPL -- update sim PLL configurationJoe McGill2017-10-232-824/+625
| | | | | | | | | | | | | | | | | | | | | | | | | Adjust refclock/PLL configuration to drive all mesh clocks from PLLs non-IO/wafer configuration (nest PLL bucket #1) -- default for sc/sq/fc IO/system model configuration (nest PLL bucket #2) -- default for mc Regression framework updates Remove dependence on sim-only varosc/refclock HWPs Scan from HW image (ultimately need to move to SEEPROM) Add memory attribute HWPs missing from flow Handle real/broadside scan options HWP updates Scan PLL configuration from image Preserve clock mux attribute programming First crack at removing unneeded PLL buckets from images/TOR Add boot support for warm IPL Change-Id: Ic7f27ab3dfdf258471d91618adc8eae4cadb2e42 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26938 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: Jennifer A. Stofer <stofer@us.ibm.com>
* New PPE state dump utilityAmit Kumar2017-10-2315-0/+1851
| | | | | | | | | | | | - Added support for CME - Fixed Minor SPR issue - Added -dump/force_halt switches Change-Id: I27216eb0e09e9b71614b78757734a16813433583 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23926 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>
* p9_sbe_select_ex Level 2 updateGreg Still2017-10-231-1/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add PFET Delay settings for booting Quads/Cores for istep 4 - Delays controled the -DPRODUCT_DEFAULT_PFET_DELAY compile switch - if not defined (aka simulation), delays only 1 cycle between steps (on or off) - if defined, fixed delays based on the fastest nest times to meet minimum times for hardware (turn on); turn off is fast - Backed out the vector use reduction as this presented SBE platform problems. Those will be addressed in RTC 151413 - Per discussion to have ALL good core/cache and EX Multicast groups setup in p9_sbe_chiplet_reset, redid this procedure to only REMOVE chiplets from groups 3, 4, 5, and 6 in single mode (the default) so as to leave only one core n group 3 with the associated EQ in group 4 and the assoicated EX in either group 5 or 6 depending on even or odd EX number. If ALL mode (controlled by an attribute), no MC groups are modified. - Vector removal was addressed by removing some error checking for the sake of SBE code space. - Added default setting of QSSR that all L2s and Quads are stopped Change-Id: I650ab91b72cce86d9b7f319e988cccc72a691abd RTC: 151360 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23138 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* p9_scan_compression: debug macro fixesMartin Peschke2017-10-231-6/+6
| | | | | | | | | | | This makes the debug macros work by fixing compile warnings and errors. Change-Id: I012e89f2bdc165f08448a42785acb268f6f05507 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26530 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* PK/Kernel: allow user to override PK_BASE_FREQ_HZYue Du2017-10-231-5/+7
| | | | | | | Change-Id: I6f38505a8cac2a2cbc17bd2a17b7ecee40e35449 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26646 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* p9_infrastruct_help: fix missing inludeMartin Peschke2017-10-231-0/+1
| | | | | | | | | Use of FAPI macros requires the corresponding fapi header file. Change-Id: I21e1cff98066411d88cbbcc0e292a131978cfdf6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26663 Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Core restore routine changeAmit Kumar2017-10-231-8/+8
| | | | | | | | | | | | -Change to use SPR instead of load instruction to figure fused vs unfused mode Change-Id: I913b03df459589d5d098e20ef8c9b2d7aab1dc7f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25328 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Dev-Ready: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PM: Replacing instruction RLDIMI with RLDICR in STOP API.Prem Shanker Jha2017-10-232-24/+37
| | | | | | | | | | | | | | | SPR restoration entry was using instruction RLDIMI. It was setting lower 32 bits of SPR to non zero values. Replacing instruction rldimi with rldicr. This will not only shift lower 32 bits but also ensure that non-zero values don't get inserted after the shift. Change-Id: I25b68d4c374cdb4d091a6ea41552f8534655105f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26610 Reviewed-by: Gregory S. Still <stillgs@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: Michael J. Vance <mjvance@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* EQ_ANA_BNDY_0..26 ringId supportPrasad Bg Ranganath2017-10-232-60/+195
| | | | | | | | | | | | | | | | Updated p9_ringId.C for supporting above rings variable > fix local reference ring number adjust p9_ring_identification.C with new RingID enum values Change-Id: I71fa40bda12ade2d44c17eee4721c7cf459d8126 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26595 Reviewed-by: Prachi Gupta <pragupta@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: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com>
* update P9 VPD ring names from n10_e9055 RITA scandefJoe Dery2017-10-232-63/+117
| | | | | | | | | | | | | | | | - initial version from Eric Fluhr/Mike Sgro - added n3_np_, n2_psi, expand ob0..3 from e9048+ scandef - removed n2_psi_{time,repr} and mc_iomXX_{time,repr} dropped from RITA scandef - matched ringIds from p9_ringId.H commit 25695 * 20160628 further changes from 25695.28 (final): mc_repr 0x76, obX_repr * 20160629 further changes from 26388: affected xb_*repr - removed RingIdList members ringNameImg and bWcSpace Change-Id: Id3e150a2fd63036033c8512223ef3de89fcd10a4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25027 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* p9_scan_compression: RS4v2 compression version fixMartin Peschke2017-10-232-4/+4
| | | | | | | | | | | | | | | The version number contained inside the RS4 magic value should be bumped up from 1 to 2. Users need to be able to distinguish both versions, because some encoded nibbles have a different meaning. Change-Id: I593b8b6991f4646a7237e9f4170433f5f0aa813b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26532 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* p9_scan_compression: RS4v2 compression error return fixMartin Peschke2017-10-232-15/+31
| | | | | | | | | | | | | | | Instead of calling exit() on errors and instead of terminating a calling binary, it's better to return a defined RS4 return code. This allows calling code to handle these errors, e.g. by dumping debug information. Change-Id: I49242b6fe880dc8f5adbc0951a1667b891c8cf22 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26528 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* CORE/CACHE: add Level1 cache/l2/core stopclocks proceduresYue Du2017-10-231-10/+25
| | | | | | | | | | | Change-Id: Id407ffa51ea9a7fb9a0056a7faaf1e33e4433e50 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26276 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: Soma Bhanutej <soma.bhanu@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* p9_tor: remove an include dependencyMartin Peschke2017-10-233-2/+4
| | | | | | | | | | | | | | | | | We used to proliferate a dependency to p9_infrastruct_help.H through p9_tor.H, which is bad. To be precise, it is p9_tor.C that needs p9_infrastruct_help.H. Other users of p9_infrastruct_help.H must not rely on that file being included by some other include, but they should include it directly. Change-Id: Id76608e5e5e3006247fb2f26648ec522c84f9c43 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26037 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: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* p9_scan_compression: RS4v2 compression size fixMartin Peschke2017-10-231-18/+69
| | | | | | | | | | | | | | RS4 v2 has a worse worst case compression than v1. Hence the calculation of worst case memory consumption for compression needs to be updated. Otherwise compression might fail for some input data. Change-Id: I7f3c868d62929b8c0ba95d0e94875e94aec98cfb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26525 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Peng Fei Gou <shgoupf@cn.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* Level 2 Hwp for p9_start_cbsAnusha Reddy Rangareddygari2017-10-232-0/+37
| | | | | | | | | | | | | | * Include check for VDN_PGOOD after Cbs_done * Modifying Cbs_Idle fapi_err msg Change-Id: If6fd511cf12d1fb193246890d53fb576b70e90e9 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26461 Reviewed-by: Soma Bhanutej <soma.bhanu@in.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: Sunil Kumar <skumar8j@in.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com>
* Add PK_TRACE_CRIT and PK_TRACE_DBG_SUPPRESS trace directivesDoug Gilbert2017-10-231-2/+38
| | | | | | | | | Change-Id: Ie77655258f5d5b78da0e71a96a97ddf4b442af5a RTC: 154819 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25322 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* FAPI2 for ppe_closedSantosh Puranik2017-10-2355-0/+10456
| | | | | | | | | | | -- Added FAPI2 libraries to stop_gpe and pgpe -- Moved the gpes to the new compiler Change-Id: I2c2eed611df3b42aecd18ce38210d0affce64d35 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26304 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PM:Changing calling convention of STOP API.Prem Shanker Jha2017-10-236-79/+98
| | | | | | | | | | | | | | Changes made in function arguments to make it suitable for C world. This is based on feedback received from Power Mixer team. RTC:154530 Change-Id: I402822918089df2ac05774ede1e770bd013678b3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25143 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: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PK API for timebase reference update (SBE)Doug Gilbert2017-10-232-6/+32
| | | | | | | | | | Change-Id: I1fe9813707b72873cc2fad146c6d64b96c1b25ee RTC:154506 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25516 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* SSX/PK IPC msg handling deadlockDoug Gilbert2017-10-231-15/+29
| | | | | | | | | Change-Id: Ic84c6905e98d637f7630ce888abe5bd9a43a2ee9 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26274 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Wael El-Essawy <welessa@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
OpenPOWER on IntegriCloud