Skip to content

Commit

Permalink
Force update of OPAL-OCC memory after GPU presence detected
Browse files Browse the repository at this point in the history
Change-Id: I320951ebcf38a2b0553631fde194ffda5594e2bb
CQ: SW437652
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/62234
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com>
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
  • Loading branch information
marthabroyles committed Jul 12, 2018
1 parent 016db56 commit 084756c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/occ_405/amec/amec_sensors_power.c
Original file line number Diff line number Diff line change
Expand Up @@ -894,6 +894,12 @@ void amec_update_gpu_configuration(void)
G_first_num_gpus_sys = l_num_gpus_sys;
TRAC_IMP("GPU presence detection completed. GPU configuration for this OCC: 0x%08X, total[%d]",
G_curr_proc_gpu_config, G_curr_num_gpus_sys);

// Only if running OPAL need to notify dcom thread to update GPU presence in HOMER for OPAL
if(G_sysConfigData.system_type.kvm)
{
ssx_semaphore_post(&G_dcomThreadWakeupSem);
}
}
else if (G_curr_sys_gpu_config != G_first_sys_gpu_config)
{
Expand Down
2 changes: 1 addition & 1 deletion src/occ_405/occbuildname.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ volatile const char G_occ_buildname[16] __attribute__((section(".buildname"))) =

#else

volatile const char G_occ_buildname[16] __attribute__((section(".buildname"))) = /*<BuildName>*/ "op920_180703a\0" /*</BuildName>*/ ;
volatile const char G_occ_buildname[16] __attribute__((section(".buildname"))) = /*<BuildName>*/ "op920_180711a\0" /*</BuildName>*/ ;

#endif

0 comments on commit 084756c

Please sign in to comment.