From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi29d-0008QC-E5 for qemu-devel@nongnu.org; Thu, 08 Sep 2016 12:26:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bi29Y-0006tB-Eb for qemu-devel@nongnu.org; Thu, 08 Sep 2016 12:26:20 -0400 Received: from mail-yb0-x242.google.com ([2607:f8b0:4002:c09::242]:34466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi29Y-0006t7-AC for qemu-devel@nongnu.org; Thu, 08 Sep 2016 12:26:16 -0400 Received: by mail-yb0-x242.google.com with SMTP id g5so1148499yba.1 for ; Thu, 08 Sep 2016 09:26:16 -0700 (PDT) Sender: Richard Henderson References: <1467392693-22715-1-git-send-email-rth@twiddle.net> <1467392693-22715-8-git-send-email-rth@twiddle.net> <874m5qzszh.fsf@linaro.org> From: Richard Henderson Message-ID: <2c98330d-a16f-3f32-50c3-0421b3abd779@twiddle.net> Date: Thu, 8 Sep 2016 09:26:13 -0700 MIME-Version: 1.0 In-Reply-To: <874m5qzszh.fsf@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v2 07/27] tcg: Add EXCP_ATOMIC List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Alex_Benn=c3=a9e?= Cc: qemu-devel@nongnu.org, cota@braap.org, pbonzini@redhat.com, peter.maydell@linaro.org, serge.fdrv@gmail.com On 09/08/2016 01:38 AM, Alex Bennée wrote: >> + } else if (r == EXCP_ATOMIC) { >> > + /* ??? When we begin running cpus in parallel, we should >> > + stop all cpus, clear parallel_cpus, and interpret a >> > + single insn with cpu_exec_step. In the meantime, >> > + we should never get here. */ >> > + abort(); > Pranith has been hitting this abort in the latest merged tree with MTTCG > but I'm a little unclear how it got here. So is the plan the MTTCG > thread function should do a step_atomic a-la user mode but we'll never > get here in the single threaded case? > Yes, that's the plan. I guess I could have filled in that blank, but I see that I haven't even done that in the v3 patchset. r~