Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756112Ab1EMVWU (ORCPT ); Fri, 13 May 2011 17:22:20 -0400 Received: from smtp-out.google.com ([74.125.121.67]:28257 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751978Ab1EMVWT (ORCPT ); Fri, 13 May 2011 17:22:19 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=JpFO0d4pT6w5M77i3JbMwH/AYCwGocfaBdkIMTP/lOvRQG1sYFstZfuv/W0ENyMfu5 1qJRcZ+P2rdAVE9Hu4AQ== 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> <7e9fafa016bfe536ccc373fc2cc7ba61@mail.gmail.com> Date: Fri, 13 May 2011 14:22:15 -0700 X-Google-Sender-Auth: -QQFGz7sSanz1AE1MFrKmkFGdEE Message-ID: Subject: Re: [PATCH] ARM: twd: Adjust localtimer frequency withcpufreqnotifiers From: Colin Cross To: Linus Walleij Cc: Thomas Gleixner , Santosh Shilimkar , Russell King , Srinidhi KASAGAR , Harald Gustafsson , linux-kernel@vger.kernel.org, Rickard ANDERSSON , martin persson , Varun Swara , Catalin Marinas , linux-arm-kernel@lists.infradead.org, =?ISO-8859-1?Q?Jonas_=C5berg?= Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1068 Lines: 23 On Fri, May 13, 2011 at 3:59 AM, Linus Walleij wrote: > 2011/5/13 Thomas Gleixner : > >> Does the following work for you ? > > This patch is interesting because it uses calc_mult_shift() and the current > localtimer driver for TWD (arch/arm/kernel/smp_twd.c) still uses hardcoded > mult+shift. > > So this patch in combination with TGLX add-on in the CPUfreq path would > eliminate the need of using the prescaler at all, which is a more appealing > solution to me for one, since it results in less code. > > Colin, do you think it will work? Or was there some specific reason to use > a dynamic prescaler instead of doing things like this? This sounds much better than the dynamic prescaler. Using the prescaler causes issues with accuracy and resolution that this avoids. -- 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/