Received: from eggs.gnu.org ([2001:4830:134:3::10]:47790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bp2pX-0004F0-5c for qemu-devel@nongnu.org; Tue, 27 Sep 2016 20:34:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bp2pS-0005wS-VC for qemu-devel@nongnu.org; Tue, 27 Sep 2016 20:34:34 -0400 Received: from mail-pa0-x229.google.com ([2607:f8b0:400e:c03::229]:36078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bp2pS-0005vt-OV for qemu-devel@nongnu.org; Tue, 27 Sep 2016 20:34:30 -0400 Received: by mail-pa0-x229.google.com with SMTP id qn7so10562725pac.3 for ; Tue, 27 Sep 2016 17:34:30 -0700 (PDT) Sender: Richard Henderson References: <87wpk8k3dn.fsf@linaro.org> <87eg677k2x.fsf@linaro.org> <5d48957b-780b-aa9c-7061-cba6808909b4@redhat.com> <20160927222935.GA21144@flamenco> <8737kkx6ju.fsf@linaro.org> From: Richard Henderson Message-ID: Date: Tue, 27 Sep 2016 17:34:27 -0700 MIME-Version: 1.0 In-Reply-To: <8737kkx6ju.fsf@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] Making cputlb.c operations safe for MTTCG List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Alex_Benn=c3=a9e?= Cc: "Emilio G. Cota" , Paolo Bonzini , MTTCG Devel , QEMU Developers , a.rigo@virtualopensystems.com, Sergey Fedorov , Frederic Konrad On 09/27/2016 04:32 PM, Alex Bennée wrote: > > Richard Henderson writes: > >> On 09/27/2016 03:29 PM, Emilio G. Cota wrote: >>> What's a quick-and-dirty way to disable the fast-path TLB lookups? >>> Alex: you told me the monitor has an option for this, but I can't >>> find it. I'm looking for something that'd go in tcg/i386 to simply >>> bypass the fast path. >> >> There is no easy way. If you need that, you'd have to significantly modify the >> tcg backend. > > Surely all the backends force the slow-path when any of TLB_FLAGS_MASK > are set. Unless adding an extra bit is going to run out of spare bits on > some backends? You could do that, yes. You also need to adjust softmmu_template.h to match. r~