From mboxrd@z Thu Jan 1 00:00:00 1970 From: gerg@snapgear.com (Greg Ungerer) Date: Sun, 2 Sep 2012 21:46:27 +1000 Subject: [PATCH v2] ARM: ks8695: convert to generic time and clocksource In-Reply-To: References: <1346456995-21572-1-git-send-email-linus.walleij@linaro.org> Message-ID: <50434713.8090604@snapgear.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 09/01/2012 10:14 AM, Linus Walleij wrote: > On Sat, Sep 1, 2012 at 1:49 AM, Linus Walleij wrote: >> Old platforms using ancient gettimeoffset() and other arcane >> APIs are standing in the way of cleaning up the ARM kernel. >> >> This is an attempt at blind-coding a generic time and clocksource >> driver for the platform by way of a datasheet and looking at the >> old code, it'd be great if someone who is actually using this >> machine could test it. >> >> If noone volunteers to do this I will instead propose a patch >> deleting the machine altogether. >> >> Signed-off-by: Linus Walleij >> --- >> ChangeLog v1->v2: >> - Corrected the mask when setting clockevents from & TMCON_T1EN >> to & ~TMCON_T1EN so it doesn't shut down the clock source. > > BTW: Greg if this would happen to work - could you try to enable > CONFIG_TICK_ONESHOT and CONFIG_NO_HZ as well to see > if we can work fine in oneshot mode as well? Will do. Let you know how it goes. Regards Greg -- ------------------------------------------------------------------------ Greg Ungerer -- Principal Engineer EMAIL: gerg at snapgear.com SnapGear Group, McAfee PHONE: +61 7 3435 2888 8 Gardner Close, FAX: +61 7 3891 3630 Milton, QLD, 4064, Australia WEB: http://www.SnapGear.com