]> Git Repo - qemu.git/commit
target/ppc/excp_helper: Take BQL before calling cpu_interrupt()
authorThomas Huth <[email protected]>
Tue, 13 Jun 2017 10:55:29 +0000 (12:55 +0200)
committerDavid Gibson <[email protected]>
Fri, 30 Jun 2017 04:03:31 +0000 (14:03 +1000)
commitf1c29ebc51be77bd64178c8d9fc98a8f91a69d25
tree5855d3c575b66cdb7b6402fa10e8b28ae1e34cf6
parentd39c90f5f3ae23a6c8202eb6e1204ea84991e7f5
target/ppc/excp_helper: Take BQL before calling cpu_interrupt()

Since the introduction of MTTCG, using the msgsnd instruction
abort()s if being called without holding the BQL. So let's protect
that part of the code now with qemu_mutex_lock_iothread().

Buglink: https://bugs.launchpad.net/qemu/+bug/1694998
Signed-off-by: Thomas Huth <[email protected]>
Reviewed-by: Alex BennĂ©e <[email protected]>
Signed-off-by: David Gibson <[email protected]>
target/ppc/excp_helper.c
This page took 0.022537 seconds and 4 git commands to generate.