From mboxrd@z Thu Jan 1 00:00:00 1970 From: linus.walleij@linaro.org (Linus Walleij) Date: Fri, 13 May 2011 12:59:20 +0200 Subject: [PATCH] ARM: twd: Adjust localtimer frequency withcpufreqnotifiers 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> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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