From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDOkD-0002E2-8C for qemu-devel@nongnu.org; Fri, 19 Oct 2018 02:58:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gDOk9-0004JO-UY for qemu-devel@nongnu.org; Fri, 19 Oct 2018 02:58:49 -0400 References: <20181019010625.25294-1-cota@braap.org> <20181019010625.25294-49-cota@braap.org> From: Paolo Bonzini Message-ID: Date: Fri, 19 Oct 2018 08:58:31 +0200 MIME-Version: 1.0 In-Reply-To: <20181019010625.25294-49-cota@braap.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v3 48/56] ppc: acquire the BQL in cpu_has_work List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Emilio G. Cota" , qemu-devel@nongnu.org Cc: David Gibson , Alexander Graf , qemu-ppc@nongnu.org On 19/10/2018 03:06, Emilio G. Cota wrote: > Soon we will call cpu_has_work without the BQL. > > Cc: David Gibson > Cc: Alexander Graf > Cc: qemu-ppc@nongnu.org > Signed-off-by: Emilio G. Cota > --- > target/ppc/translate_init.inc.c | 77 +++++++++++++++++++++++++++++++-- > 1 file changed, 73 insertions(+), 4 deletions(-) > Perhaps we should instead define both ->cpu_has_work and ->cpu_has_work_with_iothread_lock members, and move the generic unlock/relock code to common code? Paolo