From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755577Ab2K3BtZ (ORCPT ); Thu, 29 Nov 2012 20:49:25 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:55517 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755237Ab2K3BtX (ORCPT ); Thu, 29 Nov 2012 20:49:23 -0500 Date: Thu, 29 Nov 2012 17:49:20 -0800 From: Greg Kroah-Hartman To: Ben Hutchings Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, kernel-team@lists.ubuntu.com, Colin Cross , R Sricharan , Tony Lindgren , Herton Ronaldo Krzesinski Subject: Re: [PATCH 055/270] ARM: OMAP: counter: add locking to read_persistent_clock Message-ID: <20121130014920.GF13478@kroah.com> References: <1353949160-26803-1-git-send-email-herton.krzesinski@canonical.com> <1353949160-26803-56-git-send-email-herton.krzesinski@canonical.com> <1354028720.4266.55.camel@deadeye.wl.decadent.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1354028720.4266.55.camel@deadeye.wl.decadent.org.uk> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 27, 2012 at 03:05:20PM +0000, Ben Hutchings wrote: > On Mon, 2012-11-26 at 14:55 -0200, Herton Ronaldo Krzesinski wrote: > > 3.5.7u1 -stable review patch. If anyone has any objections, please let me know. > > > > ------------------ > > > > From: Colin Cross > > > > commit 9d7d6e363b06934221b81a859d509844c97380df upstream. > > > > read_persistent_clock uses a global variable, use a spinlock to > > ensure non-atomic updates to the variable don't overlap and cause > > time to move backwards. > > > > Signed-off-by: Colin Cross > > Signed-off-by: R Sricharan > > Signed-off-by: Tony Lindgren > > Signed-off-by: Herton Ronaldo Krzesinski > [...] > > This is also missing from 3.4. I'm attaching the adjusted version for > 3.2, which looks like it will work for 3.4. Thanks for the patch, now applied. greg k-h