summaryrefslogtreecommitdiffstats
path: root/src/include
Commit message (Collapse)AuthorAgeFilesLines
...
* add platform support for fapi2::Target<K>.isFunctional()Andres Lugo-Reyes2016-06-061-1/+13
| | | | | | | | | | | | Change-Id: I265f34327c5bd593ee1d6f13f6cd19d191db66fd RTC:154321 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24991 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Add new plat_target_filter.H header fileMike Baiocchi2016-06-021-0/+95
| | | | | | | | | | | | | | The new plat_target_filter.H header file designates the values for the TargetFilter enum and works with parallel changes to the ekb target_types.H file. Change-Id: I050976f8a7b7b213c69d10313211c3e9fffdfeee RTC:149115 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25305 Tested-by: Jenkins Server Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Clean up MVPD plat supportcrgeddes2016-06-021-0/+2
| | | | | | | | | | | | | | Update fapi2 MVPD accessor tests to be more robust. Reworked error handling for accessor functions Change-Id: I54bcbedb81728b2c50b17e3c02018269669d5401 RTC:152953 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24204 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Overloaded != operator for shared_ptr.Matt Derksen2016-06-021-0/+5
| | | | | | | | | | | | | Also updated cxxtests to make them pass. Change-Id: I444a9c6c60261755db55fffbed66c92f93965c50 RTC:153697 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25138 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: A. P. Williams III <iawillia@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Implement std::map::emplace()Matt Derksen2016-06-022-3/+60
| | | | | | | | | | | Change-Id: Id3f42ac3e5edf6c65c420e60ac69d649cbaa1ed0 RTC:153697 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24631 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: A. P. Williams III <iawillia@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Hostboot IPL Flow v0.95 UpdatesAndrew Geissler2016-05-316-97/+94
| | | | | | | | | | | | Change-Id: Idb12755e59948c260124b07fe20a31396f7f41fe RTC: 155066 CMVC-Coreq:995561 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25117 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: RAJESWARAN THILLAIGOVINDAN <rajeswgo@in.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Remove references to deprecated Target::getOtherEnd() methodMike Baiocchi2016-05-251-22/+0
| | | | | | | | | Change-Id: I06da5293307b7a6604a817ff96af4778698fbbe0 RTC: 154453 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24928 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add testcases for pirformat helper functionsBill Hoffa2016-05-241-7/+27
| | | | | | | | | | Change-Id: I10b2be1ea9d0dc4a46c6c473b03ee024c6bf0de6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24801 Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add std::upper_bound() and std::binary_search() and <cstring>Matt Derksen2016-05-242-28/+180
| | | | | | | | | | | Change-Id: I2c9673adf91ec517bae5f1de1c366dc7ff344115 RTC:133837 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24755 Tested-by: Jenkins Server Reviewed-by: A. P. Williams III <iawillia@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add simics breakpoint for exceptionsDan Crowell2016-05-241-1/+3
| | | | | | | | | | | | | | | | | | | Created a new magic instruction handler that can be enabled via environment variable to stop the simulation for Hostboot exceptions. This is useful when we want to get a backtrace at the failing spot without recompiling code or having to manually insert breakpoints in simics directly. Enable the function by setting HB_BREAK_ON_ERROR The trigger call is MAGIC_BREAK_ON_ERROR Change-Id: I17e008281d010e3f8c5e5817e5f30fd0ccb624d0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24600 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins 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>
* Unable to add ffdc to RC after FAPI_ASSERTRichard J. Knight2016-05-241-11/+19
| | | | | | | | | | | -Modified call to FAPI_ASSERT_NOEXIT to commit the error created due to the conditional failure. Change-Id: I52be795f2ebe9f7db4e0bf4390c5d213fa05e6f7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24092 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Added equal comparison override for shared_ptrMatt Derksen2016-05-241-0/+5
| | | | | | | | | | | Change-Id: I7a9358001bd7a99735fc52bb6b8af21be3df45a6 RTC:133837 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24605 Tested-by: Jenkins Server Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* PRD: updated memory_error HBRT interface for P9Zane Shelley2016-05-241-27/+36
| | | | | | | | | | | | Change-Id: I882379f4886e94cf14ebf1aede7f765527a49dc4 RTC: 153748 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24386 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* OCC Checkpoint handling improvementsChris Cain2016-05-241-1/+2
| | | | | | | | | | | | | Change-Id: Ibf8712fe560c022be939f73fcc78fb610a2bcabb RTC: 153923 ForwardPort: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24622 Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24831 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins
* Change partition table from 4K to 64KCorey Swenson2016-05-191-4/+4
| | | | | | | | | Change-Id: I5cc08599e81b04b57c936c240b2cd7d07531d90f RTC:148595 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22158 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Added std::vector::data() function for hostboot.Matt Derksen2016-05-191-0/+9
| | | | | | | | | | | Change-Id: I1d6eedf2a640afe674c361bb7da8705177c4f3d3 RTC:133837 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24665 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* TrustedBoot-Add log manager functions to allow passing in external log bufferChris Engel2016-05-171-0/+2
| | | | | | | | | | | | | | Change-Id: I33b8680fb89072311bb23730bfc1901e4ded9e21 RTC: 125289 ForwardPort: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22003 Reviewed-by: Timothy R. Block <block@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24669 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christopher J. Engel <cjengel@us.ibm.com>
* Workarounds for reducing IPL time with trace-liteJay Azurin2016-05-171-1/+11
| | | | | | | | | | | | | | | | | | | Increase the watchdog timeout value to prevent watchdog resets when running with trace-lite enabled. Add option to exclude FAPI trace component to reduce IPL time Change-Id: I577bf775461e3ae256b48a9eb5d4bbdee6deae49 CQ: SW352263 ForwardPort: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24482 Tested-by: Jenkins Server Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24601
* Update PIR Structure to Match SpecificationBill Hoffa2016-05-171-20/+24
| | | | | | | | | | | - Change bit 24 to be reserved Change-Id: Ic471d37bb304eb3ac06a37603762b6088f6bb2cb CQ: SW352252 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24410 Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Enable waking threads on master core with doorbell interruptsBill Hoffa2016-05-171-1/+2
| | | | | | | | | | | | | Change-Id: Iceb33f0b8c802e7448e8b77200623048f7f7ab61 RTC: 141924 CMVC-Coreq: 993299 CMVC-Prereq: 994801 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23591 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Vector and list initializer lists fail with {} contructorAndrew Geissler2016-05-162-2/+2
| | | | | | | | | | | | | | | The initializer list with C++14 now requires we have a non-explicit default constructor in list and vector Change-Id: Iec9e77aedd48c97e3c1c49cfa43274098bd56a03 RTC: 153890 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24518 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: A. P. Williams III <iawillia@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Updated supported types for fapi2 targeting getOtherEndMike Baiocchi2016-05-161-18/+16
| | | | | | | | | | | | | Updated fapi2 targetting getOtherEnd() template by limiting the support to just targets of type XBUS, ABUS, and OBUS. Change-Id: I022079205161888ad7f16a8cfff6b2efe635af8a RTC:148934 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23687 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Extend basic config entries to TPMChris Engel2016-05-131-0/+2
| | | | | | | | | | | | Change-Id: I17c215c3120782d022ade0ac8343934c64e2e13e Original-Change-Id: I92e2c7758ebac2912caa9f449c3531c584487bd5 FowardPort: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22002 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24481 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christopher J. Engel <cjengel@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Send hash of pnor sections to TPMChris Engel2016-05-112-1/+4
| | | | | | | | | | | | | Replay log events to TPM after initialization Change-Id: Ibab5e28790324c28a7cd9fb2805041d7a896376a RTC:125290 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23898 Tested-by: Jenkins Server Reviewed-by: Timothy R. Block <block@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Increment reboot count when gard records are writtenMatt Ploetz2016-05-112-1/+35
| | | | | | | | | | | | | | | Change-Id: Iaf9a4d4be19877e564ca1871564467441b472253 CQ:SW347568 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23186 Reviewed-by: A. P. Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24340
* Output native trace data to consoleJaymes Wilks2016-05-101-1/+13
| | | | | | | | | | | | | | | | | | | | Trace data is printed as ascii hex values to console when turned on. Traces can now be recreated using a command line tool and the hbotStringFile. Change-Id: I8e8a95945002a9acbe555d1e75482d289c7ef8fa BackPort: no RTC:143820 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21593 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24218 Reviewed-by: Jay M. Azurin <jmazurin@us.ibm.com>
* Implement std::enable_if in HBMatt Derksen2016-05-072-1/+44
| | | | | | | | | | | | Change-Id: I72f415403ef0d88defc80f81cb1038013f94b99f RTC:152209 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24091 Tested-by: Jenkins Server Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: A. P. Williams III <iawillia@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Update runtime/interface.h file for P9Corey Swenson2016-05-061-261/+384
| | | | | | | | | | RTC:153310 Change-Id: I484592015ff157a45d36d6c4b16350cbd45baf5d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23680 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Doorbell Interrupt Base Support for Core/Thread WakeupBill Hoffa2016-05-066-14/+114
| | | | | | | | | | | | | | | | | | | | | | | | | This change includes: - Implementation of a generic KernelWorkItem Class - Kernel functionality for doorbell send to specific PIRs - Kernel changes to send core/thread Wakeup doorbells using doorbell_send() + placing KernelWorkItems on a cpu stack obj to be executed during doorbell wakeup - Kernel Interrupt Message handler changes to send wakeup msgs - Interrupt Resource Provider (INTRRP) Changes to handle wakeup msgs and monitor for timeouts - Changes to the IPL flow to invoke proper Core/Thread Wakeup - A basic outline (commented out) for how IPC messages can be implemented in the future Change-Id: I547fb8719bac657def561565ae11ab18cde72096 CMVC-Prereq: 992722 RTC:137564 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22815 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Implement GET_POUNDV_BUCKET_DATA_MACRO and backing functioncrgeddes2016-05-052-2/+26
| | | | | | | | | | | | | | | | The fapi2 PM attribute poundv_bucket_data is backed in HB by a function that calls FAPI2 code that reads MVPD data off of pnor in order to find the proper #V bucket data. This commit sets up that macro and function as well as adds some testing to make sure it is working properly Change-Id: Ie506230c1270bdff43c3d8a8ec95ebb75010cf53 RTC:127421 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23901 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Update ISTEP to IPL Flow v0.93Andrew Geissler2016-05-056-233/+116
| | | | | | | | | | | | | | | | | Includes a lot of deletes and a few renames. Change-Id: I36ce351d307d43d67c8dfe4dbe3a94e67380cc20 RTC: 147800 CMVC-Prereq:993409 CMVC-Prereq:992647 CMVC-Prereq:993648 CMVC-Prereq:993634 CMVC-Prereq:993940 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23732 Tested-by: Jenkins Server Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Istep 8.4 L2 procedure integrationAndrew Geissler2016-05-041-0/+2
| | | | | | | | | | | | | This code will start the slave sbe's and look for them to indicate they are at their runtime state. Change-Id: I23b493d22774e35fc1267f9902ac1bb333eed203 RTC: 134078 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23491 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* L1 Infrastructure for Istep13crgeddes2016-05-031-2/+1
| | | | | | | | | | | | | | This commit turns on as much of istep 13 as is available currently. All HWPs that are disabled are marked with and RTC. Change-Id: Ia9d0d415c0317e98e23e58a27821ee55be9f9347 RTC:151760 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23545 Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* istep9 HWP enablementMatt Derksen2016-05-021-2/+4
| | | | | | | | | | | Change-Id: Ie780ed10e29961092a19373c994ec24a8cea500a RTC:146576 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23517 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* PRD: added support for new HOST_ATTN attention typeZane Shelley2016-05-023-21/+58
| | | | | | | | | | | | | | Change-Id: I9c351931dab0bc1759ef9b609a997ad8a8194c3a RTC: 151229 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23049 Tested-by: Jenkins Server Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Squashed: Iae8d7fe98a5b5b6d4577a82806be71aaff931c6f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23807 Tested-by: FSP CI Jenkins
* FAPI2 Plat support for mvpd accessorsGeorge Keishing2016-05-021-0/+5
| | | | | | | | | | Change-Id: I808ee063ef3e76738e24efb13b4244c542f184e9 RTC: 140330 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/796 Tested-by: Jenkins Server Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Integrate L1 HWPs for instruction startMarty Gloff2016-04-271-0/+5
| | | | | | | | | | | | | | | Move thread activate function to istep06. Change thread activate to invoke new P9 versions of HWP code. Change-Id: I556526b60c01bb137b0a6b8a086b87eff4498af8 RTC:134076 CMVC-Prereq: 989911 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/758 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins 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>
* FAPI2 Plat support for spd accessorsGeorge Keishing2016-04-271-0/+45
| | | | | | | | | Change-Id: Ib490662418cd91b6a545462f2aa6566f5fd9c4ae RTC:140332 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/688 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* P9 changes for PR core restrictionMarty Gloff2016-04-271-6/+11
| | | | | | | | | | | | | | | | | | | Covers the work required to support the P9 module vpd and new EQ/EX/EC core structure in relation to the processing of the PR keyword to restrict the number of cores. Add new traces or enhance old traces with additional data to improve debug. Update the module vpd binary for our standalone model. Change-Id: I20018ccf1daa429e5b0ad9e38f50b1bc5943bcb5 RTC:145459 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/705 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Added platform implementations of fapi2 ring access functions.Matt Derksen2016-04-211-15/+29
| | | | | | | | | | | | fapi2::getRing(), fapi2::modifyRing() and fapi2::putRing(). Change-Id: I50fee8d2b04496e7ae7f0966dabdc53b5524a454 RTC:126630 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23207 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Create SBE FIFO device driverwhs2016-04-213-2/+55
| | | | | | | | | | | | | | Create SBE FIFO device driver and client code for get and put SCOM. Change-Id: I5b478f4a9a05340a61f8102c21e618f24e85c7ac RTC: 134179 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22174 Tested-by: Jenkins Server Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* VPD Caching broken on multiple socket, single CVPD systems (Barreleye)whs2016-04-211-1/+10
| | | | | | | | | | | | | | | | Invalidate Centaur Pnor sections if the section is invalid for all targets that share that section. Keep a section if any target sharing the section finds the section valid. Fixes: open-power/hostboot#29 Change-Id: I14302e38f1d39f3bb4e1857267e1547d1a06302b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22047 Tested-by: Jenkins Server Reviewed-by: A. P. Williams III <iawillia@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22153 Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Optimize EEPROM page switching to remember current pageAndres Lugo-Reyes2016-04-211-1/+2
| | | | | | | | | | Change-Id: I8355693b0ee16dfbaef5361006b564c4b59b714d RTC:147385 ForwardPort: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22859 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* DDR4 - Allow SPD writesaalugore2016-04-213-4/+34
| | | | | | | | | | | | | | | | | | | -DDR4 has 512-byte EEPROM with 2 256-byte pages. This commit contains the necessary page switching logic to support this. Change-Id: Iaa8e3e344def98b71d6a9e9387c5e0d9137a0397 RTC:137707 ForwardPort: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/797 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins OP Build CI Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/871
* Implement DO_NOT_WAKEUP opMode for Scom accesscrgeddes2016-04-211-5/+42
| | | | | | | | | | | | | | During runtime we occasionally will read scoms from various chiplets. Usually if the chiplet is in winkle mode (stopped, idle, etc) then we will wake it up. If this opmode is set, it is indicating the attempted read is not very important and not worth the time/energy to wake up the chiplet. Change-Id: Ieaaffe42fda3459e0295597fcf41c07bbaee72b4 RTC: 150454 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22986 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Moving the payload load into istep 20.1Elizabeth Liner2016-04-211-0/+1
| | | | | | | | | | | | | | | | | In our FSP machines, the FSP loads the payload in step 20.1, but in our openpower machines we added that functionality in step 21.3. This is moving that functionality from 21.3 to 20.1 (This is a forwardport from the already-reviewed master-p8 change) Change-Id: Ide679bcda981771aad7806876a1b0c42f6f60d8f RTC:147281 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22976 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins 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> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Adding infrastructure support for Hostboot istep 20.1Elizabeth Liner2016-04-212-3/+98
| | | | | | | | | | | | | | | | | The FSP loads the payload in 20.1, but in the PowerVM on BMC project, we're removing the FSP and Hostboot has to load the payload instead. Isteps 20 will also include HDAT changes. (This is a forwardport from the already-reviewed master-p8 change) Change-Id: I271a13d96c364e696bf3064d5d43607f7057467b RTC:147281 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22975 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins 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> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Removing some more old fapi1 and hwp codeDan Crowell2016-04-2126-7697/+3
| | | | | | | | | | | | | | | Deleted all of the old fapi1 code Moved potentially reuseable occ code to a new dir Deleted a variety of p8 hwp files Change-Id: I8b6ab72fef3f1413d919bdd21bc88f2c4f59c5c3 RTC: 146345 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23075 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Add new attention types for P9Brian Stegmiller2016-04-211-2/+4
| | | | | | | | | | | | | | Change-Id: Ia9076e792627a82787dceddafb7c3a75b756ad98 RTC:149697 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22141 Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Tested-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23131 Tested-by: Jenkins Server Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Tested-by: FSP CI Jenkins
* Change return type for platGetFusedCoreModeDan Crowell2016-04-211-4/+4
| | | | | | | | | | | | | | A change to the size of ReturnCode::iv_rc exposed a type mismatch in ATTR_FUSED_CORE_MODE_GETMACRO that was previously hidden due to favorable cast operators. Change-Id: Ie34bf0e163039c0adf461b2fa4d83f5e3e328d8f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22808 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
OpenPOWER on IntegriCloud