Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758813Ab1EMK7X (ORCPT ); Fri, 13 May 2011 06:59:23 -0400 Received: from mail-iy0-f174.google.com ([209.85.210.174]:36225 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754030Ab1EMK7V (ORCPT ); Fri, 13 May 2011 06:59:21 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=Y+PVyVGMvxKCVV5Ss29tJQ0JCRWotfG4x5vH6GqyMq73OOyK89/IPSifc21hmxL9Zx +Ax/+SzqWdhj8mKPdFsWWtBgCKbPe+oX5TV986+jsgmtyMPNc0wJVNssNmuMoyXk9p2D 3UOZGRUtDr6NahCkArHMFy7vVOjmJ3xzKHDFE= 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 12:59:20 +0200 X-Google-Sender-Auth: N6_knX7dE1MPezXlIzmmn8EYj7I Message-ID: Subject: Re: [PATCH] ARM: twd: Adjust localtimer frequency withcpufreqnotifiers From: Linus Walleij To: Thomas Gleixner , Colin Cross Cc: 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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 851 Lines: 22 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? 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/