summaryrefslogtreecommitdiffstats
path: root/src/import
Commit message (Collapse)AuthorAgeFilesLines
* p9_sbe_nest_initf procedure update for EUH IO configAbhishek Agarwal2016-10-071-12/+32
| | | | | | | | | | | | | | | Change-Id: I1b161743d6edf42ff721e46dccbb586391f04789 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30514 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Reviewed-by: Soma Bhanutej <soma.bhanu@in.ibm.com> Reviewed-by: Sunil Kumar <skumar8j@in.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30515 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Stop Clocks for MPIPL (Core & Cache(EQ))Raja Das2016-10-063-0/+6
| | | | | | | | | | | | RTC: 156382 Change-Id: Ib3e8c29467aa7d3b6b85286e6f5ce154f0f28ad6 RTC: 156382 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29555 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* Core/Initfile: remove cache contained condtions on core-cc/l2 quiescesYue Du2016-10-061-2/+1
| | | | | | | | | | | | | | Change-Id: I4de12980ca78d3d48a9c3381e240a9355f2667e7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30696 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: James N. Klazynski <jklazyns@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30698 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* pervasive_attributes.xml -- add input refclock termination controlsJoe McGill2016-10-061-0/+23
| | | | | | | | | | | | | | | | | | | | | ATTR_CP_REFCLOCK_RCVR_TERM -- 0/50 ohm ATTR_IO_REFCLOCK_RCVR_TERM -- 0/50/100 ohm updating auto gen attribute accessors add value for HB defaults (0 ohm), appropriate for system use Cronus needs to init to 50 ohm for WAFER system type only Change-Id: Ibb0f2e6b41c375d8d1a663b6dd53c2774edd16a1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30585 Dev-Ready: Brent Wieman <bwieman@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Joachim Fenkes <fenkes@de.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: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30589 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Interrupts must be blocked the entire time the thread is stopped.Nick Klazynski2016-10-052-32/+44
| | | | | | | | | | | | | | | | | - Instead of just blocking interrupts during the actual step operation, we should have blocked the entire time the thread is stopped. Change-Id: Ie3006a8882ad996ef62290aeae7103286211ef1f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30186 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: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30189 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* Organize PM plat and HWP attributesSangeetha T S2016-10-041-2/+2
| | | | | | | | | | | | | | | | Change-Id: I84bc713c22892fd3fbdb8ab52d222bb9e6df5bf1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30602 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30603 Reviewed-by: Hostboot Team <hostboot@us.ibm.com>
* L2 version - p9_sbe_sequence_drtmSantosh2016-10-042-0/+14
| | | | | | | | | | | | | | | Change-Id: Ic1b277304f0ce6057f876be4824626974d32acd0 RTC:156477 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29780 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: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Abhishek Agarwal <abagarw8@in.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29818 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* SBE:putring:Increase the poll countPrasad Bg Ranganath2016-10-041-2/+2
| | | | | | | | | | | | | Change-Id: I5f38ae68449ec449e80a4edbb75f0fbe7a1a5535 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30597 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30600 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* P9-XIP: simplify p9_xip_get_scalar()Martin Peschke2016-10-041-16/+6
| | | | | | | | | | | | | | | | Removing code duplication Change-Id: I7708a9016c2a8679454c26df87dab350e7443df6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29765 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: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29773 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* P9-XIP: simplify p9_xip_get_element()Martin Peschke2016-10-041-60/+5
| | | | | | | | | | | | | | | Removing code duplication Change-Id: I8afb0a03f3b4a3bd8590419b0c1e9ff8e051fe5a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29764 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: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29771 Reviewed-by: Hostboot Team <hostboot@us.ibm.com>
* Fixing MC & EP attr_pg for sc model config - p9_sbe_attr.xmlSoma BhanuTej2016-10-031-4/+4
| | | | | | | | | | | | Change-Id: I32cbda6253d63573229dc65a97103158c892b8b5 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30455 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30456 Reviewed-by: Hostboot Team <hostboot@us.ibm.com>
* scan HWP updatesJoe McGill2016-10-035-306/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tested via Cronus platform putring implementation p9_sbe_attr_setup p9_setup_sbe_config adjust mailbox write/read logic to properly handle cache contained mode p9_sbe_gptr_time_initf remove unused MC mc_iom[01|23]_time rings add OBUS1/2 scans add PCI pci[0|1|2]_pll_gptr rings add N2 n2_psi_gptr ring p9_sbe_repr_initf remove unused MC mc_iom[01|23]_repr rings add OBUS1/2 scans p9_sbe_nest_initf skip MC iom[01|23]_fure scans which require DETERMINISTIC_TEST_EN p9_sbe_io_initf skip PCI pci[0|1|2]_fure scans which require DETERMINISTIC_TEST_EN remove DETERMINISTIC_TEST_EN application for XB p9_hcd_cache_initf remove explicit initfile invocation/ring caching in wrapper correct putring targeting add EX ex_l2_mode ring scan p9_hcd_core_initf remove explicit initfile invocation/ring caching in wrapper add EC ec_mode ring scan add DBG/ERR trace for all putRing calls remove unused *gptr_time_repr_initf HWPs and wrappers Change-Id: Iaeb6c60b552721c5867f1f14fea0beb8313dab0f Original-Change-Id: If1f8e9f5b327a6ab4f9b5271c53616ad20163b93 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27400 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Kevin F. Reick <reick@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30606 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Change p9_mss_freq_system to write attributes, errors for CronusBrian Silver2016-09-301-0/+2
| | | | | | | | | | | | | | | | | | | | | Honor the maximum support frequencies based on rank configs Remove the MEMVPD_FREQ attribute Fixup VPD tooling and accessors for new freq attrs Fix test case handling of master ranks Fix handling of empty MCS in Cronus Change-Id: I669ad0e81454f12368b484e826461ee76f7b9079 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29878 Reviewed-by: Daniel M. Crowell <dcrowell@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: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29906 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Create new PK div32.S file to prime repository mirroringDoug Gilbert2016-09-301-0/+25
| | | | | | | | | | | Change-Id: I36025dec2443d9ebbec81e1ba1f4561a37060380 RTC:147209 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30487 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30536 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* SBE Quiesce Implementation for FIFO/PSURaja Das2016-09-303-3/+11
| | | | | | | | | | Change-Id: I25807d8114ed359347e842e2ca15d64f912865fb RTC: 149642 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29365 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Removed PPE specific code for SCOMsSantosh Puranik2016-09-301-146/+6
| | | | | | | | | | | | | | | Change-Id: Ib15f7f204d5afdba8ce23eaa2b749383b81ae3bc Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30280 Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> 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: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30286 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
* Support for EX VPD instance rings.Claus Michael Olsen2016-09-302-7/+6
| | | | | | | | | | | | | | | | | Change-Id: I43090f95b6ee2729549d962c1af6827d59b4277c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30458 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> Dev-Ready: Matt K. Light <mklight@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Benjamin Gass <bgass@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30460 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Fixing collection code of perv targets functionalSoma BhanuTej2016-09-304-55/+19
| | | | | | | | | | | | | | | Change-Id: Ia7928f4fa7ce4d48b9d9853068fe70d3cdaa45dd Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30344 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: Sunil Kumar <skumar8j@in.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30356 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* FFDC updates - p9_check_sbe_bootedAnusha Reddy Rangareddygari2016-09-301-1/+23
| | | | | | | | | | | | | | | Change-Id: Ic3bc5e1822677643fe40a0c9fafb2ac882cb5712 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30153 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: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30337 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* xip_customize: Updated mailbox attribute support.Claus Michael Olsen2016-09-292-266/+117
| | | | | | | | | | | | | | | | | | | | | | | Removed all *_VALID from pervasive_attributes.xml. Removed ATTR_DPLL_FILTER_BYPASS and ATTR_NEST_MEM_X_O_PCIE_FILTER_BYPASS Added ATTR_IS_MPIPL back into p9_sbe_attributes.xml. Initialized ATTR_PG to 0x0000FFFF in sbe_attributes.xml. Added p9_xip_customize_attributes.xml. Change-Id: Idbe457f9e79ca084e91d02b43c6880e9c4279858 CMVC-Prereq: 1006768 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29215 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@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: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29216 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* Add initfiles for trace default setupJoachim Fenkes2016-09-291-0/+25
| | | | | | | | | | | | | | | | | | | | - Stop trace on xstop+recov for core, cache, nest - Stop trace on xstop for all other chiplets - Synchronous start/stop of nest trace via N3 - Set up fabric compression mask so we're not swamped with bogus entries - Set up PIB trace compression to only look for valid bit Change-Id: I7b983f45784e425cb2ac786cd9da23de7dec682d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29884 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Kevin F. Reick <reick@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30333 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Change ffdc_t size member to size_t from int16_tRichard J. Knight2016-09-281-5/+4
| | | | | | | | | | | | | | Change-Id: Iaf2113dbcd04afe12abe0c150f2d90c90f53696f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30141 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: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30142 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* add initToZero tag for ATTR_SECURITY_MODEJoe McGill2016-09-261-1/+1
| | | | | | | | | | | | | | | | | | fix error in 29402, zeroing ATTR_SECURITY_ENABLE by accident Change-Id: Ic1e7f2d03929052ea518b5e5067db19cb12302bb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30042 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> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Brent Wieman <bwieman@us.ibm.com> Reviewed-by: JOSHUA L. HANNAN <jlhannan@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30058 Reviewed-by: Hostboot Team <hostboot@us.ibm.com>
* Fix MCFGP table look up when MCA is garded outThi Tran2016-09-261-4/+4
| | | | | | | | | | | | | | | | | Also fix incorrect description of ATTR_MSS_MEM_MC_IN_GROUP Change-Id: I7c793373b5c124c56ab9caa30dcc7e5cfe7253ca CQ:SW366015 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30193 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: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30194 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* FFDC UpdatesAnusha Reddy Rangareddygari2016-09-2612-161/+945
| | | | | | | | | | | | | | | Change-Id: I75faf871652e5320889961516b203ad5356c7843 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29885 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> Reviewed-by: Deepak Kodihalli <dkodihal@in.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29886 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* p9_xip_customize: Add #G and #R rings to the seeprom image from VPDPrachi Gupta2016-09-262-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | xip_customize supports the following: - Updates mailbox attributes in Seeprom image - Appends Mvpd #G and #R rings (but excl #G GPTR) into .rings ring section. - Shuffles around .hbbl, .overrides and .rings so that .rings is the last section in the Seeprom image as otherwise we can't reappend .rings section after updating it (since it wasn't last to begin with). - Honors of the bootCoreMask to append Vpd rings only for EC/EX/EQs associated with the ECs as indicated in the bootCoreMask. - Removes .toc, .fixedtoc and .strings in the Seeprom image. - Captures FFDC (100% complete). - Detects potential image overflow condition. Change-Id: I68bd2f39e3c407ea196f2228bdd31472a00a4c9e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26150 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> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30311 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* p9_ringId / p9_ring_identification: cleanup extern declarationsMartin Peschke2016-09-261-137/+0
| | | | | | | | | | | | | | | | | | | | | | | | | 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: I01440fd967425e6396a74c54778d179f10949160 Original-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> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30310 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Updated ring_identification list: Now synchronized with ringId.H.Claus Michael Olsen2016-09-261-8/+20
| | | | | | | | | | | | | | | | 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> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30309 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* p9_xip_customize L1 checkin w/backwards support for Seeprom MB settings.Claus Michael Olsen2016-09-261-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> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30308 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* support RISK LEVEL RINGGirisankar Paulraj2016-09-261-0/+22
| | | | | | | | | | | | | | Added struct for adopting order of ring variant Added code support for above struct Change-Id: I17a6fe9e162b9b8958e10d160a0bb738b697518a Original-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> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30307 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* p9_infrastruct_help: fix missing inludeMartin Peschke2016-09-261-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> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30306 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* update P9 VPD ring names from n10_e9055 RITA scandefJoe Dery2016-09-261-3/+0
| | | | | | | | | | | | | | | | | | - 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> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30305 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* New rings and obus0,1,2,3 support in ringId filePrasad Bg Ranganath2016-09-261-1/+19
| | | | | | | | | | | | | | | | | | Modified p9_ringId.C and p9_ring_identification.H for accommudating new rings support Change-Id: I5418e44f058752734be3423a5db6e9149421b1b2 Original-Change-Id: I5a43ddf01c7377327b6d13c3bde5191458cf96d7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25695 Tested-by: Jenkins Server Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Joseph E. Dery <dery@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30304 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Replace usage of printf() with FAPI_INF() in p9_torBill Hoffa2016-09-261-3/+9
| | | | | | | | | | | | | Change-Id: I220f106555f4639b2c81ef3fe733fce7614f464d Original-Change-Id: If81a7fe4ef17b0da8ef35dcafc74973eee0645e4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25597 Tested-by: Jenkins Server Reviewed-by: GIRISANKAR PAULRAJ <gpaulraj@in.ibm.com> Tested-by: Hostboot CI Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30303 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* p9_infrastruct_help: cleaning up endianess conversionMartin Peschke2016-09-261-63/+0
| | | | | | | | | | | | | | | | Use system header endian.h routines to do endianess conversion instead of own routines. Change-Id: I2d433154f6bb05c69371f832f879f1c2b3cd028a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24902 Tested-by: Jenkins Server Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Tested-by: Hostboot CI Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30302 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Remove File I/O from p9_infrastruct_help.HBill Hoffa2016-09-261-5/+0
| | | | | | | | | | | | | | Change-Id: I424f8c3c3f09b14ab2a1b1d08efb291c58fdd3f4 Original-Change-Id: I1e92f4eb8346d55695a1a4371b1e1987ba1262bb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25476 Tested-by: Jenkins Server Tested-by: Hostboot CI Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30301 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* move production code from tools/imageProcs to chips/p9/utils/imageProcsMartin Peschke2016-09-262-0/+300
| | | | | | | | | | | | | Change-Id: I5a7bb15f7c1139886df9c2ad94760c93096528d8 Original-Change-Id: I516c770ec7fd6d1fb2f8f7933a2579038c13ce6d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24786 Tested-by: Jenkins Server Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30300 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* p9_ipl_build updated to catch empty .rings section in HW image.Claus Michael Olsen2016-09-262-68/+69
| | | | | | | | | | | Change-Id: I8bb1afebcc2d739f9670e5ed8bd7da19abf2a9d9 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30002 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30267 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* xip_customize: Added CME/SGPE support.Claus Michael Olsen2016-09-261-20/+21
| | | | | | | | | | | | | | | | | | Includes TOR API fix for improper BE->LE conversion of ddLevelOffset from HW image. Includes cleanup and renaming of local variables around above section to improve clarity of code. Change-Id: If37518ed24b3431241a2aa9456e709d91ecea696 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28935 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30266 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* xip_customize: More removal of trace output noise for Cronus.Claus Michael Olsen2016-09-261-19/+67
| | | | | | | | | | Change-Id: I67153e2e00c2f09b407020fb14039b1fab2cf794 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29286 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-on: http://ralgit01.raleigh.ibm.com/gerrit1/30265 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Improved printing statementGirisankar Paulraj2016-09-262-41/+203
| | | | | | | | | | | | | | | | | Moving MY_INF under cotrol of i_dbgl params Improved io_ringBlockSize size checking condition Change-Id: Ieecbd27fe7ea5c4d7422a16764981e612025e042 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28891 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: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: GIRISANKAR PAULRAJ <gpaulraj@in.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30264 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Fixing name by eq_ana_bndy_l3dcc_bucket_26Girisankar Paulraj2016-09-261-1/+1
| | | | | | | | | | | | | | | | eq_ana_bndy_bucket_26 ring name is not correct. there is typo. new name is eq_ana_bndy_l3dcc_bucket_26. Change-Id: I8a223b7241c155900bdeb478a1e8578eb2f0373f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28780 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: GIRISANKAR PAULRAJ <gpaulraj@in.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30263 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Adding CME/SGPE ppe get_single_ring supportGirisankar Paulraj2016-09-262-29/+70
| | | | | | | | | | | | | | | | get_ring_from_sgpe_image and get_ring_from_cme_image function support only HW_image get ring. add condition for support CME and SGPE ppe type get ring functionality. Now, Extracted CME and SGPE ppe ring passed through tor_access_ring. So,User can extract single ring container from CME and SGPE ppe type rings block. Change-Id: I198976deac00e4d0237be14933dded1c35131931 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28299 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30262 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Adding tor_append_ring APIGirisankar Paulraj2016-09-262-236/+626
| | | | | | | | | | | | | | | | | | | | | | 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: I8c6ba853b0386cd0aea46cec177c6af0bc0755e1 Original-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> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30261 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* p9_tor / p9_ringId: fixing layering violationMartin Peschke2016-09-262-29/+17
| | | | | | | | | | | | | | | | | | | | 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: I122619e5a7f37dbde0849cab84a14203e7965f7f Original-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> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30260 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* p9_ringId / p9_ring_identification: cleanup extern declarationsMartin Peschke2016-09-262-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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: I6346d006a783e990e4c6bb5de9632c54279f3974 Original-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> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30259 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* p9_ring_id.h: move ring IDs to plain C header fileMartin Peschke2016-09-262-1/+2
| | | | | | | | | | | | | | | | | | | | | | | 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: I9f34118c0e4ad211be1ffd2261b725acbd13666a Original-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> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30258 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* TOR API OVERRIDE supportGirisankar Paulraj2016-09-261-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> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30257 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Rename tor_get_ring API as tor_access_ringGirisankar Paulraj2016-09-262-89/+89
| | | | | | | | | | | | | | | | | | | 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: Idffd72940649f674a3eb2be6ab06b849a7eaef10 Original-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> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30256 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Adding debug level in tor_get_ring functionGirisankar Paulraj2016-09-262-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> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27555 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
OpenPOWER on IntegriCloud