Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753277Ab1CFMGk (ORCPT ); Sun, 6 Mar 2011 07:06:40 -0500 Received: from mail-qw0-f46.google.com ([209.85.216.46]:55487 "EHLO mail-qw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751930Ab1CFMGh (ORCPT ); Sun, 6 Mar 2011 07:06:37 -0500 MIME-Version: 1.0 In-Reply-To: References: <1290060899-9786-1-git-send-email-ccross@android.com> <4D70BE9D.4000507@stericsson.com> <4D714C17.7080102@gmail.com> Date: Sun, 6 Mar 2011 13:06:36 +0100 Message-ID: Subject: Re: [PATCH] ARM: twd: Adjust localtimer frequency with cpufreqnotifiers From: Linus Walleij To: Santosh Shilimkar Cc: Colin Cross , Rob Herring , Russell King , Srinidhi KASAGAR , Harald Gustafsson , Linus Walleij , linux-kernel@vger.kernel.org, Rickard ANDERSSON , Varun Swara , Catalin Marinas , martin persson , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1015 Lines: 31 On Sat, Mar 5, 2011 at 9:19 AM, Santosh Shilimkar wrote: > While doing this patch for OMAP I also found that > CPUFREQ notifiers does delays scaling timer frequency > and there is a tick deviation(3-4 ms) around 1st tick and > last tick around twd rescaling. Is this caused by ticks that have been programmed already (based on the previous frequency) when the scaling takes effect? (That's most likely I think.) The latter could be fixed by simply calling schedule() for each CPU connected in the same core as the TWD at the end of twd_update_cpu_frequency(), couldn't it? Colin what do you say? > Another issue was not able to select higher fixed twd rate > and found fix for the same. Can you send out the patch? 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/