Received: from eggs.gnu.org ([2001:4830:134:3::10]:43461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4sL8-0000WF-Sq for qemu-devel@nongnu.org; Thu, 10 Nov 2016 11:36:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4sL5-00067J-Qb for qemu-devel@nongnu.org; Thu, 10 Nov 2016 11:36:38 -0500 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:34900) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c4sL5-00066r-K8 for qemu-devel@nongnu.org; Thu, 10 Nov 2016 11:36:35 -0500 Received: by mail-wm0-x242.google.com with SMTP id a20so4217290wme.2 for ; Thu, 10 Nov 2016 08:36:35 -0800 (PST) Sender: Richard Henderson References: <20161109145748.27282-1-alex.bennee@linaro.org> <20161109145748.27282-10-alex.bennee@linaro.org> From: Richard Henderson Message-ID: <7639e23c-e62a-ff92-7c45-3ecd01dee634@twiddle.net> Date: Thu, 10 Nov 2016 17:36:29 +0100 MIME-Version: 1.0 In-Reply-To: <20161109145748.27282-10-alex.bennee@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v6 09/19] tcg: handle EXCP_ATOMIC exception for system emulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Alex_Benn=c3=a9e?= , pbonzini@redhat.com Cc: qemu-devel@nongnu.org, mttcg@greensocs.com, fred.konrad@greensocs.com, a.rigo@virtualopensystems.com, cota@braap.org, bobby.prani@gmail.com, nikunj@linux.vnet.ibm.com, mark.burton@greensocs.com, jan.kiszka@siemens.com, serge.fdrv@gmail.com, peter.maydell@linaro.org, claudio.fontana@huawei.com, Peter Crosthwaite On 11/09/2016 03:57 PM, Alex Bennée wrote: > From: Pranith Kumar > > The patch enables handling atomic code in the guest. This should be > preferably done in cpu_handle_exception(), but the current assumptions > regarding when we can execute atomic sections cause a deadlock. > > Signed-off-by: Pranith Kumar > [AJB: tweak title] > Signed-off-by: Alex Bennée > --- > cpus.c | 9 +++++++++ > 1 file changed, 9 insertions(+) Reviewed-by: Richard Henderson r~