Re: [Qemu-devel] [PATCH 34/35] exec: push BQL down to cpu->do_interrupt

2018-09-19 Thread Cornelia Huck
On Mon, 17 Sep 2018 12:31:02 -0400 "Emilio G. Cota" wrote: > From: Paolo Bonzini > > 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 t

Re: [Qemu-devel] [PATCH 34/35] exec: push BQL down to cpu->do_interrupt

2018-09-18 Thread David Hildenbrand
Am 17.09.18 um 18:31 schrieb Emilio G. Cota: > From: Paolo Bonzini > > 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

Re: [Qemu-devel] [PATCH 34/35] exec: push BQL down to cpu->do_interrupt

2018-09-17 Thread David Gibson
On Mon, Sep 17, 2018 at 12:31:02PM -0400, Emilio G. Cota wrote: > From: Paolo Bonzini > > 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 check

[Qemu-devel] [PATCH 34/35] exec: push BQL down to cpu->do_interrupt

2018-09-17 Thread Emilio G. Cota
From: Paolo Bonzini 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 Mar