summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormbroyles <mbroyles@us.ibm.com>2018-05-24 15:36:00 -0500
committerMartha Broyles <mbroyles@us.ibm.com>2018-05-25 09:02:56 -0400
commitaa97e176b1be739697a3375ed471a6ddce9734e7 (patch)
tree19938e26c32f23d8298e882a7e7b8e567fae49f7
parent0cb9eeae2f09e714345ae05ce84515feba274cee (diff)
downloadtalos-occ-aa97e176b1be739697a3375ed471a6ddce9734e7.tar.gz
talos-occ-aa97e176b1be739697a3375ed471a6ddce9734e7.zip
Force update of OPAL-OCC memory after GPU presence detected
Change-Id: If69a1d46ad88d9a0cbcd18c7217d4cffc33413d3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59364 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
-rwxr-xr-xsrc/occ_405/amec/amec_sensors_power.c6
-rwxr-xr-xsrc/occ_405/occbuildname.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/occ_405/amec/amec_sensors_power.c b/src/occ_405/amec/amec_sensors_power.c
index bcd22c9..b9fd358 100755
--- a/src/occ_405/amec/amec_sensors_power.c
+++ b/src/occ_405/amec/amec_sensors_power.c
@@ -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)
{
diff --git a/src/occ_405/occbuildname.c b/src/occ_405/occbuildname.c
index 315eb55..cb9166f 100755
--- a/src/occ_405/occbuildname.c
+++ b/src/occ_405/occbuildname.c
@@ -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>*/ "op_occ_180510a\0" /*</BuildName>*/ ;
+volatile const char G_occ_buildname[16] __attribute__((section(".buildname"))) = /*<BuildName>*/ "op_occ_180525a\0" /*</BuildName>*/ ;
#endif
OpenPOWER on IntegriCloud