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 F1D6DB6EEB for ; Thu, 22 Apr 2010 10:50:31 +1000 (EST) Subject: Re: Continual reading from the PowerPc time base register is not stable From: Benjamin Herrenschmidt To: Kim Phillips In-Reply-To: <20100421194419.3edf2c80.kim.phillips@freescale.com> References: <43c137a81003241941p84cba56y3e02e40cb22623e2@mail.gmail.com> <20100421194419.3edf2c80.kim.phillips@freescale.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 22 Apr 2010 10:50:16 +1000 Message-ID: <1271897416.2330.186.camel@pasglop> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, Csdncannon , zhouminggang@hotmail.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2010-04-21 at 19:44 -0500, Kim Phillips wrote: > I took an 8377 rdb board, and let it run timebase.c (with the isync & > long long casts) all weekend, and have failed to reproduce the issue. > That was on linux 2.6.33, and I've got another machine running the > same > thing under 2.6.28 for the last couple of hours, still unable to > reproduce the issue. Do we need to add an isync to the vdso and kernel gettimeofday() ? Cheers, Ben.