Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756940Ab1ETVu5 (ORCPT ); Fri, 20 May 2011 17:50:57 -0400 Received: from mail-qw0-f46.google.com ([209.85.216.46]:37027 "EHLO mail-qw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754909Ab1ETVur convert rfc822-to-8bit (ORCPT ); Fri, 20 May 2011 17:50:47 -0400 MIME-Version: 1.0 In-Reply-To: <1305851091-10096-1-git-send-email-ccross@android.com> References: <1305851091-10096-1-git-send-email-ccross@android.com> Date: Fri, 20 May 2011 23:50:45 +0200 Message-ID: Subject: Re: [PATCH v2] ARM: smp_twd: Reconfigure clockevents after cpufreq change From: Linus Walleij To: Thomas Gleixner , Colin Cross Cc: linux-arm-kernel@lists.infradead.org, Russell King , Santosh Shilimkar , Rob Herring , linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1203 Lines: 31 On Fri, May 20, 2011 at 2:24 AM, Colin Cross wrote: > The localtimer's clock changes with the cpu clock. ?After a > cpufreq transition, update the clockevent's frequency and > reprogram the next clock event. > > Adds a clock called "smp_twd" that is used to determine the > twd frequency, which can also be used at init time to > avoid calibrating the twd frequency. > > Clock changes are based on Rob Herring's work. > > Change-Id: I413b5cd07fb2b79bc9fad8b4bf257332d1da7bcd > Signed-off-by: Colin Cross > Cc: Thomas Gleixner > Cc: Russell King > Cc: Santosh Shilimkar > Cc: Rob Herring > Tested-by: Linus Walleij OK Thomas can you take this in through the clock/timer branch? Works fine for me and Colin and solves many problems apart from making the code look neat. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/