diff options
| author | Thomas Huth | 2021-10-06 09:11:40 +0200 |
|---|---|---|
| committer | David Gibson | 2021-10-21 02:42:47 +0200 |
| commit | 5ae3d2e8ba37def4b3ca38f220200bf5721317e0 (patch) | |
| tree | fc79222a450a2c1b40e091f6a8a7cf8101d4d530 /linux-user/ppc | |
| parent | spapr/xive: Use xive_esb_rw() to trigger interrupts (diff) | |
| download | qemu-5ae3d2e8ba37def4b3ca38f220200bf5721317e0.tar.gz qemu-5ae3d2e8ba37def4b3ca38f220200bf5721317e0.tar.xz qemu-5ae3d2e8ba37def4b3ca38f220200bf5721317e0.zip | |
hw/ppc: Fix iothread locking in the 405 code
When using u-boot as firmware with the taihu board, QEMU aborts with
this assertion:
ERROR:../accel/tcg/tcg-accel-ops.c:79:tcg_handle_interrupt: assertion failed:
(qemu_mutex_iothread_locked())
Running QEMU with "-d in_asm" shows that the crash happens when writing
to SPR 0x3f2, so we are missing to lock the iothread in the code path
here.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20211006071140.565952-1-thuth@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Tested-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'linux-user/ppc')
0 files changed, 0 insertions, 0 deletions
