summaryrefslogtreecommitdiffstats
path: root/src/occ_405/proc
diff options
context:
space:
mode:
authorDoug Gilbert <dgilbert@us.ibm.com>2017-11-06 11:34:31 -0600
committerWilliam A. Bryan <wilbryan@us.ibm.com>2017-11-10 14:14:08 -0500
commitccdfc6a407fd1face276a2b04e8fc3eed8868cbd (patch)
treead625ca7b4865e24fe07c408bef97bc9d9833593 /src/occ_405/proc
parent0e91ced92e0f0bd2551d925903258b7d78118956 (diff)
downloadtalos-occ-ccdfc6a407fd1face276a2b04e8fc3eed8868cbd.tar.gz
talos-occ-ccdfc6a407fd1face276a2b04e8fc3eed8868cbd.zip
OCC work-around for HW426350
Change-Id: Ica7272dc0fef3721b415fd5f72b1abf83397d341 CQ: SW407201 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49293 Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Diffstat (limited to 'src/occ_405/proc')
-rwxr-xr-xsrc/occ_405/proc/proc_data.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/occ_405/proc/proc_data.c b/src/occ_405/proc/proc_data.c
index e8e9eba..5cefc17 100755
--- a/src/occ_405/proc/proc_data.c
+++ b/src/occ_405/proc/proc_data.c
@@ -190,9 +190,17 @@ void task_core_data( task_t * i_task )
//responsible for clearing the bit later on.
G_updated_core_mask |= (CORE0_PRESENT_MASK >> (l_bulk_core_data_ptr->current_core));
- // Presumptively clear the empath error mask
- G_empath_error_core_mask &=
+ // set or clear the empath error mask
+ if(l_temp->empathValid)
+ {
+ G_empath_error_core_mask &=
~(CORE0_PRESENT_MASK >> (l_bulk_core_data_ptr->current_core));
+ }
+ else
+ {
+ G_empath_error_core_mask |=
+ (CORE0_PRESENT_MASK >> (l_bulk_core_data_ptr->current_core));
+ }
}
// If the core is not present, then we need to point to the empty G_core_data
OpenPOWER on IntegriCloud