summaryrefslogtreecommitdiffstats
path: root/src/usr/isteps
Commit message (Collapse)AuthorAgeFilesLines
...
* Add attribute for HDAT HB Reserved Memory number-of-sectionsCorey Swenson2017-02-281-7/+14
| | | | | | | | | | | | Change-Id: Iaa4e93e5dcb838e16c44666493504258587658bc RTC:169102 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36259 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove deprecated SBE side resolutionDan Crowell2017-02-271-12/+1
| | | | | | | | | | | | | | | | The HB Bootloader now owns the responsibility of selecting the appropriate side of PNOR to use when loading the HBB image. There is no longer a HBB pointer in the SBE image itself. This commit removes the code that dealt with that support. There is also some cleaning up of a few other related functions. Change-Id: I35bfccb3590f81867d8222333cb4be66718828fa Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36358 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add traces to debug crash in set_voltagesDan Crowell2017-02-272-4/+10
| | | | | | | | | | | | More data to help debug SW380025 Change-Id: I4bcbf546e538c84e601d1719700d55654b90095d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36808 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Move IOVALID set to host_proc_pcie_scominitMatt Ploetz2017-02-163-111/+98
| | | | | | | | | | | | RTC:167302 Change-Id: Ie8bc04f0643cf196edd17d4cb7575236a9c3fd51 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35055 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* I/O Obus Scominit & Dccal UdpateChris Steffen2017-02-161-43/+13
| | | | | | | | | | | | | | | Change-Id: I31ea76f8cd28c77e64c9437d8e0bd9a40f09f7d4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31498 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Gary A. Peterson <garyp@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31501 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* p9_setup_evid: add system parm (loadline, etc) supportGreg Still2017-02-131-23/+4
| | | | | | | | | | | | | | | | 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> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36323 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add c_str generic API and update makefilesAndre Marin2017-02-104-3/+7
| | | | | | | | | | | | | | | Change-Id: I95e3b9013d3ab0c352d3614c12ee4ef0d26965d0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35924 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35952 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* TPM Log Pass up to FSP HostJaymes Wilks2017-02-071-2/+13
| | | | | | | | | | | | | | | | Adds hostboot functionality to populate the HDAT area with System Security Settings, TPM Configuration bits, TPMs/Drawer and Hardware Key Hash Values in the HDAT area for passing up to FSP hosts. Change-Id: I34a9ec51d0311a0a7bc5468a8261a1276b0e5f7a RTC:125306 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35163 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Ensure sbefifo is clean on slave chips before startingDean Sanner2017-02-071-1/+16
| | | | | | | | | | Change-Id: I440d6f5bd6aa1c3c72b3d8df581262b01765214c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35447 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Workaround to zero HOMER memory for PM load and reloadCorey Swenson2017-02-071-3/+5
| | | | | | | | | Change-Id: I84e21b79e891401b91f431474bb795b1e1712031 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35897 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* IPL: Error log cleanup: BC8A2210 - SBE_PERM_SIDE_DIRTY_BAD_PATHMarty Gloff2017-02-071-0/+3
| | | | | | | | | | | | | | | | | | | | | Long-term fix to get boot side before SBE is started Code can attempt to get the boot side for an SBE before the SBE is started and the SCOM can be read. In this case the boot side for the master processor should be used. Second step of this fix is to read the SCOM for the master processor target when finding the boot side of the master processor SBE or a slave processor SBE that is not started and read the SCOM for the slave processor target only after its SBE is started. A new processor target attribute will be set after the processor's SBE has been started. Change-Id: I12f97435f8872e41f06dcff6120abe4c24a1bb22 CQ: SW378865 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35938 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Verify OCC checkpoint is reached after starting PM complexCorey Swenson2017-02-033-46/+144
| | | | | | | | | | | RTC:165644 Change-Id: Id47ffd1781082d57726507372dd461080bddaecc Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35061 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add HCODE scom update interface to HBRTCorey Swenson2017-02-032-2/+132
| | | | | | | | | | | Change-Id: I8d6a8aa2330ec95e1ce612979c9fa037a633d07d RTC:150219 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33702 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Make RINGOVD section optionalPrachi Gupta2017-02-021-3/+5
| | | | | | | | | | | | Change-Id: Ie8a8fa977f36370c990bc9a48800a67fbf2e1212 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35736 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Workaround to skip getRingOvd at runtimeCorey Swenson2017-02-021-1/+5
| | | | | | | | | | Change-Id: Ic1e0be39f4ee639373474e6f7d5d9731414050bd Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35729 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Increase timeout for slave SBE in SimicsDan Crowell2017-02-011-2/+9
| | | | | | | | | | | | | | | Increasing the timeout for the slave SBE to be ready by 10x for Simics. Change-Id: I9d10372d060f6fa83063330e22110bad88a8272a CQ: SW378197 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35615 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix invalid access of NULL error logDan Crowell2017-01-251-5/+5
| | | | | | | | | Change-Id: I9a9b39ca6756823205538a4584dc4e05f09328d9 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35326 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Support ring overrides for HCODE imageDan Crowell2017-01-252-7/+92
| | | | | | | | | | | | | | | Allows data from the RINGOVD partition of PNOR to be applied to the HCODE/STOP image that is generated during boot and at runtime. Change-Id: I66665bb89af020fc1a249d89f42d541a06383309 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35128 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* SBE Update Changes and HacksMarty Gloff2017-01-202-25/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While verifying SBE boot from both SEEPROM sides, several changes were identified and a hack was created to fix a HWP bug. 1) Replace use of SBE::setNestFreqAttributes with use of TARGETING::setFrequencyAttributes. 2) Update TARGETING::setFrequencyAttributes to not pass in i2cBusDiv, but instead to calculate this value. 3) Update TARGETING::setFrequencyAttributes to find the PLL bucket for the new nest frequency. 4) Add a call to TARGETING::setFrequencyAttributes in call_mss_freq. 5) Remove finding PLL bucket from call_host_voltage_config. It is not required since TARGETING::setFrequencyAttributes is being called. 6) Remove SBE::setNestFreqAttributes and SBE::checkSeepromNestFreq from sbe_update.C as they are not being used. 7) Remove various variables, fields, and parameters because they are unneeded after work above. 8) Add hack to set SBE boot side indicator back to primary side before doShutdown in sbe_update.C. 9) Add syncAllAttributesToFsp call before doShutdown in sbe_update.C. 10) Add attributes for the nest PLL frequency data. Change-Id: I97ea6386eb583a71c0dbec70adb9977e749dbfd3 RTC:152404 CMVC-Prereq:1014451 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34735 Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Clean up FAR3BQ workaround so that fails will be committed properlycrgeddes2017-01-171-5/+14
| | | | | | | | | | | | | | Before we were using the FAPI infrastructure to scom the register but we need to use the native scom to handle errors correctly Change-Id: I39b244497265f61efaeba8685d4a39fb41cf8646 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34938 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Enable mss_throttle_synccrgeddes2017-01-172-27/+24
| | | | | | | | | | | | | | For some reason this HWP was commented out, after speaking with Joe McGill he confirmed that they are running this on cronus for nimbus so we need to have it enabled Change-Id: If52fad2b6c73f77873494165bbc85704dadf5b71 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34887 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PM Bringup - fix HCODE buffer parameters sizesCorey Swenson2017-01-161-7/+7
| | | | | | | | | | Change-Id: I07665c4b4ab0a530ac73ccb1dd32c27641923574 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34844 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Basic TOD Support for 2 procsBill Hoffa2017-01-143-47/+215
| | | | | | | | | | | Change-Id: Ife07abfd9e0377a50f1f8cbfe98b7e0027c82799 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34447 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Insert workaround for issue with memdiagscrgeddes2017-01-141-1/+17
| | | | | | | | | | | | | | | For the sake of getting started running plckIPLRequests we are insertting this workaround. It needs to be removed Change-Id: I99d5fa0ae3613ef1b4b77a6c6af81750a0a76d26 RTC: 167292 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34837 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Setup more PCIE ATTR during computeProcPcieConfigAttrsDean Sanner2017-01-144-207/+255
| | | | | | | | | | | | | - Setup PROC_PCIE_REFCLOCK_ENABLE and PROC_PCIE_PCS_SYSTEM_CNTL - Update missing PCIE attribute settings in XML Change-Id: Iac6e74812e6875ad4513cba0eff0c2d664a81241 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34543 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Updates to always use HDAT for OPALDean Sanner2017-01-122-24/+6
| | | | | | | | | | | Change-Id: Ie60155466afc0fdf8dc87eca36eae458339f64a1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34433 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix bugs to allow p9_mss_eff_config_thermal to be executedDean Sanner2017-01-121-2/+2
| | | | | | | | | | Change-Id: I6467e001b7fec2d163363bdcfbad310856fa981c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34435 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Tweak meaning of START_OCC_DURING_BOOTBill Hoffa2017-01-102-4/+4
| | | | | | | | | | | | | | | | - Instead of forcing to start when set, query payload type and when off, never start - Update bbuild to recent build - Remove sim workarounds due to old level - Add simics debug hack to workaround mambo hrmor sim bug Change-Id: Ic1aa35c60b4ccd7679c0f3b08bd3b180b7b289c6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34545 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Start PM Complex during IPL for OPALCorey Swenson2017-01-045-186/+439
| | | | | | | | | | | | | | | | | | | - load/start PM complex in istep21 - make some rt_pm functions common - load/start PM by default in HB standalone - load OCC image into PNOR - fix bug in UtilLidMgr - add patch for p9n.act bug Change-Id: I6c41934cf1614018da7dcad67573c3edc2d081b6 RTC:159931 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32918 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PM: Updates restore value of NCU RNG BAR SCOM register.Prem Shanker Jha2017-01-042-2/+8
| | | | | | | | | | | | | | | | | | | Commit calculates the SCOM restore value of NCU RNG BAR register and using STOP APIs updates it to EQ SCOM area of Self Restore Image. Change-Id: Id128e2cf331d098ffc15a9e20308be9ce9216a4b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33459 Dev-Ready: ADAM S. HALE <ashale@us.ibm.com> Reviewed-by: ADAM S. HALE <ashale@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> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33462 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* No longer build small devtree on FSP systems in Opal modeDan Crowell2016-12-271-25/+0
| | | | | | | | | | | | | | | All information should be sourced from HDAT-proper now so no need to build any of the devtree information anymore. Change-Id: I0e71e042b0dfd84e7225023701ad2d80c30bc064 CQ: SW374801 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34189 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Select boot seeprom for slave processorsMarty Gloff2016-12-221-0/+20
| | | | | | | | | | | | | | Add a function to set the boot SEEPROM for the target processor based off the setting for the master processor. Change-Id: Ie39ca011952ea5cf10a8b752268116265cc4fabd RTC:162326 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34022 Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* memset the HOMER to 0's before populating it for the MPIPL flowcrgeddes2016-12-211-0/+3
| | | | | | | | | | | | | | | | | During the MPIPL path we were hitting an issue where the HWP was expecting the HOMER to be all zeros. This change zeros out the memory buffer before we pass it into the HWP RTC:166436 Change-Id: If0543d366b3d942c5283ad41e0e250a56692150d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34104 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Add compute PCIE config supportMatt Ploetz2016-12-204-3/+800
| | | | | | | | | | | Change-Id: Ie32612fedf35b2cc504cabee494e61eba7775c48 RTC:162594 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31938 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Allow proc chips with no EQ targetsDan Crowell2016-12-201-1/+18
| | | | | | | | | | | | | | Do not fail the IPL if we see a slave processor with no present EQ targets. This is useful for early lab bringup. Change-Id: I437f4e6ce2c3d0490700e24dbfa7f8cb588649ee Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34070 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* P9 Updates for occ communication codeAndres Lugo-Reyes2016-12-202-0/+330
| | | | | | | | | | | | | | | | This commit contains updates for p9 OCC communication code to no longer use the deprecated ecmdDataBufferBase class. Change-Id: I96b6be564a6edee1f66099583f030d3b519acb60 Depends-on: I6182163e569ac97f06e3ddfbb69deab90e849de3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31876 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* fixes necessary to compile with BT IPMI config option enabledRobert Lippert2016-12-192-0/+5
| | | | | | | | | | | Change-Id: I13842c0b7aed33a7e61fa3a57f00e91702dd594c Signed-off-by: Robert Lippert <rlippert@google.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33979 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PM: Updates restore value for L2/L3 Epsilon SCOM Registers.Prem Shanker Jha2016-12-161-0/+5
| | | | | | | | | | | | | | | Change-Id: I1ccfc8d425db6d96175657906f35d54d91b844c5 RTC: 165528 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33722 Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@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: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33727 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Add additional trace message to SBE timeoutDan Crowell2016-12-131-0/+3
| | | | | | | | | | Change-Id: I12e1cb4f13c74d800699869474d70fb26ee185b8 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32775 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* RC_INCORRECT_KEWORD_SIZE on zzfp018Marty Gloff2016-12-131-7/+25
| | | | | | | | | | | | | | Fix a bug in translating the master core into an LRP number. Change to treating LRP records as per-EQ from treating them as per-EC records. Change-Id: I0502d68dceeac6afe20d9304c4537415ce2fd813 CQ:SW372715 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33141 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fill in ATTR_PROC_PCIE_IOVALID_ENABLE based on functional PHBsMatt Derksen2016-12-131-2/+94
| | | | | | | | | | | Change-Id: I26d81859b3a214d580cab97ca76d7fa7d93cdbd6 CQ: SW371816 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33336 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fixes for STOP cycle on HWDean Sanner2016-12-121-24/+40
| | | | | | | | | | | | | - Fix cumulative OR'ing of thread into PIR - Make core SPR state save aware of fused mode Change-Id: I3d9dd0a13ecabdc5a0da6267e1741528490d1701 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32660 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Minor updates to get istep 15/16 working with latest HCODE imageDean Sanner2016-12-122-4/+4
| | | | | | | | | | | | | Bump SBE deadman timer to 1 sec Increase max seeprom buffer Change-Id: Id413830f3e6f6145ef4e36b947543e0b67b3e8e9 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33431 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Read VDN from appropriate #V fieldDan Crowell2016-12-071-1/+1
| | | | | | | | | | | Change-Id: Icff29f381241cc2a7ed9af1fa2a0b21dce3c652c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33220 Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PM: Image layout change for CME/SGPE Region of P9 HOMER.Prem Shanker Jha2016-12-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | - implements compact image layout for CME - implements compact image layout for SGPE - enhances ring debug infrastructure - implements size check for consolidated CME/SGPE SRAM Image. - Reversal of magic byte used to represent FUSED and NON FUSED core. - enhances putring to support scan ring overrides. - added gptr and time rings - updated in SGPE debug pointer location and boot loader constants. - Fixed ex instance ring issue (need to skip conversion of scan region type for ex instance ring) - memset for CME, SGPE override offset init and sanity check in ring code. Change-Id: Ifb6157dd73a24e0158e6a5f39844d897fba6af56 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32544 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: CHRISTOPHER M. RIEDL <cmriedl@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/32567 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Change HOMER logic to use offset instead of addressDan Crowell2016-11-281-4/+3
| | | | | | | | | | | | | | | | | Due to the changes in the P9 memory map, we can no longer assume that address zero exists as we're booting. These changes modify the logic related to assigning memory space for the HOMER to use an offset from the local HRMOR instead of assuming a zero base. Change-Id: If03c236ef9f2ddfee2dfd03337d6b202a5eb347d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32317 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PM: Customization of CME and SGPE rings in HOMER.Prem Shanker Jha2016-11-154-25/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Extracts rings from hardware image and VPD and stashes in to a temp buffer using HWP p9_xip_customize. Subsequently, using TOR API creates a fresh and leaner layout of scan rings in HOMER. - Implements a debug infrastructure to verify the scan ring layout in HOMER. - Implemented scan ring overrides for core common and cache common rings. - Introduces size check for various sections of HOMER. Change-Id: I8d7785f632823c31077bd4f320c453129be4ef0c RTC:157954 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27697 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Dev-Ready: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27699 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove ERRL Overwrite in getCacheDeconfig()Bill Hoffa2016-11-151-0/+2
| | | | | | | | | | Change-Id: I1323318a14ef5573140ef588437a70b9dd9862e3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32583 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Save Attribute Data in real memory in case of MPIPLcrgeddes2016-11-141-12/+3
| | | | | | | | | | | | | | | | | | | As an initial step towards our goal of booting from previous attr data and not re-finding out targeting/attr data from PNOR, this commit saves the targ/attr data that we put into HDAT to a memory address that HB owns (phyp shouldn't ever touch) so that we can use the info on the MPIPL path. Ideally this info would be coming from RT but that is the next step. This just proves that it can be done and outlines how we should do it. Change-Id: I664a8742eb35bcef011b6c274bf44e71ebf84d5d RTC: 157652 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32259 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Call setSystemConfig during host_runtime_setupcrgeddes2016-11-091-0/+39
| | | | | | | | | | | | | | We call setSystemConfig late in the IPL to signal to the SBE what other procs are present and functional in the system. Change-Id: Ibb95243f9493979e0e8bc5aaf4965b0d2f60a8ff RTC: 160666 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31104 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
OpenPOWER on IntegriCloud