From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:37065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzbkt-0003CI-4f for qemu-devel@nongnu.org; Fri, 01 Mar 2019 01:34:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzbks-0007rl-CU for qemu-devel@nongnu.org; Fri, 01 Mar 2019 01:34:47 -0500 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]:42967) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzbks-0007p2-3Z for qemu-devel@nongnu.org; Fri, 01 Mar 2019 01:34:46 -0500 Received: by mail-pl1-x633.google.com with SMTP id v11so5569104plg.9 for ; Thu, 28 Feb 2019 22:34:45 -0800 (PST) References: <20190226113915.20150-1-david@redhat.com> <20190226113915.20150-15-david@redhat.com> <864f3ba7-3115-c6f8-e018-15425ca67a72@twiddle.net> From: Richard Henderson Message-ID: <9b2cdfae-54a7-72f7-7a2f-70f4d0ff996b@linaro.org> Date: Thu, 28 Feb 2019 22:34:41 -0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v1 14/33] s390x/tcg: Implement VECTOR LOAD MULTIPLE List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Hildenbrand , Richard Henderson , qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, Cornelia Huck , Thomas Huth On 2/28/19 11:05 AM, David Hildenbrand wrote: > So for writing from helpers, I can use probe_write(). What about testing > write access from TCG code? > > I could do a load, followed by a store of the loaded value. This should > work in most cases (but eventually could be observed by somebody really > wanting to observe it - which is highly unlikely). I would call a helper for probe_write. r~