diff options
| author | Corey Swenson <cswenson@us.ibm.com> | 2016-08-26 11:46:16 -0500 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-08-26 17:09:45 -0400 |
| commit | c18640be25f0fe65971fe6f95d482d0c8264b98f (patch) | |
| tree | 5d86a0bbfe9fd7443d59e82f584ec95f275a291f /src | |
| parent | 1229ab0f56947df23d99fe0abf7337d8f4a88143 (diff) | |
| download | blackbird-hostboot-c18640be25f0fe65971fe6f95d482d0c8264b98f.tar.gz blackbird-hostboot-c18640be25f0fe65971fe6f95d482d0c8264b98f.zip | |
Call p9_pm_init(RESET) in pm_load_complex
Change-Id: I879728a4e189164e59b03aeb0b4c419cc49bfa73
RTC:158902
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28849
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>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/usr/isteps/pm/runtime/rt_pm.C | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/usr/isteps/pm/runtime/rt_pm.C b/src/usr/isteps/pm/runtime/rt_pm.C index 5414a27c6..88a35c8f4 100644 --- a/src/usr/isteps/pm/runtime/rt_pm.C +++ b/src/usr/isteps/pm/runtime/rt_pm.C @@ -82,6 +82,7 @@ namespace RTPM uint32_t i_mode ) { // LOAD == i_mode + // - Call pm_reset first // - HBRT loads OCC lid, writes OCC config data, builds Pstate // Parameter Blocks, and loads Hcode reference image lid // RELOAD == i_mode @@ -120,6 +121,15 @@ namespace RTPM get_huid(proc_target)); } + err = HBPM::resetPMComplex(proc_target); + if( err ) + { + TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, + ERR_MRK"load_pm_complex: " + "reset PM complex failed!" ); + break; + } + void* occVirt = HBPM::convertHomerPhysToVirt(proc_target, i_homer_addr); if(NULL == occVirt) |

