summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2014-03-26 17:06:32 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-04-03 20:28:20 -0500
commit8c7a27be94470541d184cfec495b6cfe63953733 (patch)
tree143c2fde82d3d5fc10396b8b14f8c5e503c93c14 /src/lib
parent9d4827735558fe03ee021afb7dacfa6ac76719bb (diff)
downloadtalos-hostboot-8c7a27be94470541d184cfec495b6cfe63953733.tar.gz
talos-hostboot-8c7a27be94470541d184cfec495b6cfe63953733.zip
Use per-core mutex for XSCOM for P8 errata.
See HW822317. The HMER register in P8 is not implemented to handle multi-threaded XSCOM properly, so we need to move the XSCOM mutex from per-thread to per-core. Also, there is an issue where the 'done' bit can come on 1 cycle before the error indicators, so need to potentially read the HMER a second time. Change-Id: I495031a6e425fe7d5c6ffef8dda1e7a71caac9f2 CQ: SW250902 Backport: release-fips810 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9929 Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/syscall_mmio.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/syscall_mmio.C b/src/lib/syscall_mmio.C
index 7d593c27e..23dea45f8 100644
--- a/src/lib/syscall_mmio.C
+++ b/src/lib/syscall_mmio.C
@@ -5,7 +5,7 @@
/* */
/* IBM CONFIDENTIAL */
/* */
-/* COPYRIGHT International Business Machines Corp. 2010,2013 */
+/* COPYRIGHT International Business Machines Corp. 2010,2014 */
/* */
/* p1 */
/* */
@@ -94,5 +94,5 @@ mutex_t * mmio_xscom_mutex()
crit_assert(task->affinity_pinned);
// Return mutex from cpu structure.
- return &task->cpu->xscom_mutex;
+ return task->cpu->xscom_mutex;
}
OpenPOWER on IntegriCloud