Revision df04d1f16ae58a4eee0f64476667f2fd6c1d6d30 authored by Paolo Bonzini on 05 March 2018, 08:23:56 UTC, committed by Michael Roth on 21 June 2018, 01:44:59 UTC
address_space_write is calling address_space_to_flatview but it can
be called outside the RCU lock.  To fix it, push the rcu_read_lock/unlock
pair up from flatview_write to address_space_write.

Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 4c6ebbb364aa6f42c5d8e83e932e967eb83f0e44)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
1 parent ac25a32
History
File Mode Size
translate
Makefile.objs -rw-r--r-- 583 bytes
arch_dump.c -rw-r--r-- 8.0 KB
compat.c -rw-r--r-- 8.5 KB
cpu-models.c -rw-r--r-- 48.9 KB
cpu-models.h -rw-r--r-- 24.4 KB
cpu-qom.h -rw-r--r-- 8.5 KB
cpu.c -rw-r--r-- 1.6 KB
cpu.h -rw-r--r-- 104.8 KB
dfp_helper.c -rw-r--r-- 58.1 KB
excp_helper.c -rw-r--r-- 38.3 KB
fpu_helper.c -rw-r--r-- 144.0 KB
gdbstub.c -rw-r--r-- 8.2 KB
helper.h -rw-r--r-- 32.1 KB
helper_regs.h -rw-r--r-- 6.4 KB
int_helper.c -rw-r--r-- 109.3 KB
internal.h -rw-r--r-- 8.4 KB
kvm-stub.c -rw-r--r-- 441 bytes
kvm.c -rw-r--r-- 79.7 KB
kvm_ppc.h -rw-r--r-- 9.0 KB
machine.c -rw-r--r-- 20.4 KB
mem_helper.c -rw-r--r-- 14.1 KB
mfrom_table.c -rw-r--r-- 3.3 KB
mfrom_table_gen.c -rw-r--r-- 638 bytes
misc_helper.c -rw-r--r-- 6.0 KB
mmu-book3s-v3.c -rw-r--r-- 1.3 KB
mmu-book3s-v3.h -rw-r--r-- 1.5 KB
mmu-hash32.c -rw-r--r-- 16.3 KB
mmu-hash32.h -rw-r--r-- 3.4 KB
mmu-hash64.c -rw-r--r-- 32.1 KB
mmu-hash64.h -rw-r--r-- 5.3 KB
mmu-radix64.c -rw-r--r-- 10.0 KB
mmu-radix64.h -rw-r--r-- 2.7 KB
mmu_helper.c -rw-r--r-- 89.4 KB
monitor.c -rw-r--r-- 4.2 KB
timebase_helper.c -rw-r--r-- 4.8 KB
trace-events -rw-r--r-- 258 bytes
translate.c -rw-r--r-- 247.6 KB
translate_init.c -rw-r--r-- 375.3 KB
user_only_helper.c -rw-r--r-- 1.5 KB

back to top