diff options
author | Mike Baiocchi <mbaiocch@us.ibm.com> | 2017-07-07 12:06:09 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-07-19 13:50:21 -0400 |
commit | 3eabaf7eb4a10ab8b3860de26860258af48d00aa (patch) | |
tree | 7438b26c573b64cbfc9dd19153d78477800f0891 /src/usr/isteps/istep21 | |
parent | c0f528fbaf2532d8cfaf51165fe4f7055a11f24a (diff) | |
download | talos-hostboot-3eabaf7eb4a10ab8b3860de26860258af48d00aa.tar.gz talos-hostboot-3eabaf7eb4a10ab8b3860de26860258af48d00aa.zip |
Secureboot: Add IPL calls to Open/Close Memory Regions via SBE
This commit adds the open/close SBE memory region calls
throughout the IPL, as needed. The underlying SBE calls are still
commented out, however, as we await SBE support.
Change-Id: I87685dca95e5cb7d10997eb6eb414a1927862d64
RTC:145686
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42873
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Stephen M. Cprek <smcprek@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: Marshall J. Wilks <mjwilks@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/isteps/istep21')
-rw-r--r-- | src/usr/isteps/istep21/call_host_runtime_setup.C | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/usr/isteps/istep21/call_host_runtime_setup.C b/src/usr/isteps/istep21/call_host_runtime_setup.C index bfc931224..774d1ac3f 100644 --- a/src/usr/isteps/istep21/call_host_runtime_setup.C +++ b/src/usr/isteps/istep21/call_host_runtime_setup.C @@ -126,6 +126,15 @@ void* call_host_runtime_setup (void *io_pArgs) "Successfully sent all system configs to procs via SBE chip op !!"); } + // Tell SBE to Close All Unsecure Memory Regions + l_err = SBEIO::closeAllUnsecureMemRegions(); + if ( l_err ) + { + TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, + "SBEIO::closeAllUnsecureMemRegions Failed" ); + // break from do loop if error occured + break; + } // Need to load up the runtime module if it isn't already loaded |