Received: from eggs.gnu.org ([2001:4830:134:3::10]:43691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bT6wB-00006F-7L for qemu-devel@nongnu.org; Fri, 29 Jul 2016 08:30:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bT6w9-0007Pu-AY for qemu-devel@nongnu.org; Fri, 29 Jul 2016 08:30:46 -0400 Sender: Richard Henderson References: <579ad8bd.8481620a.89e78.f1ce@mx.google.com> <1469774541.5978.265.camel@kernel.crashing.org> <1469775419.5978.275.camel@kernel.crashing.org> From: Richard Henderson Message-ID: <99675867-c4bb-06e0-723e-bd5119555c97@twiddle.net> Date: Fri, 29 Jul 2016 18:00:16 +0530 MIME-Version: 1.0 In-Reply-To: <1469775419.5978.275.camel@kernel.crashing.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 28/32] ppc: Avoid double translation for lvx/lvxl/stvx/stvxl List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Benjamin Herrenschmidt Cc: David Gibson , qemu-devel , qemu-ppc@nongnu.org On 07/29/2016 12:26 PM, Benjamin Herrenschmidt wrote: > So I can't do something like set TCG_CALL_NO_RWG (nor TCG_CALL_NO_WG) > on something like dcbz because it can take an exception, correct ? You can't set NO_RWG, but you can say NO_WG. It "reads" the registers via the exception (and it certainly has side effects). But it doesn't write to the registers (along the normal return path; a loophole I've used elsewhere). r~