summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/CodeGen/JITCodeEmitter.cpp
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2014-05-26 01:37:43 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2014-05-26 01:37:43 +0000
commitbd6a1fd1cd63fd7502ab11fb5861ebc0c10c68ff (patch)
treec1a2f2fc1eb9efab2fef16ec267c64cc07f8556a /contrib/llvm/lib/CodeGen/JITCodeEmitter.cpp
parent3aa45ad912a5eee0585cd7dbb58a8882ee294314 (diff)
downloadFreeBSD-src-bd6a1fd1cd63fd7502ab11fb5861ebc0c10c68ff.zip
FreeBSD-src-bd6a1fd1cd63fd7502ab11fb5861ebc0c10c68ff.tar.gz
MFC r265900:
Repair some races in IPI handling: 1. Make sure IPI mask is set before sending the IPI 2. Operate atomically on PS3 PIC outstanding interrupt list 3. Make sure IPIs are EOI'ed before, not after, processing. Without this, a second IPI could be sent partway through processing the first one, get erroneously acknowledge by the EOI to the first, and be lost. In particular in the case of smp_rendezvous(), this can be fatal. In combination, this makes the PS3 boot SMP again. It probably also fixes some latent bugs elsewhere.
Diffstat (limited to 'contrib/llvm/lib/CodeGen/JITCodeEmitter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud