summaryrefslogtreecommitdiffstats
path: root/src/usr/isteps
Commit message (Collapse)AuthorAgeFilesLines
...
* security -- split p9_chiplet_scominit and p9_chiplet_enable_ridi istepsJoe McGill2017-05-2219-114/+397
| | | | | | | | | | | | | | | | | | | | | | | p9_chiplet_scominit, move from istep 8 to istep 10 shift content required for XBUS, fabric establishment into p9_chiplet_fabric_scominit, to be called in istep 8 p9_chiplet_enable_ridi, move from istep 8 to istep 10 shift content required for XBUS establishment into p9_xbus_enable_ridi, to be called in istep CMVC-Coreq: 1023401 Change-Id: I4c60e4c41211976c7919a603ab679357cc4af106 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39956 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Brent Wieman <bwieman@us.ibm.com> Dev-Ready: Brent Wieman <bwieman@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/39960 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* Call pm_init with the RESET flag for all proc during MPIPLcrgeddes2017-05-181-4/+18
| | | | | | | | | | | | | | | | | During istep 15 we set up a bunch of stuff for the PM complex. We ran into issues during MPIPL where the PGPE wasn't getting reset. Adding in this PM_RESET during istep 15 to put the PGPE into a safe state Change-Id: Ifeac1d5be0574cdff13a2ad039b9ce7b27e3b863 CQ: SW388687 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40577 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Add p9_query_cache_access_state hwp to pm librarycrgeddes2017-05-181-0/+1
| | | | | | | | | | | | CQ: SW388687 Change-Id: Ib201bf5349c31c1070c4c39c99a67518cdb00f75 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40570 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* set ATTR_FREQ_X_MHZ based on DD-levelPrachi Gupta2017-05-171-0/+20
| | | | | | | | | | | | Change-Id: I87e2a84aea9249196367f6c1cdb928f40c356a3d RTC:173852 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40519 Tested-by: Jenkins Server <pfd-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> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Cleanup for SMT4/SMT8 read fuse bits and activate threadsCorey Swenson2017-05-151-121/+70
| | | | | | | | | | Change-Id: I9de1c4b08aceee76eed962413345c5e6d1444f23 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39947 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Sign and Verify the HCODE partitionMike Baiocchi2017-05-151-1/+46
| | | | | | | | | | | | Change-Id: If594c350ed52ee6b40a5aa9e021c8e5ede8fb8aa RTC:51086 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40294 Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@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: William G. Hoffa <wghoffa@us.ibm.com>
* Fix PVR check for Nimbus DD1Dan Crowell2017-05-111-4/+3
| | | | | | | | | | | | | | | | | | Added check for bit 18 to distinguish between Nimbus DD1.0 and Cumulus DD1.0 Consolidated Nimbus DD1 checking to a common function Added printk output that shows which CPU we're running on Modified some existing printk output to use fewer characters Change-Id: I1c42df0051fc2d9cc5fa54d95f68c3bd26b86462 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39876 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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Only enable OCC on OpenPower systemscrgeddes2017-05-111-1/+1
| | | | | | | | | | | | | | Turning on the OCC for the standalone simics model caused 30 minute increase to IPLs. This was unnacceptable for Hostboot CI so we are turning off OCC for standalone nimbus simics until we resolve the time increase issue Change-Id: I1d207e17ef9424ffcc2bf239f0a99060ea2f8a4f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40355 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>
* Disable special wakeup at the end of the bootDan Crowell2017-05-111-1/+1
| | | | | | | | | | | | Fixed a typo where we were enabling instead of disabling wakeup at the end of the boot. Change-Id: I777e682fc2dc4bce31fa9d136a29712b6d9c929c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40349 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>
* Always collect dump data during MPIPLscrgeddes2017-05-111-18/+1
| | | | | | | | | | | | | | We can always collect dumps during MPIPL so we can remove this check Change-Id: Ie35109ac3c9019502350c9c318c6190430d07c4b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40274 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Enforce synchronized processor security stateJaymes Wilks2017-05-101-17/+569
| | | | | | | | | | | | | | | Ensure the secure state is consistent across all processors. Change-Id: I671253b99d5d87509909681a2cec2380ca6918b0 RTC:167775 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38764 Reviewed-by: Nicholas E. Bofferding <bofferdn@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: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Clean up OCC and enable HTMGTCorey Swenson2017-05-106-32/+465
| | | | | | | | | | | | | Change-Id: I0903f4bd504589d4d5931b4b3b6206664f39b119 RTC:171441 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39736 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> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* SW386506 - data storage exception in host_disable_memvoltRichard J. Knight2017-05-071-7/+7
| | | | | | | | | | | | | | -Modify function calls using hwsvPowrMemVoltDomainRequest_t to pass by reference instead of by value. Change-Id: I557ca92f76601e7b17568a8fa2f3946a0304c40a CQ:SW386506 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40043 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* SBE FIFO FFDC parser pluginDzuy Nguyen2017-05-071-1/+1
| | | | | | | | | | | RTC: 168620 Change-Id: If1e099411f5b5b12be1a3832ad818c2019f4dadb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39432 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>
* Clear OCB Linear Window Security Bit on MPIPLcrgeddes2017-05-051-1/+45
| | | | | | | | | | | | | | | This bit was preventing HB from being able to write to SGPE's OCC SRAM partition. In the future we might just never clear this bit and this workaround will be removed. Change-Id: Iffa90888cbe8bb62968d3df8c7793ad3211a423b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40014 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* move all non-volatile/openpower attributes from _hb to _openpower filesPrachi Gupta2017-05-011-1/+2
| | | | | | | | | | | | | | | | | | | When pushing hb's attr/target type files to common-mrw-xml repo, we add tags to represent which attributes are for openpower (bmc based system) and which are for fsp based systems. All attributes in _hb files are considered common for both platforms and do not have any tag. All attributes in _openpower will get openpower tag and be only shown to a system engineer if they are building a bmc based system. Therefore, the source of the attribute file is important from now on. Change-Id: I213348f4c4f372b0610b07ad3453f08f75d02224 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38161 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: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add support for selecting WOF tablesCorey Swenson2017-04-291-3/+69
| | | | | | | | | | | Change-Id: I23cfd9b1156d44a0a3277a0c2696d034a741d0ba RTC:158589 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38724 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>
* Support mailbox scratch register bit for security overrideNick Bofferding2017-04-281-0/+5
| | | | | | | | | | | | | | | - Added new mailbox scratch reg 3 bit 6 for security override - Trace propagation of this bit across the chips Change-Id: Ib353a1856dc68566cb090163fab532d7a4607073 RTC: 170650 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39527 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Sign and Verify the payload partition (port from p8)Stephen Cprek2017-04-281-4/+19
| | | | | | | | | | | | Change-Id: I1925f347448accc2c85f57fe63726b2589929881 RTC:171706 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39659 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: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Handle SMT4/SMT8 fuse bitsCorey Swenson2017-04-281-34/+226
| | | | | | | | | | | Change-Id: I8fc108877714ff76103510b7801af72a94e5aae3 RTC:160720 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39778 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>
* Remove devtree codeDan Crowell2017-04-262-2/+1
| | | | | | | | | | | | | | OPAL is now HDAT-based, removing all references to the Hostboot-generated devtree. Change-Id: I9fc8773f7135d4e0d4799e4cc7c6e3b6ea1da14d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39293 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: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Fix comemnts for new func that send FIFO chip-op to slave chipscrgeddes2017-04-231-3/+2
| | | | | | | | | | | | | I forgot to update this comment when I added this new function Change-Id: I3378a29227e4a0b2ec538d3e78df38c7bac84073 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39366 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>
* p9_pstate_param_blk: Define VFRT table and initialize the dataPrasad Bg Ranganath2017-04-222-4/+4
| | | | | | | | | | | | | | | | | | | | Change-Id: If517d23014f40bc3f07563fc4009ff25b59f7745 RTC:167141 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36131 Dev-Ready: Gregory S. Still <stillgs@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: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.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/38209 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* Changes in tod procedures to move blacklisted registers int our test procedureCHRISTINA L. GRAVES2017-04-221-1/+0
| | | | | | | | | | | | | | | | instead of being in the utils that is included by tod_setup and tod_init Change-Id: Id0d87a80deab348bc9b0e6058192a1d8ab2589c8 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38243 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: JOSHUA L. HANNAN <jlhannan@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38367 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>
* Terminate IPL if no memory configured behind master procDan Crowell2017-04-211-24/+54
| | | | | | | | | | | | | | | | | | Firmware doesn't currently support booting in a configuration where there is no functional memory behind the master processor (proc0). Added an explicit check to the 'minimum hardware' logic to account for this to avoid confusing CRESP errors when this scenario shows up. Change-Id: Ia9c1e1d1cb135efb58a52edfccffe66174f57a2c CQ: SW384402 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39048 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: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Call continueMPIPL fifo chipop on slave procs during MPIPLcrgeddes2017-04-181-0/+44
| | | | | | | | | | | | | | | | During MPIPL the SBE issues the continueMPIPL chipop to the master proc but HB is responsible for issuing this command to the slave procs. Currently this is done after powering down the slave EQs in host_ discover_targets Change-Id: Ieca498ff543236373c7ad9ba588f9049dd0f77c7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39137 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add multi-chip support for MPIPL path of host_discover_targetscrgeddes2017-04-171-16/+23
| | | | | | | | | | | | | | We were having some issues where the MPIPL path of host_discover_targets was ignoring 2nd proc cases. Change-Id: I55543644387e35166f6c1d80324c318c2ceba9ff Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38904 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@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>
* Improve mpipl workaround setting WAKEUP_SELECT bitcrgeddes2017-04-171-11/+16
| | | | | | | | | | | | | | | Previously the workaround was depending on the master core being first in the list of returned targets. This is usually what happens but technically we cannot rely on that. Change-Id: I291bbcc406afaa1d0f40c7a65a93d2b47993c072 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39093 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@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>
* Fix OCC_COMMON and HOMER sizes in PM codeCorey Swenson2017-04-141-8/+4
| | | | | | | | | | Change-Id: Ia6edaf062a74c018135275c99a174d6cc5933cfc Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39068 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>
* Add no connected PHB config to all PECsMatt Ploetz2017-04-141-3/+36
| | | | | | | | | | | Change-Id: I3aee218a8c482877b3595ced9721919da28d711f CQ:SW384841 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39067 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>
* Set WAKEUP_SELECT on ALL slaves, even on master quadcrgeddes2017-04-111-17/+4
| | | | | | | | | | | | | | before we were only setting this bit on non-master quads, that was wrong, should be set on ALL slave core regardless of what quad its on Change-Id: I197f70beb841cb98332e6ad71e7e011dd1a48b1e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39073 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: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix pm_common trace addressesCorey Swenson2017-04-101-14/+14
| | | | | | | | | | Change-Id: I94d9b5d10341f3bad2976b7620f73266a70ec8aa Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37686 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>
* Set HDAT ranges to match HOMER/OCC attributesCorey Swenson2017-04-102-3/+17
| | | | | | | | | | | Change-Id: Idff2818997488fc6378907c9ddfb56892c2608b3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38647 Tested-by: Jenkins Server <pfd-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> 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>
* Send system configuration to all Procs, not just mastercrgeddes2017-04-101-7/+28
| | | | | | | | | | | | | | | | Previously there was no way to send chipOps to specific Procs, Now that it is possible we want to send the system configuration to all SBEs, not just the master. This way the SBE doesnt need to worry about propagating the system config to slave SBEs Change-Id: I471c60a294fb2e4dd43772322fb5c6c80ccdda1f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38544 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Populate HDAT TPM InfoJaymes Wilks2017-04-101-1/+10
| | | | | | | | | | | | | | Populate TPM Info during the secureboot runtime routine. Change-Id: I02b960c175d51dc9b5941e15a529bd1587747444 RTC:166834 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37187 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: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Set WKUP_NOTIFY_SELECT bit on all slave corescrgeddes2017-04-021-6/+84
| | | | | | | | | | | | | | This bit needs to be set for MPIPL in order to match the core states during the intial IPL Change-Id: I07495a44f19ef598e5587c8075699d3733618977 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38491 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: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: Push2 BringUp changes needed to get HTMGT to work.Sheldon Bailey2017-03-301-0/+1
| | | | | | | | | | | | | | | | | Thermal Control CMD data enhancments. AVS Bus Data enhancments. OCC checkpoint fix. Change-Id: Iaefe4a2a7cfd8408aefeafe818245524be84c253 RTC:170737 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38370 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: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add mss unmask and FIFO reset calls to step codeZane Shelley2017-03-303-58/+148
| | | | | | | | | | | Change-Id: I9991d25ce0d33e0608970736f84c4816e3d274fe Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38644 Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@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> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
* Fix errorlog verbage in computeProcPcieConfigAttrsMatt Ploetz2017-03-301-8/+14
| | | | | | | | | | | Change-Id: I2d0a8b6cfef172304ec4d873c263208286c10f52 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37556 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Remove unused attributes in processMrw and computeProcPcieConfigAttrsMatt Ploetz2017-03-301-19/+12
| | | | | | | | | | | | Change-Id: I7d84e2bef86ec17acc722f4ec9c9c19341d29ac8 RTC:160422 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37640 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Set ATTR_HDAT_EC based on ATTR_MINI_ECDan Crowell2017-03-291-0/+12
| | | | | | | | | | | | | | After we collect the ECID from the processor we will apply the MINI_EC value that was computed to HDAT_EC so that PHYP can see it later. Change-Id: I771d2ba8e2e6b521b50e8ac7e824651d126b3c83 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37912 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>
* TOD porting/migrating from FSP to P9Dzuy Nguyen2017-03-2922-2020/+4281
| | | | | | | | | | | | RTC: 149253 Change-Id: Id9325ca0fd1b59c21a46a5af495cd944753ab27d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35362 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Re-add changes in host_discover_targets that got removed from 37978crgeddes2017-03-281-13/+103
| | | | | | | | | | | | | I got a little merge happy and forgot to update my changes to a HB file in a EKB mirror commit Change-Id: Ia9dfaa8afdbf2286cdef399702986305f930d5c6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38490 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>
* Clearing SRAM flag before starting payloadElizabeth Liner2017-03-271-0/+30
| | | | | | | | | Change-Id: Ib86d848778de5b54677c4f660609150e36e50e44 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37513 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 base spd decoder to share among controllersAndre Marin2017-03-271-7/+9
| | | | | | | | | | | | | | | | | | Reorganized files and names to make room for DDR3 SPD decoder to be used for Cumulus. Change-Id: Id3e7a8f4bb60fd0ae0cdf36b8298a1d00257205a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36319 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36326 Reviewed-by: Hostboot Team <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>
* Update quad power off so HB can call it on Slave Quadscrgeddes2017-03-231-105/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | Previously this HWP was only being called by the SBE down the MPIPL but we also need to call it during HB to power down the slave quads. There is a tricky workaround in this HWP where we need to save off some ring data EQ pointers for the PB. On the SBE we just saved the rings in global variables but we cannot do that in HB because the Hcode would not have access to the global varibles. Instead we will write the ring data to the OCC SRAM to do this I will just pass the data out of the hwp via an out param The same ring data is fetch during cache_initf procedure to init Change-Id: I4f20cd8dd9ca1b53604db1bc3020c0d57bbd1172 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36828 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: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37978 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: Christian R. Geddes <crgeddes@us.ibm.com>
* Fix IPL: zzfp247 SBE update failMarty Gloff2017-03-221-2/+1
| | | | | | | | | | | | | | | Base SBE boot side for slave processor off SB keyword in MVPD rather than off boot side used by master processor. Change-Id: I3165d536f104c0d1f394de93a390bd0f722e4777 CQ: SW383676 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38152 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: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Deassert PM_EXIT on core0 of both EXs of master EQcrgeddes2017-03-201-0/+20
| | | | | | | | | | | | | | | | During MPIPL the PM_EXIT bit was being left on the master core. This caused issues when we try to winkle the master core during istep 16.1 Change-Id: I5a74c0cdc0546bc1d973ee4be9496419dd3adc5a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37907 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: YUE DU <daviddu@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Disable Special Wkup During host_discover_targets in MPIPLcrgeddes2017-03-201-8/+72
| | | | | | | | | | | | | | | After an MPIPL is triggered there might be special wakeup asserted from PHYP or other srcs. To be safe we will clear all special wakeups during host_discover_targets during MPIPL Change-Id: If6f25840b84126b96ca3334b7b3548e0a73518de Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37880 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> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Memory leak in print_target_listRichard J. Knight2017-03-171-7/+12
| | | | | | | | | | | | -Modified code to free the memmory allocated by the toString() call. Change-Id: I10181cfca2fc9ad8f588d420ad3b2fd59b736004 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38009 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: Daniel M. Crowell <dcrowell@us.ibm.com>
OpenPOWER on IntegriCloud