From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 32E382C009A for ; Thu, 4 Jul 2013 19:29:38 +1000 (EST) Message-ID: <1372930164.4122.95.camel@pasglop> Subject: Re: [PATCH] Emulate sync instruction variants From: Benjamin Herrenschmidt To: David Laight Date: Thu, 04 Jul 2013 19:29:24 +1000 In-Reply-To: References: <1372886807-12109-1-git-send-email-James.Yang@freescale.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: James.Yang@freescale.com, scottwood@freescale.com, linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2013-07-04 at 09:31 +0100, David Laight wrote: > Do you need to execute 'sync' here? > It is worth checking whether the trap entry/exit doesn't > do an implicit one for you. Not really. It does an implicit isync (more than one even) but not a sync. Cheers, Ben.