From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=59937 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMprT-00032m-Px for qemu-devel@nongnu.org; Thu, 10 Jun 2010 18:04:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMprQ-00005v-9p for qemu-devel@nongnu.org; Thu, 10 Jun 2010 18:04:29 -0400 Received: from mail-vw0-f45.google.com ([209.85.212.45]:50123) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMprQ-00005r-1H for qemu-devel@nongnu.org; Thu, 10 Jun 2010 18:04:28 -0400 Received: by vws12 with SMTP id 12so406651vws.4 for ; Thu, 10 Jun 2010 15:04:27 -0700 (PDT) Sender: Richard Henderson Message-ID: <4C116154.5090708@twiddle.net> Date: Thu, 10 Jun 2010 15:04:04 -0700 From: Richard Henderson MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 05/35] tcg-s390: Icache flush is a no-op. References: <1275678883-7082-1-git-send-email-rth@twiddle.net> <1275678883-7082-6-git-send-email-rth@twiddle.net> <20100609225509.GI3008@ohm.aurel32.net> In-Reply-To: <20100609225509.GI3008@ohm.aurel32.net> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: qemu-devel@nongnu.org, agraf@suse.de On 06/09/2010 03:55 PM, Aurelien Jarno wrote: > On Fri, Jun 04, 2010 at 12:14:13PM -0700, Richard Henderson wrote: >> Before gcc 4.2, __builtin___clear_cache doesn't exist, and >> afterward the gcc s390 backend implements it as nothing. > > Does it means that instruction and data caches are coherent on s390? Yes. Principles of Operation, 2.1 Main storage: # Main storage may include a faster-access buffer storage, sometimes called a cache. # Each CPU may have an associated cache. The effects, except on performance, of # the physical construction and the use of distinct storage media are not observable # by the program. This architecture pre-dates caches, I think. ;-) r~