summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/ifcompiler/initCompiler.C
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2012-07-06 15:14:21 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-07-09 13:49:14 -0500
commitb6c438bc018f7102568b7c80927e3f9d77eec40a (patch)
tree9d9fece1432701e049c4bf46e69382ad97aada4e /src/usr/hwpf/ifcompiler/initCompiler.C
parent434253f2763c99351a8c790f43704cca816ba442 (diff)
downloadblackbird-hostboot-b6c438bc018f7102568b7c80927e3f9d77eec40a.tar.gz
blackbird-hostboot-b6c438bc018f7102568b7c80927e3f9d77eec40a.zip
Deadlock in XSCOM
Previously the code was calling into targeting, to determine the XSCOM base address for the target, while holding the HW thread's XSCOM mutex. This can cause a deadlock where PNOR is unable to be accessed because some thread is accessing targeting content which is not paged in but is also holding the XSCOM mutex. Moved mutex claiming to after targeting address lookup. Change-Id: Ic5de75519159f8a1d7fa7fdcb94979d43c73ffad Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1329 Tested-by: Jenkins Server Reviewed-by: Melissa J. Connell <missyc@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/ifcompiler/initCompiler.C')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud