qemu-e2k/target/ppc
Peter Maydell 235352ee6e hw/ppc: Take QEMU lock when calling ppc_dcr_read/write()
The ppc_dcr_read() and ppc_dcr_write() functions call into callbacks
in device code, so we need to hold the QEMU iothread lock while
calling them.  This is the case already for the callsites in
kvmppc_handle_dcr_read/write(), but we must also take the lock when
calling the helpers from TCG.

This fixes a bug where attempting to initialise the PPC405EP
SDRAM will cause an assertion when sdram_map_bcr() attempts
to remap memory regions.

Reported-by: Amit Lazar <abasarlaz@hotmail.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20200322192258.14039-1-peter.maydell@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2020-03-24 11:56:37 +11:00
..
translate target/ppc: Fix typo in comments 2020-02-21 09:15:04 +11:00
arch_dump.c
compat.c
cpu-models.c
cpu-models.h
cpu-param.h
cpu-qom.h x86 and machine queue for 5.0 soft freeze 2020-03-19 14:22:46 +00:00
cpu.c
cpu.h Testing and gdbstub updates: 2020-03-18 20:25:23 +00:00
dfp_helper.c
excp_helper.c target/ppc: allow ppc_cpu_do_system_reset to take an alternate vector 2020-03-17 17:00:22 +11:00
fpu_helper.c target/ppc: Fix typo in comments 2020-02-21 09:15:04 +11:00
gdbstub.c gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
helper_regs.h
helper.h target/ppc: Fix ISA v3.0 (POWER9) slbia implementation 2020-03-24 11:56:14 +11:00
int_helper.c
internal.h
kvm_ppc.h spapr,ppc: Simplify signature of kvmppc_rma_size() 2020-03-17 09:41:15 +11:00
kvm-stub.c
kvm.c spapr,ppc: Simplify signature of kvmppc_rma_size() 2020-03-17 09:41:15 +11:00
machine.c
Makefile.objs
mem_helper.c
mfrom_table_gen.c
mfrom_table.inc.c
misc_helper.c
mmu_helper.c
mmu-book3s-v3.c
mmu-book3s-v3.h
mmu-hash32.c
mmu-hash32.h
mmu-hash64.c target/ppc: Fix ISA v3.0 (POWER9) slbia implementation 2020-03-24 11:56:14 +11:00
mmu-hash64.h
mmu-radix64.c
mmu-radix64.h
monitor.c
timebase_helper.c hw/ppc: Take QEMU lock when calling ppc_dcr_read/write() 2020-03-24 11:56:37 +11:00
trace-events
translate_init.inc.c x86 and machine queue for 5.0 soft freeze 2020-03-19 14:22:46 +00:00
translate.c target/ppc: Fix ISA v3.0 (POWER9) slbia implementation 2020-03-24 11:56:14 +11:00
user_only_helper.c