summaryrefslogtreecommitdiffstats
path: root/src/include/runtime
Commit message (Collapse)AuthorAgeFilesLines
* Inform OPAL of the state of the SBE after an attempt to restartRoland Veloz2018-03-221-0/+9
| | | | | | | | | | | | | | | | | Inform OPAL of the state of the SBE after an attempt to restart, either it is disabled or enabled after retry, along with the processor ID of the SBE. Change-Id: I66a58e866c602c53f41f7cdfbd798f613d3b4dab RTC:180245 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54813 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-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>
* Initialize FIRDATA section and ErrlManager just incase BMC resetsMatt Derksen2018-03-071-0/+13
| | | | | | | | | | | | | | | | | | | PRD needs to read the PNOR to tell OCC where to write in the pnor. This will cache the PNOR section so PRD will not fail the read call. If an error is created with pnor inaccessible, errl manager could get stuck unless it was initialized first. Change-Id: Ia7212bf99e947a1016423b37aff6f13ddfc7190a CQ:SW412798 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54990 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> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> CI-Ready: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add common XSCOM error literals to HBRTBrian Bakke2018-02-271-0/+19
| | | | | | | | | | | | | | | | | | Add a set of common XSCOM error literals that can be used by all platforms. Add mechanisms to translate this common set of literals into XSCOM error callouts. Preserve legacy handling/translation. Change-Id: I0f9ce25604efa0caf7d49e4ec7b5f2176a3c3a91 RTC: 86782 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54650 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-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>
* Cleanup hbrt msg code to be easier to understand and updateMatt Derksen2018-02-271-0/+9
| | | | | | | | | | | | | | | | Cleanup based on review comments on hbrt attribute update msg code. Change-Id: I10c957f1bf7b6cab77315af6c65f5e0f62b5c893 RTC:186991 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54494 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian E. Bakke <bbakke@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Skip attempting sbe_retry when HBRT receives SBE_ERR from HWSVChristian Geddes2018-02-241-0/+1
| | | | | | | | | | | | | | | | | Because there are some errors in the SBE_RETRY handling path we will skip attemptin the retry for now and just respond that we failed to recover. This will allow HWSV to perform the dump they want. Change-Id: Ia49b6f2a7871ca9e754b6bfd7c3ad0db2eac512b CQ: SW418111 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54443 CI-Ready: Daniel M. Crowell <dcrowell@us.ibm.com> CI-Ready: Roland Veloz <rveloz@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: Jenkins OP HW <op-hw-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 bugs in FSP->HBRT message path for SBE errorsChristian Geddes2018-02-191-6/+6
| | | | | | | | | | | | | | | | | | | | Hostboot was expecting the incorrect order of data in messages sent from the FSP -> PHYP -> HBRT where the SBE is requesting that HBRT reset the SBE. This commit corrects the order and renames the struct for the specific role its used in. Also this commit fixes the values for the MESSAGE type sent by the FSP. CQ: SW415675 Change-Id: I08f44486054e7d0113fd7606bb40ced577080d0c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53883 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: Roland Veloz <rveloz@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update attributes based on message from the FSPMatt Derksen2018-02-111-0/+20
| | | | | | | | | | | | | | | | | | At least one usecase exists where code on the FSP needs to update an attribute and have that value reflected inside of HBRT. Change-Id: Iad5057ecbb182f6f58879ba694d4b8adea485248 RTC:186991 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53486 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> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-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>
* Initialize SBE message communication on HBRT startMatt Derksen2018-02-071-0/+6
| | | | | | | | | | | | | | | | | | | Need to clear first 2 bits in CFAM register 0x283B. This basically resets our SBE communication stream just incase HBRT restarts after processing SBE interrupt. Clearing these bits tells the sender to resend the command. Change-Id: I1a1c5b80cc99414649d38c06b93428c87299f242 RTC:186334 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53225 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: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian E. Bakke <bbakke@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@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 for any target deconfig at runtime; Utility to create a generic messageRoland Veloz2018-01-173-5/+158
| | | | | | | | | | | | | | I added code to inform FSP whenever a target has been deconfiged. I also added a handy utility to facilitate in the construction of a Generic FSP message. Change-Id: Iad755d4de1bf200ab00ad3f99451512ba8cdabb4 RTC: 183950 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51201 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Lock i2c around vpd write message to FSP at runtimeMatt Derksen2017-12-221-1/+15
| | | | | | | | | | | | | | | | | | | Adding this lock mechanism to handle contention between the Host and OCC. Using the Host's lock as a proxy for any operations we want the FSP to do for us. HBRT will now call to lock the master i2c, then call down to the FSP to do the VPD write, then call to unlock the master. Change-Id: Ifa06b3bf12fe9914980d39d2663f032ddb950b94 RTC:184131 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51041 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-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>
* Fixes for Runtime VPD Write messagesDan Crowell2017-12-211-0/+4
| | | | | | | | | | | | | Need to pass the keyword/record/zie as the first two words of the data payload. Change-Id: I5c94ac9509483a11e3f703c4748c251bc846d8cb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51141 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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Handles FSP reset-reload in HBRT messagesRoland Veloz2017-12-212-42/+74
| | | | | | | | | | | | | | | | | For every instance where a firmware_request is made, it is possible to get an error if the FSP is doing a reset/reload. Now, if an error returned from the firmware_request call indicates that the FSP is doing a reset/reload, the firmware_request call will be made again. Also refactored the code. Consolidated the calls to firmware_request to another file to facilitate the adding/updating of messages. Change-Id: I5be440927ab255c55b40a0a0ed26f786d31a9317 RTC:182606 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50505 Tested-by: Jenkins Server <pfd-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>
* Adding support for TOD RAS on FSP systemsRoland Veloz2017-12-201-0/+1
| | | | | | | | | | | | | | | | | | | Moved the TOD files from directory /hostboot/src/usr/isteps/istep18 into a new TOD directory - /hostboot/src/usr/isteps/tod. Created a tod library from the files within the new TOD directory. Added a runtime directory underneath the tod directory. Created the rt_todintf.C file which contains the two newly added interfaces - readTodProcDataFromFile and resetBackupTopology. Change-Id: I68c9edcd8f59adf9a2cf1f1f3fff07fea2d94e99 RTC:171490 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48188 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-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>
* Updated the GenericFspMboxMessage_t structRoland Veloz2017-12-202-31/+92
| | | | | | | | | | | | | | | | | | | The GenericFspMboxMessage_t struct has been expanded to provide a lot more data than before. The highlights are that it now carries the data size, an error only flag, a sequence number and a magic number to identify the message. An initialize method has been provided to set some of these to default values. In addition the message types are consolidated into one enum. All enums have a prefix of GFMM to avoid name collisions. The sequence number is an auto incrementing number so we can keep track if the messages are received out of order. Change-Id: Ic0f1c2546ff1ce14f163d1da55646ed089216d19 RTC: 182267 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49960 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
* Concurrent code update of HBRT - Runtime InterfaceMarty Gloff2017-10-191-4/+16
| | | | | | | | | | | | | | | Create the runtime interface for PHYP to call. Change-Id: I1ec7ca2df4491b5a6fa83e12261679165d177a27 RTC: 180906 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48209 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: Jenkins OP HW <op-hw-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>
* Updated VPD from HBRT on FSP systemsRoland Veloz2017-10-062-2/+87
| | | | | | | | | | | | | | | | Created a generic message type that is used as a mailbox message that is passed from HBRT to FSP. The new generic message type is used to make a VPD write call. Change-Id: I21240d19909f786d525e2a98878000af4aea6e9f RTC:171488 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45048 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-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>
* Post merge corrections for method firmware_requestRoland Veloz2017-09-181-4/+3
| | | | | | | | | | | | | | Change-Id: Ic1a10749ad24765e1ff11544124286fc59051e1c RTC:175856 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44601 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-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: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Donald Washburn <dwashbur@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Added code to send an Error Log to FSP via the firmware_requestRoland Veloz2017-09-181-3/+17
| | | | | | | | | | | | Change-Id: I6ce94d9cbf62fa7d2afe53b83b6bc5588a39a5d6 RTC:178947 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45442 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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Verify sections for HBRT and put in HB resv memoryStephen Cprek2017-08-161-1/+3
| | | | | | | | | | | | | | Change-Id: I467fe768fce46aa182bbd3c32c090194262d4e75 RTC:175115 CMVC-coreq:1029391 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42009 Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Changed method firmware_request so it can be used by OPALRoland Veloz2017-08-111-0/+50
| | | | | | | | | | | | | Change-Id: I5ebdc6d61b7891f1c975490820a57259b35a6fdf RTC:175856 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43283 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Enable HDAT HB reserved memory when supported by FSPMatt Derksen2017-07-111-3/+0
| | | | | | | | | | | | | Change-Id: Id0b156282e0197c6a8ed32d2e60066cb5c149edd RTC: 169478 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42077 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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Consolidating HBRT reserved memory (ATTR,ATTR_OVERRIDE,VPD) into a single entryMatt Derksen2017-06-121-0/+2
| | | | | | | | | | | Change-Id: I9fc5846d9901ac79c59bb149b8f55b5c7ca2fa73 RTC: 171863 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41141 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>
* Updates to HBRT runtime interfacesDan Crowell2017-06-081-73/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reconciling P9 function table with P8 table to make opal-prd work. Added new entries for: - firmware_request - get_ipoll_events - firmware_notify Added in entries for P8 functions: - get_interface_capabilities Added deprecated placeholders for P8 functions: - occ_load - occ_start - occ_stop Moved entries for: - load_pm_complex - start_pm_complex - reset_pm_complex Change-Id: I1892b4465a6e5901aa9eaa6a49e139a4bc4c5b56 CMVC-Prereq: 1026011 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40467 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>
* Populate HDAT sections with Secureboot Hash and Verify Function infoStephen Cprek2017-06-061-0/+1
| | | | | | | | | | | | | | | | | | | HB Resv Mem - Add Secureboot Cryptographic Algorithm info - Relocate SecureROM code Secure and Trusted boot data - Fill in new section for Hash and Verification offsets Change-Id: Ibfd60cc4d0d738fb209357332932af7aca9c61b8 RTC: 156485 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40445 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: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* SBE message passing - Set FFDC Address command and set HDAT RHB entryMarty Gloff2017-04-181-0/+2
| | | | | | | | | | | | | | | | | Create space for SBE Communications buffer in HB reserved memory and send Set FFDC Address PSU command to SBE. Change-Id: Ibccdf087d0416edaf6e1e2c5993a10adcddf67fd RTC: 170758 Depends-on: Id14471b1e6f036c278fd5ae1950b942290282c1e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38251 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: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Propagate attribute overrides up to the HBRT codeDan Crowell2017-04-161-0/+12
| | | | | | | | | | | | | | | | | | | | | | | Attribute overrides are stored in a separate tank of memory from the regular attribute values. This tank will be added as an additional reserved memory section for HBRT to consume (only if overrides exist). Also fixed a couple bugs encountered while testing: - No longer crashes if an error is created inside the targeting initialization code. - Added reserved bytes to RHB definition. Change-Id: I5b10f7ad8dfcb58c550868bb83c4d843f48e1aae RTC: 169942 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38547 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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* SBE message passing interface - call of HBRT process SBE messageMarty Gloff2017-03-211-0/+15
| | | | | | | | | | | | | | Add the new Host interface for SBE message passing. Change-Id: I220a864a072bcc60cc873cde243a28cc899e2722 RTC:170759 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37694 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add HCODE scom update interface to HBRTCorey Swenson2017-02-031-2/+3
| | | | | | | | | | | Change-Id: I8d6a8aa2330ec95e1ce612979c9fa037a633d07d RTC:150219 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33702 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Support extending sections to PCRsNick Bofferding2017-02-021-6/+6
| | | | | | | | | | | | | | - Ported p8 secureboot PCR extension code Change-Id: I2bbf6ee6b2980c2fbe32dfb9cad25e9e2aba3285 RTC: 167581 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35632 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Add chip_id_type comments to the runtime interface fileCorey Swenson2016-11-091-3/+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>
* Special wakeup updates for P9Corey Swenson2016-10-241-2/+10
| | | | | | | | | | 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>
* 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>
* Register verify_container runtime interfaceNick Bofferding2016-07-071-0/+42
| | | | | | | | | | | | | | | - Added verify_container API to runtime interface for secureboot - Added testcase to test API registration - Created common secureboot tracing files Change-Id: If755644ff6507f14fd0463f4accf05301fc91832 RTC: 156119 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26104 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: Christopher J. Engel <cjengel@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Modify contract for hcode_scom_updateDan Crowell2016-06-141-2/+3
| | | | | | | | | | | HBRT is now responsible for waking up the cores before calling hcode_scom_update Change-Id: I20dca52ce1373bd3cdf58a62f5dd8c30fc21bfe8 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25453 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@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>
* 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>
* Propagate ATTR_TMP overrides into HBRTBill Schwartz2015-08-251-0/+16
| | | | | | | | | | Load ATTR_TMP overrides at host boot runtime RTC: 129055 Change-Id: Id01889b6a1498af05732cee7c797d3e18af10f8d Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19951 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* HTMGT support for Pstate Table BiasingChris Cain2015-08-181-0/+26
| | | | | | | | | | Change-Id: I96aff34fb9b588d8546575b77655a6cf167469fb RTC: 128436 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18789 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support multiple instances for reserved memoryBill Schwartz2015-08-061-1/+2
| | | | | | | | | | | | | | | Update HBRT interface to add an instance to get_resvered_mem and update devtree entries with instance. Change-Id: Ie0c5a76ce5ff347354bc91898e1c4dc032430e13 RTC: 131056 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19281 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: MATTHEW A. PLOETZ <maploetz@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* New HBRT interfaces for attribute overridesBill Schwartz2015-07-211-0/+11
| | | | | | | | | | | | | | Add interface to apply attribute overrides Change-Id: I2eb9f32e0236d7296ff3f3f133af4ef349d70376 RTC: 127328 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17818 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: MATTHEW A. PLOETZ <maploetz@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Modify hbrt pnor interfaces to handle different partition sizesDan Crowell2015-03-261-6/+8
| | | | | | | | | | Change-Id: I8ea0d9fa603328bdafed97bd33d70ad3634b43a3 RTC: 125021 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16139 Tested-by: Jenkins Server Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* PRD: Dynamic memory deallocation support for HBRTSachin Gupta2015-02-281-2/+2
| | | | | | | | | | Change-Id: Ifef5f14dc1a1f3c5d9dc5acdeb21e5d8620b87b8 RTC: 123111 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16026 Reviewed-by: Christopher T. Phan <cphan@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add history related to runtime paddingBrian Silver2015-02-241-3/+18
| | | | | | | | | Change-Id: I58a878834b89c340efc0872d7d78d6ff18f79a59 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15905 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* enable IPMI interface for hostboot runtime (hbrt)Brian Horton2015-02-231-11/+87
| | | | | | | | | | | | | | This will be used by the errlog code to send committed logs to the BMC, and by sensor code for read and writes. Change-Id: Ie1f8013dddea99af14bfe166d45e7a74f0806efe RTC: 120094 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15674 Tested-by: Jenkins Server Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HBRT Runtime VPD UpdatesCorey Swenson2015-02-181-0/+48
| | | | | | | | | | | | Enables writes to VPD and handles disabling PNOR cache in manufacturing mode Change-Id: I03d4246ceb91520939f8b04f3b3d2fc31c116079 RTC: 114911 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15462 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* OCC Poll Validation and startup checkpoint monitoringChris Cain2015-02-091-4/+46
| | | | | | | | Change-Id: I2f6e6d31ccd10bb6add9d608363db3e5048975a8 RTC: 117248 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15483 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* hbrt interface for PNOR accessPrachi Gupta2015-01-161-1/+25
| | | | | | | | | RTC:108836 Change-Id: I49e568e7f4fcad13fcd75dfdfa4aee8a263c5001 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14307 Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* clock_gettime support for HBRTPrachi Gupta2014-12-151-1/+14
| | | | | | | | | Change-Id: Iab8d113c00609d7b92fb2fd943b57c9a21671f11 RTC: 119002 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14668 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ATTN: add stub runtime interfacesChris Phan2014-12-031-0/+24
| | | | | | | | Change-Id: I758ffe46770297a28be1087bc9f9b8379e4c2fa9 RTC: 110949 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13546 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* added activateOCC during IPL and occ_error during runtimePrachi Gupta2014-11-121-4/+11
| | | | | | | | | Change-Id: Icdba24cc9d8fadc597bd79b8bea60f1c358d636e RTC: 114906 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13551 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud