summaryrefslogtreecommitdiffstats
path: root/src/usr/runtime/populate_hbruntime.C
Commit message (Collapse)AuthorAgeFilesLines
* Temp workaround to skip filling in TPM info for RT on axone systemsChristian Geddes2019-08-081-0/+6
| | | | | | | | | | | | | | | We hit issues during bringup when we tried to call the function that fills in the info we need so we will skip for now. Change-Id: I012476f0a67bc8f84dc12173db0b2daeef8ab05c Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/81829 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: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Glenn Miles <milesg@ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
* Break out of loop if we fail to load reserved mem sectionChristian Geddes2019-07-301-1/+6
| | | | | | | | | | | | | | | | While building up the reserved memory sections if we encounter and error trying to load one of the reserved memory sections we should stop iterating through the sections and return the error. Change-Id: I0652cdf9a9ce28c91092be01105938d9a3b6a0bb Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80217 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: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
* Add page tables to read only partitionsChen Du2019-05-091-4/+22
| | | | | | | | | | | | | | | | | | Changed partitions (WOFDATA, MEMD) to be signed with a hash page table bit. This generates a hash page table in the protected payload which will be used to validate pages in the unprotected payload Change-Id: I9be4b1f6e65b9a52a8b6ba23affdacc4d89f5295 RTC: 179519 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72776 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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* SMF: New Ultravisor White/Blacklist HandlingIlya Smirnov2019-04-121-1/+25
| | | | | | | | | | | | | | | | | New procedure to call the SBE chip op to pass the SBE the address at which it will populate the Ultravisor XSCOM white/blacklist. The white/blacklist is also included in hostboot reserved memory and is passed to HDAT. Change-Id: If28854a73fa521297084bdee391fab95aa4f9a8a RTC: 192422 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75238 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> 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>
* SMF: Logic For Creating Non-Secure HOMER Memory SpaceIlya Smirnov2019-04-121-9/+48
| | | | | | | | | | | | | | | | | | | For SMF to be enabled, HOMER requires a small amount of non-SMF (unsecure) memory where the "jump to Ultravisor" instruction can be put (to transition to UV mode). This commit sets up a region of non-secure memory space for that purpose. Change-Id: Ib91ec69f49a4e174e65f3c2aad337a68eaa0803b RTC: 205986 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70699 Reviewed-by: Prem Shanker Jha <premjha2@in.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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* SMF: Put HOMER Back in SMF MemoryIlya Smirnov2019-04-041-2/+4
| | | | | | | | | | | | | | | | | It's time for HOMER to be put back on top of SMF memory. Note that this will only happen on SMF-enabled systems. Change-Id: I0a7fa5235a5f4dc5876defde340a4ae713f2e43d RTC: 202399 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75083 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Glenn Miles <milesg@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: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Secureboot: Enhanced Multinode Comm: TPM_POISONEDIlya Smirnov2019-03-011-1/+17
| | | | | | | | | | | | | | | | | | | This commit introduces a new attribute TPM_POISONED used to indicate that a certain TPM was poisoned during the boot. This attribute is also used to adjust the trustedboot flag in HDAT: if the primary TPM was poisoned during the IPL, the trustedboot setting is turned off in HDAT. Change-Id: I32ff6e79ebba0e38c0e8b4b9bd4aa0f52a250d9a RTC: 203645 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72129 Reviewed-by: Michael Baiocchi <mbaiocch@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: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add VERSION to all OpenPOWER HBRT error logsMatt Raybuck2018-11-271-0/+7
| | | | | | | | | | | | | | | | | Now that the VERSION partition is a secure section, in order to have the version info in all runtime error logs the VERSION section has been put into reserved memory which can then be loaded and added to all HBRT OpenPOWER error logs. Change-Id: Iaf74d19270f8221710f30834097e131f4dadeeba RTC:200439 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68855 Reviewed-by: Ilya Smirnov <ismirno@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: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Move HOMER BAR to Secure Memory in SMF ModeIlya Smirnov2018-11-131-2/+3
| | | | | | | | | | | | | | | | | This commits enables HOMER BAR to point to the top of the secure memory on SMF-enabled systems. Consequently, the HOMER image and hostboot reserved memory will be moved to the secure memory if SMF is enabled. Change-Id: I37c7527b06688a41e57f14b4107ff53a507ffae8 RTC: 198825 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66702 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@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>
* Shutdown: Move attribute sync to shutdown handlerNick Bofferding2018-10-011-4/+4
| | | | | | | | | | | | | | | Moved synching attributes into an attribute resource provider shutdown path to avoid race conditions along the shutdown path where a normal error path coupled with parallel shutdown leads to FSP attribute sync errors. Change-Id: Ibdb828f8132da1e251f880ef0e7d4fea2e4619a3 CQ: SW443737 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66431 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>
* [OPAL-MPIPL][6] Reserve the HBBL and HBB load area for OPAL fsplessRaja Das2018-08-241-1/+37
| | | | | | | | | | | | | | | Presently, in Phyp systems this area is getting reserved basis the HRMOR fetch from CPU, we need to reserve this area for FspLess Opal sysytem as well, where HRMOR is hard-coded to 3968M by SBE Change-Id: I23d6225547d769e1a64046c8202364aa1dd2720b Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/57038 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: VASANT HEGDE <hegdevasant@linux.vnet.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 hostboot reserved memory mirroring supportMatt Derksen2018-08-021-7/+63
| | | | | | | | | | | | | | | | | | | | | | Adding this support to avoid losing runtime functions (PRD, OCC/PM Complex management) to a mirroring-enabled system when a memory channel failure happens to the first piece of memory in a drawer. Basically just need to change where we physically map hostboot reserved memory to be the new mirrored spot. Change-Id: I85aa8c6033a47e4598eb1130e0b3d06c360ea479 CQ:SW437433 CMVC-Prereq: 1063550 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63034 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@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>
* Only store HRMOR value on primary nodeMatt Derksen2018-07-231-9/+9
| | | | | | | | | | | | | | | | | | | | | | There is a single field in HDAT where Hostboot fills in an address where PHYP will then write the new HRMOR value any time it changes. The problem is that the independent Hostboot instance in each node is writing the same field with their own node-relative address. There is only 1 field so the last node in will win. Then on the mpipl we won't be able to find it. Change-Id: I18f64816f20b0a3fc2951dff457d9511ca27e1d2 CQ:SW438101 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/62763 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Richard Ward <rward15@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: 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>
* [ARCH_REG 2] Enable architected register data reserve in the hostRaja Das2018-07-201-1/+42
| | | | | | | | | | | | | | | | Keep a reserve space for each proc where sbe can dump all the architected register state data, which host will use to build the hdat in mpipl path. Host will pass on this address to each SBE in the stash after calculating the respective offset basis the proc. Change-Id: Ia78c2ecaaa8967c1aac13913272ce6f2ea427b5d Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/59534 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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Need to add CPU_SPR_HRMOR when calculating HB reserved mem limits.Thi Tran2018-07-121-19/+15
| | | | | | | | | | | | | | | | | HB reserved memory start/stop addresses are calculated based on CPU_SPR_HRMOR value in order to handle the case where memory is swapped (because no memory exists behind proc0). Therefore, the calculations of the HB reserved memory ranges must also include the CPU_SPR_HRMOR value or the safety range check will fail. Change-Id: I4145ca58c46b2f2099864dce9347bae5badf0d3f CQ:SW434842 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/62323 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>
* Allow SPDX override as part of FW loadDan Crowell2018-07-031-1/+97
| | | | | | | | | | | | | | | | | | | | | | | | Memory VPD contents have changed since the cards have been built so we need to provide a method to override the data as part of a FW build. We have done the same thing previously for the MEMD record on the Nimbus machines so will use the same design here for SPDX. As part of this change, the previous MEMD support was refactored to be completely generic so a single code path can be used for any arbitrary record. Change-Id: I5af5e965429c881be3de0d18c82b1d7918ac9c22 CQ: SW430659 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61190 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: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60980
* Secure Boot: Copy PHyp secure header into standard reserved memory areaNick Bofferding2018-06-291-3/+2
| | | | | | | | | | | | | | | | This change alters where Hostboot copies the Phyp secure header; instead of placing it in front of PHYP (PHyp HRMOR-4k), it instead redirects it to the standard reserved memory area. By doing this, we prevent it from unintentionally ending up in mirrored memory. Change-Id: I0b228b4a748310eba2b580efe2f191adca0d05e3 CQ: SW435712 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61525 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>
* SP ATTN area relative addressing cleanupJaymes Wilks2018-06-261-2/+2
| | | | | | | | | | | | | | | | | This change attemps to remove some technical debt incurred by the "HRMOR relative addressing for PHyp SP ATTN area dump" commit. Change-Id: I773c25e6f704fba561aa78106120325562698e4e RTC:186439 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61099 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@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: William G. Hoffa <wghoffa@us.ibm.com>
* HRMOR relative addressing for PHyp SP ATTN area dumpJaymes Wilks2018-06-211-0/+68
| | | | | | | | | | | | | | | | | | | | | This change adds absolute addresses to HDAT for the SP ATTN area that the PHyp team can now use for predictably locating PHyp debug information. In addition, Hostboot now populates attributes with its intended PHyp ATTN area start addresses for FSP to read. Change-Id: I21fbdf672c37462c87705236973b22f9d1d4eba4 CMVC-Prereq: 1059060 CMVC-Prereq: 1058912 CMVC-Prereq: 1059317 RTC:186439 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59269 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> Reviewed-by: Michael Baiocchi <mbaiocch@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>
* HBRT Reserved Mem Trace Buffer implementation.Sakethan R Kotta2018-06-191-3/+24
| | | | | | | | | | | | | | | | | | | | | | -Hostboot master Drawer will create TRACEBUF section in the HB Rsvd Mem and HBRT, while booting, gets the TRACEBUF section details and initializes the circual buffer, if available. -If a valid data is present in the buffer, HBRT will create an info log ERRL, otherwise initializes the buffer. -Traces from all components are serialized and stored in the single TRACEBUF in the same format (fsp-binary Trace). When buffer is full, it deletes the oldest entry/entries to store the new ones. -ERRL->collectTrace() works similar to other buffers. -A new test case is added to dump the traces from TRACEBUF. Change-Id: I4ce943231a2ba30e3a13ca34d1c40ff68464a994 RTC:188726 RTC:191302 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56450 Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* untrusted SBE reserved memory region to Rsvd Mem Trace Buf SectionSakethan R Kotta2018-06-191-0/+107
| | | | | | | | | | | | | | Opens an untrusted SBE reserved memory region with read-only permissions to the Rsvd Mem Trace Buf Section.so that tools/debug can come in and read those traces in secure mode. Establishes the window across -all- chips. Change-Id: Ied9852455d7c412915871328976a9204e1f5247f RTC:191303 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58637 Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix SRC BC8A1A20 - RUNTIME::RC_INVALID_RHB_INSTANCERichard J. Knight2018-06-071-26/+66
| | | | | | | | | | | | | | | | | | | -When a system with 3 or more nodes has node 0 deconfigured, the code to calculate the hdat instance number is not correct, the instance should begin with 0 as the first functional node detected, instead the first instance is 1. Change-Id: Ia5c9fe8f3c78e8b0cc0612aea1199eb70671a729 CQ:SW430818 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60001 Reviewed-by: Prachi Gupta <pragupta@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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix memory leaks associated with various msg_sendrecv callsNick Bofferding2018-06-041-0/+4
| | | | | | | | | | | Change-Id: I30bb6627610391aea248d4a3c4d722ef1695b02f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59677 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: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
* Secure Boot: Set trusted boot enabled in HDAT considering all nodesIlya Smirnov2018-05-311-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change implements reporting of trusted boot status to HDAT considering all nodes of the system. To avoid inter-node communication, the check is done after the HDAT TPM info is populated for all nodes. The logic goes through all TPM Info HDAT records (for each node) and checks whether the master TPM on each node is present and functional. The result is aggregated into the trusted boot enabled bit on the master node. The check is done after the separators have been extended into TPM; this allows each primary TPM more chances to fail before we say that it's functional. Trusted boot enabled bit is reported as 1 if ALL primary TPMs on ALL booting nodes are present and functional. It is reported as 0 if at least one primary is not present or not functional. Change-Id: I926532efe85b33e95e50d84b0b5e4554852f0601 RTC: 191194 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59279 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: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Support TPM PCR PoisoningJaymes Wilks2018-05-231-1/+43
| | | | | | | | | | | | | | | | | | | To support Fleetwood secure inter-node communication, we need to “poison” the PCRs of all still functional non-master node TPMs just prior to transferring control to PHyp, and report that poisoned state to HDAT. Change-Id: Ic104ef2e44fc98895b9b435fdf8ba4c5e4972818 RTC:191001 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58244 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: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add fix for HDAT Fail in Hostboot istep 21: BC8A1A20Richard J. Knight2018-05-221-20/+54
| | | | | | | | | | | | | | | | | | | -On a multi node Fleetwood system with node0 deconfigured the index into the hostboot reserved memory array for the master node exceeds the limit check due to an invalid calculation when nodes other than 0 become the master. The calculation was using the node id instead of the effective instance id. Change-Id: I55d991eda04452aa242fcccad07fede05d29eccb CQ:SW425720 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58113 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: William G. Hoffa <wghoffa@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove workarounds for multinode HDAT supportJaymes Wilks2018-05-171-7/+0
| | | | | | | | | | | | | | | | | | | | This change does two things: -removes the eyecatch workaround for HDAT TPM data multinode support -fixes the loop that adds eye catches to HDAT TPM data for the openpower case Change-Id: I80a7f279783da63e6cde88447d75c0a79b428540 RTC:190522 CMVC-Prereq:1048762 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58031 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: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Primary TPM Required PolicyIlya Smirnov2018-05-031-1/+1
| | | | | | | | | | | | | | | | | | Change the "TPM Required" policy to "Primary TPM Required," wherein only the presence and functionality of the primary TPM (attached to the acting master proc) will be considered when evaluating the TPM required condition. The presence and functionality of the backup TPM will not play a role in this policy. Change-Id: Id968123d0fc399c531da7429fdb8efabfa66c53c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57843 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> 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: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Multinode SBE Window SupportJaymes Wilks2018-04-131-2/+2
| | | | | | | | | | | | | | | | | | | Code for SP ATTN, COMM, and SBE FFDC areas has been extended to all chips/nodes. The COMM area base address calculation is now updated to use the lowest addressable location for the master node. Change-Id: Ib02e62958a520c60e4bcc5bd9d4c4257893adbd9 RTC:189038 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56614 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@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: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Multinode SBE Window Support - Export OPALJaymes Wilks2018-04-131-0/+20
| | | | | | | | | | | | | | | | Extends SBE window support to open a new window for OPAL trace. Change-Id: Ifee6fe4a8cc1e58ca9ddd00d57c91356ad55cc3d RTC:191010 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57054 CI-Ready: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@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: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
* Secure Boot: Inhibit preverifying WOFDATA reserved memory areaNick Bofferding2018-04-121-3/+6
| | | | | | | | | | | | | | | | | | | Hostboot reserved memory areas are large, and there is enough content in certain cases such that data bleeds into the start of the PHyp image. This change stops preverifying one of the largets partitions, WOFDATA, so that the reserved memory areas will stay well within bounds for the time being. Change-Id: Ia099bc3bc27ba7000c2e5a1420a1e8ac72537ba6 CQ: SW421678 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57031 Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@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>
* Secure Boot: Support Phyp debug flag in HDATIlya Smirnov2018-04-091-1/+11
| | | | | | | | | | | | | | | | | | | | | PHYP needs a way to know if SBE security backdoor is enabled for debug purposes. This change creates a flag in TPM instance data structure to indicate whether the backdoor is enabled. This flag is passed by SBE to the hb bootloader; also added the flag to indicate whether PCR is poisoned (default of 0). The population of this flag will be implemented on Fleetwood. Change-Id: I22305dbc9651134ba7dfe3b0bd3c760fe53c2c85 RTC: 188961 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56045 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: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> CI-Ready: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Propagate TPM information into HDAT on non-master nodesJaymes Wilks2018-04-061-36/+126
| | | | | | | | | | | | | | | | | | | | | | | Extends HDAT population to add TPM data to all functional nodes - Added message sends from the master to each node - Each node updates # of instances, sizes of structures, etc. - Each node navigates to its appropriate offset in HDAT - HDAT now populates entries for all TPMs in the blueprint - Physical presence interaction mechanism is master-only obtained - TPM SRTM and DRTM logs are no longer interlaced between TPM info - Single node workaround reverted Change-Id: Ic77cbeb7ba3d35a9f02ba68525ed79f27159e9bf RTC:167290 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55283 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: 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: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Dump collection should only be run on the master node and skipped on slaves.Rick Ward2018-03-221-13/+13
| | | | | | | | | | | | | | | | | | | Added an attribute, IS_MASTER_DRAWER, and a utility function, isCurrentMasterNode(). The attribute is set in host_sys_fab_iovalid_processing which is called during istep 18.9. isCurrentMasterNode() is called by call_host_mpipl_service() to ensure that memory dump collection is only performed on the master node during a MPIPL. Change-Id: I7fd48476c3cd7cf4697eafed6705d158a9c54dcf RTC: 116089 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55162 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Secure Boot: Populate master node TPM info in HDAT until multinode supportedNick Bofferding2018-03-151-0/+5
| | | | | | | | | | | | | | | | On multi-node systems, HDAT TPM info is not yet populated. This change at least populates the master node's TPM info until all nodes are supported. Change-Id: I82effc928c6b10fa863fa2bb1e398da68c5b31d3 CQ: SW421186 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55944 Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@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>
* Wait for responses from all nodes for IPC_POPULATE_ATTRIBUTES msgRichard J. Knight2018-03-121-6/+10
| | | | | | | | | | | | | | | | | | | -In the message handling for IPC_POPULATE_ATTRIBUTES the master node should wait for a response from all messages, the current code only waits for a single response. The change in this commit adds a loop to capture a response from each message sent. Change-Id: Iec3d3f666a3f00e01b850a822674d3f479f8bc89 RTC:189354 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55249 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Richard Ward <rward15@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* changes to move configureHbrt target type to IPC path to run on slave nodesPrachi Gupta2018-03-071-4/+33
| | | | | | | | | | | | | Change-Id: Iee5e5231851e6f6389f83607da35121dbfe5a0b9 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54855 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> 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: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Support sending chip info to SBEs on multinodeDean Sanner2018-02-281-2/+422
| | | | | | | | | | | | | | | | | | | | Existing code didn't support collecting the present chips on all nodes (Hostboot instances) and updating all SBEs with a system wide view. For non multi drawer configs it will just update based on HB instance view. For multi drawer configs the other hostboot instances will be queried for their configs, aggregated, and then informed of the system wide view via IPC commnuication. Change-Id: I45c5673df26f940de212cbe2b54525e32c9147ab Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53603 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: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Bug fixes for concurrent update of HBRTDan Crowell2018-02-241-2/+5
| | | | | | | | | | | | | | | | | | | Fixed a bug where the wrong copy of the attribute was being used after our code update preparation was run. Fixed a bug due to not having enough memory allocated to update the attribute values during the transition. Added space to initial reserved memory to allow for new attributes to be added at runtime. Change-Id: I97c4d20ff1c369398be470fef718bbd001f71c1b CQ: SW417526 ForwardPort: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54685 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>
* checkHbResMemLimit -- change to check correctly on multi-nodePrachi Gupta2018-02-191-2/+17
| | | | | | | | | | | | | | | | | | checkHbResMemLimit function did not take HRMOR into account when determining the LOWER and UPPER limits for hb reserved memory section. This broke on a multi-node system. Changed the function to take the HRMOR into account to pass on slave nodes. Change-Id: Ib16816ba8e7d9740f0ee402cdbc05531c4161362 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54272 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: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Pass Actual SecureRom size in HDAT to OPALIlya Smirnov2018-02-151-8/+2
| | | | | | | | | | | | | | | | | | | | | Up until now we aligned the SecureRom size for OPAL to consume, requiring different sizes of SecureRom to be used between OPAL and PHYP. However, it turned out that it is unnecessary to align the size for OPAL, so the code can be simplified to remove the distiction between the size for PHYP and OPAL. Note that the address of the SecureRom still needs to be aligned. Change-Id: I223c1af36755efe134ba496c36129f76b14d946d RTC: 183697 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53897 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: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Error when hb tries to access reserved memory past limitIlya Smirnov2018-02-141-5/+69
| | | | | | | | | | | | | | | | | | | | | | An issue has recently occurred when hb reserved memory past the allowed limit (256M-4K) and overwrote some of the PHYP memory, which caused bugs that were difficult to debug. This change is to check the memory address we are trying to reserve and throw an error if the address is at or above the allowed limit. We only execute this check if PHYP is running and only on components not belonging to PHYP (PHYP components may be placed outside of the limit). Change-Id: Ic62a7b724abc3b29b7872d0af47de8c68cde2ea8 RTC:186332 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52850 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: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fixes for multinode istep 21.1Dean Sanner2018-02-061-0/+9
| | | | | | | | | | | | | | | -Reordered start_payload to ensure that common things like disabling special wakeup, closing down SBE windows, core xstop, and clearing PM bars are executed as part of our shutdown path -Due to above, needed to correct shared libs loaded on non master HB instance -Added back in the P8 code to pass the payload base to slave HB Instances on populate attr IPC message Change-Id: I5371b9daf7a4e1aadd1743badcd4219604a38ce7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53343 Tested-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Eliminate duplicate entries in hdat hb reserved mem sectionRichard J. Knight2018-02-061-360/+384
| | | | | | | | | | | | | | | | | | -Modify the code flow so that the system unique items are entered only by the master node -Modify the code flow so that each node populates its own node specific information Change-Id: I6a334bcff4369b0d529ffa6d6c4f12209b04c47c RTC:186336 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53012 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Enable multi-drawer hdat constructionRichard J. Knight2018-02-061-19/+92
| | | | | | | | | | | | | | | | | | | | | -Enable IPC message to drawers to populate hdat -Update HDAT HB reserved memory pointer allocation to be based on the number of drawers in the system -Modify reserved memory pointer allocator to allow drawer specific range of reserved memory pointers -Duplicate data in hdat will be resolved with a follow on commit. Change-Id: I8093a0aac36fbd3d6642db6a1595caa020fd6e78 RTC:186290 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52655 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@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: William G. Hoffa <wghoffa@us.ibm.com>
* Unload preverified secure sections after moving to mainstore memoryStephen Cprek2018-01-251-2/+65
| | | | | | | | | | | | | Change-Id: Iba5fa320e417894cb3fc7f071a3000c1b98392e6 Backport:release-fips910 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52128 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: Nicholas E. Bofferding <bofferdn@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: William G. Hoffa <wghoffa@us.ibm.com>
* Secure Boot: Open persistent virtual memory mapping for HDAT TPM logsNick Bofferding2018-01-231-1/+95
| | | | | | | | | | | | | | | Change-Id: Id40cac1d6b580c32d91da399c431a7b4b09f3fdd RTC: 168745 Backport: release-fips910 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52320 Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@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>
* Move closing all unsecure memory regions to 21.3Stephen Cprek2018-01-221-2/+26
| | | | | | | | | | | | | | | | | | | | Current windows that are left open at end of IPL - SBE FFDC - CPU Controls SP ATTN area - 0-64MB for SP ATTN Change-Id: I887fc63bcc70f2351530741bd251db12732a5948 RTC:168745 Backport:release-fips910 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52045 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> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Open Untrusted Communication for SPStephen Cprek2018-01-171-1/+104
| | | | | | | | | | | | | Change-Id: I87c7fe74349521eaec6ebf373e99f13eb1bf74f8 CQ:SW412793 Backport:release-fips910 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51742 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: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add comments for hb/hypervisor communication struct and remove TODOChristian Geddes2017-12-211-6/+6
| | | | | | | | | | | | | | | | Add comments from a previous review and also removed TODOs now that hdat code is in backing build Change-Id: Ibf561fdfd7a61b66611a065d77a73fc81dd4e7e7 RTC: 180959 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50907 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: Daniel M. Crowell <dcrowell@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>
OpenPOWER on IntegriCloud