diff options
author | Jaymes Wilks <mjwilks@us.ibm.com> | 2017-01-20 10:31:30 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-02-07 16:24:36 -0500 |
commit | 21bcf18c2d4da4d3c6cb2d306c17422cdfc80ec6 (patch) | |
tree | 9cdb828c004a01b18085d98786213dc7f0b92b2e /src/usr/isteps | |
parent | 0c00bada7f1efe48f82005421e77994a19960b9f (diff) | |
download | talos-hostboot-21bcf18c2d4da4d3c6cb2d306c17422cdfc80ec6.tar.gz talos-hostboot-21bcf18c2d4da4d3c6cb2d306c17422cdfc80ec6.zip |
TPM Log Pass up to FSP Host
Adds hostboot functionality to populate the HDAT area with System
Security Settings, TPM Configuration bits, TPMs/Drawer and Hardware
Key Hash Values in the HDAT area for passing up to FSP hosts.
Change-Id: I34a9ec51d0311a0a7bc5468a8261a1276b0e5f7a
RTC:125306
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35163
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: Michael Baiocchi <mbaiocch@us.ibm.com>
Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/isteps')
-rw-r--r-- | src/usr/isteps/istep21/call_host_runtime_setup.C | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/usr/isteps/istep21/call_host_runtime_setup.C b/src/usr/isteps/istep21/call_host_runtime_setup.C index f32827fbf..4d4a85220 100644 --- a/src/usr/isteps/istep21/call_host_runtime_setup.C +++ b/src/usr/isteps/istep21/call_host_runtime_setup.C @@ -74,8 +74,10 @@ void* call_host_runtime_setup (void *io_pArgs) for(auto l_proc : l_procChips) { //Get fabric info from proc - uint8_t l_fabricChipId = l_proc->getAttr<TARGETING::ATTR_FABRIC_CHIP_ID>(); - uint8_t l_fabricGroupId = l_proc->getAttr<TARGETING::ATTR_FABRIC_GROUP_ID>(); + uint8_t l_fabricChipId = + l_proc->getAttr<TARGETING::ATTR_FABRIC_CHIP_ID>(); + uint8_t l_fabricGroupId = + l_proc->getAttr<TARGETING::ATTR_FABRIC_GROUP_ID>(); //Calculate what bit position this will be uint8_t l_bitPos = l_fabricChipId + (8 * l_fabricGroupId); @@ -132,6 +134,15 @@ void* call_host_runtime_setup (void *io_pArgs) // Fill in Hostboot runtime data if there is a PAYLOAD if( !(TARGETING::is_no_load()) ) { + // API call to fix up the secureboot fields + l_err = RUNTIME::populate_hbSecurebootData(); + if ( l_err ) + { + TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, + "Failed hbSecurebotData setup" ); + break; + } + // Fill in Hostboot runtime data for all nodes // (adjunct partition) // Write the HB runtime data into mainstore |