On Mon, 17 Sep 2018 12:31:02 -0400 "Emilio G. Cota" <c...@braap.org> wrote:
> From: Paolo Bonzini <pbonz...@redhat.com> > > cpu->do_interrupt can now be called with BQL held (from > cpu->cpu_exec_interrupt) or without (from cpu_handle_exception). > > Only a few targets rely on global device state in cc->do_interrupt; > add checks to those targets to acquire the BQL if not already held. > > Cc: Aleksandar Markovic <amarko...@wavecomp.com> > Cc: Alexander Graf <ag...@suse.de> > Cc: Anthony Green <gr...@moxielogic.com> > Cc: Artyom Tarasenko <atar4q...@gmail.com> > Cc: Aurelien Jarno <aurel...@aurel32.net> > Cc: Christian Borntraeger <borntrae...@de.ibm.com> > Cc: Chris Wulff <crwu...@gmail.com> > Cc: Cornelia Huck <coh...@redhat.com> > Cc: David Gibson <da...@gibson.dropbear.id.au> > Cc: David Hildenbrand <da...@redhat.com> > Cc: "Edgar E. Iglesias" <edgar.igles...@gmail.com> > Cc: Eduardo Habkost <ehabk...@redhat.com> > Cc: Guan Xuetao <g...@mprc.pku.edu.cn> > Cc: James Hogan <jho...@kernel.org> > Cc: k...@vger.kernel.org > Cc: Laurent Vivier <laur...@vivier.eu> > Cc: Marcelo Tosatti <mtosa...@redhat.com> > Cc: Marek Vasut <ma...@denx.de> > Cc: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk> > Cc: Michael Walle <mich...@walle.cc> > Cc: Peter Crosthwaite <crosthwaite.pe...@gmail.com> > Cc: Peter Maydell <peter.mayd...@linaro.org> > Cc: qemu-...@nongnu.org > Cc: qemu-...@nongnu.org > Cc: qemu-s3...@nongnu.org > Cc: Richard Henderson <r...@twiddle.net> > Cc: Stafford Horne <sho...@gmail.com> > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > Signed-off-by: Emilio G. Cota <c...@braap.org> > --- > accel/tcg/cpu-exec.c | 2 -- > target/arm/helper.c | 28 ++++++++++++++++++++++++++-- > target/ppc/excp_helper.c | 8 +++++++- > target/s390x/excp_helper.c | 14 +++++++++++++- > target/sh4/helper.c | 14 +++++++++++++- > target/xtensa/helper.c | 16 ++++++++++++++-- > 6 files changed, 73 insertions(+), 9 deletions(-) s390x parts: Reviewed-by: Cornelia Huck <coh...@redhat.com>