summaryrefslogtreecommitdiffstats
path: root/src/include
Commit message (Collapse)AuthorAgeFilesLines
* Disable bad MCAs based on CRP0:Lx keyword datacrgeddes2017-01-144-4/+47
| | | | | | | | | | | | | | | | | The CRP0 record has 8 records (L1-L8) that correspond to the 8 ports (MCA targets) for the chip. One of the fields inside the keyword indicates if the port is disabled. This field marks the MCA as non-functional, but the MCA remains present. Change-Id: Iccc943ad477a90a25aeaff67572b66126c759913 RTC:166354 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34885 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: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Updates to always use HDAT for OPALDean Sanner2017-01-121-1/+9
| | | | | | | | | | | 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>
* SP-LPC changes for P9 HDATnagurram-in2017-01-051-1/+3
| | | | | | | | | Change-Id: I54564668fa88989a8744bf7cd2f2b8aa1c428698 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34174 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>
* port p8 secureboot settings code to p9Jaymes Wilks2017-01-051-7/+36
| | | | | | | | | | | | | | | | Update the p9 branch to handle the secure settings states as per p8 code but with the new updated p9 constant values. Remove caching of register values. Change-Id: I0a29ce0103a8f9b60b421a4bb625f12adcd916f8 RTC:161916 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32490 Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> 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: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Bootloader - Error handling - Add terminate functionMarty Gloff2017-01-045-4/+137
| | | | | | | | | | | | | | | As a first step to providing Bootloader error handling add support for a terminate function. Change-Id: Id4f8f130376d1396cd4feb796d1a3a908558225b RTC:135746 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32390 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Start PM Complex during IPL for OPALCorey Swenson2017-01-043-0/+44
| | | | | | | | | | | | | | | | | | | - 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>
* generate errl for missing IPMI sensor number instead of assertRobert Lippert2017-01-041-0/+2
| | | | | | | | | | | Change-Id: I23310799e35e8d58ff23805ee988d4ff8f3fa5e3 Signed-off-by: Robert Lippert <rlippert@google.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33980 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* PM: Updates restore value of NCU RNG BAR SCOM register.Prem Shanker Jha2017-01-041-1/+2
| | | | | | | | | | | | | | | | | | | 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>
* Select boot seeprom for slave processorsMarty Gloff2016-12-221-0/+12
| | | | | | | | | | | | | | 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>
* Reduce the size MPIPL was mapping from 128 MB > 1 MBcrgeddes2016-12-201-2/+3
| | | | | | | | | | | | | | | | The size of the attribute/targeting data saved in mainstore is actually only around 300 KB currently. Somehow the size got put at 128 MB which was way too much. This commit moves it down to 1 MB Change-Id: I8e82a291cc33458dc2bb64a0af6c9c2a5ac015d4 RTC:165369 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33950 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> 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>
* Add intrastructure for sending psuQuiesce cmd to SBEcrgeddes2016-12-202-0/+41
| | | | | | | | | | | | | | | | The SBE provides an interfaces for the HOST to issue a psu cmd that will quiesce the SBE. This commit adds the ability for HB code to call one function and notify the SBE to quiesce Change-Id: Icb153875b797f107891b05fd26dccbc413fd8f93 RTC:158899 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33610 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: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add option to get reserved mem section from hdat servicecrgeddes2016-12-201-1/+6
| | | | | | | | | | | | | | | In the future, attribute/targeting hdat data will be stored in main store memory and hdat will just have a pointer to the memory location. This is setting up the ability for hdat service to provide the memory locations. Change-Id: I3d6748cb496c79465602d89e3c4f6d4508a68b35 RTC:165369 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33436 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>
* P9 Updates for occ communication codeAndres Lugo-Reyes2016-12-201-6/+9
| | | | | | | | | | | | | | | | 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>
* Enforce magic port logic at deconfig timeMatt Derksen2016-12-191-0/+13
| | | | | | | | | | | | | | | Special MCA on each MC chiplet contains unique logic found nowhere else. We need to mark the entire MC chiplet non-functional if the special MCA is also marked non-functional. Change-Id: Id28e0be4d72fa49fc3db5a3d634fb303dc692826 RTC:163938 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32843 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add support for CRP0:L1-L8Dan Crowell2016-12-191-1/+9
| | | | | | | | | | | | Preparing for some upcoming requirements from FAPI. Change-Id: I15dac7faef68f1e189d21fd01836391ba0de9099 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33909 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> 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>
* fixes necessary to compile with BT IPMI config option enabledRobert Lippert2016-12-191-1/+2
| | | | | | | | | | | 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>
* Disable PRD checking when multicast groups are in fluxDean Sanner2016-12-152-3/+3
| | | | | | | | | | Change-Id: I1f54e20432d2da273b2a9a99d3a4e5909996df88 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33863 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> 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>
* Move Copying of R/W and Heap data during ATTRRP init into own funccrgeddes2016-12-131-0/+13
| | | | | | | | | | | | | | | | | | We were starting to send messages to the message queue listening to the R/W data when we tried to copy the data from mainstore into the pnor backed memory. We need to put this logic in it's own function and move it to be called after the message queue task has started Change-Id: I754ab64bffbd0a54127a59691bdd067ec5a7d9ce RTC:165369 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33331 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@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>
* Secure PNORRP port resync from p8Jaymes Wilks2016-12-122-4/+40
| | | | | | | | | | | | | | Brings SPNORRP p9 up to date with the latest changes from p8. Change-Id: I9e80199ffad1b3082339069264560029e83a3d78 RTC:163078 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32260 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: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* HTMGT: OCC InitializationAndres Lugo-Reyes2016-12-091-1/+0
| | | | | | | | | | | | | | | | | Contains the changes for p9 OCC init. Mostly a port from p8. New cmd/rsp buffers and data format for packets. This commit also makes HTMGT fapi2 compatible. Change-Id: I6182163e569ac97f06e3ddfbb69deab90e849de3 RTC:133945 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31010 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: Christopher J. Cain <cjcain@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Rollup non-functional EC to EQ level while processing PG vpdMatt Derksen2016-11-281-0/+1
| | | | | | | | | | | | | | An EQ has 2 EXs which each have 2 ECs. If the ECs are all bad, roll that non-functional status up to the EQ level. Change-Id: I0ffcb1679bc00c435fcbd6c439cba84da0311472 RTC:163413 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32546 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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Enforce magic mca port is good in PGMatt Derksen2016-11-282-0/+8
| | | | | | | | | | | | | | | | One MCA (the first one = mca0 or mca4) on each MCBIST must be functional for zqcal to work on any of the MCAs on that side. If magic mca port marked bad in PG vpd, force a deconfig of associated MCBIST to take out the entire half Change-Id: Id14be518aedf9c803717a4065e66527369bb286b RTC:163405 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32271 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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Change HOMER logic to use offset instead of addressDan Crowell2016-11-281-8/+10
| | | | | | | | | | | | | | | | | 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>
* Change std::swap() to use std::move()Stephen Cprek2016-11-141-4/+4
| | | | | | | | | | | | Change-Id: Iff04f52ea95b8ea609041cb0c50e8e689e5b0d1c RTC:162287 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32206 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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HDAT changes for Witherspoonnagurram-in2016-11-145-0/+597
| | | | | | | | Change-Id: I942362604938fe4f7511e21da9246236a939c176 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30905 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>
* Add sbe_psu FFDC error handling.Dzuy Nguyen2016-11-142-463/+668
| | | | | | | | | | | | | | Turn sbe_psudd into singleton. Add handle FFDCError function Change-Id: If84bb2bafcca685c8d31c664f7005de056e96c4c RTC: 144313 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31468 Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Secure PNOR Resource Provider port from p8Jaymes Wilks2016-11-149-7/+718
| | | | | | | | | | | | | | Adds a Secure PNOR Resource Provider (SPNORRP) layer on top of the original PNORRP to handle verification of secured PNOR sections. Change-Id: Iff25abf599f3c850197c6e6d23ff03e5edf945bb RTC:163078 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31588 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Save Attribute Data in real memory in case of MPIPLcrgeddes2016-11-144-20/+27
| | | | | | | | | | | | | | | | | | | 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>
* Add chip_id_type comments to the runtime interface fileCorey Swenson2016-11-092-8/+20
| | | | | | | | | | Change-Id: I87c49627a1dca804e3e491a15fa362199b795c6d CQ:SW370892 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32391 Reviewed-by: Michael J. Vance <mjvance@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>
* Call setSystemConfig during host_runtime_setupcrgeddes2016-11-091-0/+14
| | | | | | | | | | | | | | 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>
* Disable proc_exit_cache_contained in MPIPL modecrgeddes2016-11-081-1/+1
| | | | | | | | | | | | | | | | Previously we thought this was needed to expand the cache but we determined that it is better just to fully extend the cache earlier on in the IPL during thread_activate because the memory will already be there in the MPIPL flow Change-Id: Idc76fe2a3c935732f2b61620691f1523089cbb79 RTC:157653 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32256 Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> 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> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Boot loader support for relative HRMORDean Sanner2016-11-041-24/+31
| | | | | | | | | | | | | | | | Update the bootloader to allow different HRMORs to be used. Reads the starting HRMOR as the base and then loads Hostboot off of that. Change-Id: I6d56c30b4b3ba3d7297d5988ac965e5f5a5f7fd7 RTC: 138273 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31934 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Pnor DD Changes for AST2500Bill Hoffa2016-10-311-6/+6
| | | | | | | | | | | | | | | | - Created Common sfc_ast2X000 class for common functions - Modified sfc_ast2400 class to use common class - Added sfc_ast2500 class Change-Id: I27c7674b58e006801ae03aabd60fdcfa21f49e9c RTC: 161664 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30919 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> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Add a TPM separator during host start_payloadChris Engel2016-10-312-2/+14
| | | | | | | | | | Change-Id: I11736ebe4b44e54584febc05e1dea50dd5304fa4 RTC: 155301 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30996 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Engel <cjengel@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Implement std::arrayStephen Cprek2016-10-302-0/+647
| | | | | | | | | | | Change-Id: I86149816b46f213502801fb710dc2f68d4a4b0f7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30647 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: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: A. P. Williams III <iawillia@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PRD: Hostboot PRD should not be called after starting background scrubZane Shelley2016-10-271-2/+3
| | | | | | | | | | Change-Id: Icb4691b06955e07c4509b316b3f43cdb5730a9b6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31851 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Changes to get slave SBE workingDan Crowell2016-10-261-0/+7
| | | | | | | | | | | | | | Add flag to actually start SBE FW Set ATTR_NEST_PLL_BUCKET Increase timeout for SBE start Setup all required freq attributes before setting up SBE Change-Id: Ic3b7c8c6b482787b8c37b2b5b04a8344213119cf Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31682 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> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Special wakeup updates for P9Corey Swenson2016-10-242-18/+30
| | | | | | | | | | Change-Id: Id60773a1a84ee856265e451925b7f7c8c15a8af1 RTC:132413 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29665 Tested-by: Jenkins Server <pfd-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>
* Handle ioppe in Xbus PG fieldDean Sanner2016-10-191-7/+7
| | | | | | | | | | | | | Based on Partial Good v9 the ioppe was added to xbus and xbus is the pbiox regions not iox Change-Id: I65384c542eb86d57f11bb77c9a4f6ef0a8cf757c CMVC-Coreq: 1008809 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31431 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> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Adding interface changes to provide UART information to HDATElizabeth Liner2016-10-191-7/+15
| | | | | | | | | | | Change-Id: I2e1a79509065177b4047ce7befe9cbbca5210255 RTC:161647 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30998 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: VENKATESH SAINATH <venkatesh.sainath@in.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Adding interface changes to provide BMC information to HDATElizabeth Liner2016-10-191-7/+8
| | | | | | | | | | | Change-Id: I3ad70f2886fe8c0fc420bf490effbde33e477010 RTC:161648 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30994 Reviewed-by: VENKATESH SAINATH <venkatesh.sainath@in.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> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Add infrastructure for sending setSystemConfig cmd to SBEcrgeddes2016-10-191-8/+58
| | | | | | | | | | | | | | | | | The SBE needs to know about other PROCs in the sytem. To do this we are sending a 64 bit string that encodes the system configuration down to the SBE at the end of the IPL. This commit just sets up some of the infrastructure that will be needed to send the message. Change-Id: I1a4dfb4e54e043d94697fa809acf1eee8ba9f726 RTC: 160666 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31069 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> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Add interfaces for HDAT to fetch new dataDan Crowell2016-10-163-1/+148
| | | | | | | | | | | | | | | | | | New interfaces added: I2C::getDeviceInfo() IPMI::getBmcInfo() CONSOLE::getUartInfo() New attributes: SYSTEM_FAMILY SYSTEM_TYPE Change-Id: I7d1a018c01067a19b8a66f853e11922c910fcc54 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30405 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Enable Host interface run_commandCorey Swenson2016-10-121-3/+3
| | | | | | | | | | Change-Id: I689d0f20d65f75299a341f23c2eb1b923dd2aa76 RTC:146148 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29980 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Save away mbox scratch regs before usingDean Sanner2016-10-121-0/+11
| | | | | | | | | | | | | | | | The debug tools use the scratch regs for communication purposes with the debug tools, however the initial values of the scratch regs are used for boot. Save the initial values away so the mbox scratch regs can be used for debug tools Change-Id: I372f7d23bc03cf0c88c845a18ebb1c9657c364c5 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30880 Tested-by: Jenkins Server <pfd-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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Prevent inline of some shared_ptr functions for spaceDean Sanner2016-10-111-51/+73
| | | | | | | | | | Change-Id: I1b996bb7c78941a5ec0ab8ca2973b7db25563fcc Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28857 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: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Call rng init phases 1,2 in istepDzuy Nguyen2016-10-102-8/+8
| | | | | | | | | | | | | | | istep 8.20 call p9_rng_init_phase1 (remove host_rgn_bist) istep 16.3 call p9_rng_init_phase2 (remove host_secure_rng) Change-Id: I4455d1ecab6eaad841de4e1e83200c62f7eec1b2 RTC:147388 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30191 Tested-by: Jenkins Server <pfd-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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Properly deconfigure MCBISTs by association when neccesarycrgeddes2016-10-101-0/+2
| | | | | | | | | | | | | | There was an issue where MCBISTS were not getting deconfigged even when there was no DIMMs beneath them. This change fixes that. This is in response to the need for the 2 dimm min memory configuration Change-Id: Ia54f8ae8121c4034eb2ef2fd1fb026a5dbe6c0ad CQ: SW367925 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30764 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> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Implement FAPI interface for special wakeup in HBCorey Swenson2016-10-101-6/+2
| | | | | | | | | | | Change-Id: Ia86809403c0af9e0ff6ce77af60994fbae641749 RTC:150505 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29978 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Multi-Proc Interrupt Support with Remote LSIsBill Hoffa2016-10-072-1/+7
| | | | | | | | | | | Change-Id: I8a981628cd3adc54ba581deb0ce8afb183febef3 RTC: 150562 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29719 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
OpenPOWER on IntegriCloud