]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ARM: Generic Dynamic Tick Timer support for ARM, take 4
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 25 Jun 2005 18:39:45 +0000 (19:39 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 25 Jun 2005 18:39:45 +0000 (19:39 +0100)
commitfdebb51b266623eb247679c14737b924a66ac2fc
tree6968809c357c1cf8167208f480f0e974bf9af955
parentc2f0f3e67acabe69fe8fb2a37b893a8f1598b4a3
[PATCH] ARM: Generic Dynamic Tick Timer support for ARM, take 4

This patch adds support for Dynamic Tick Timer for ARM. Dynamic Tick is
also known as VST (Variable Scheduling Timeouts).

Dynamic Tick has been in use in the OMAP tree since last October.  The
patch is not intrusive, and does not do anything unless CONFIG_NO_IDLE_HZ
is defined.  This patch has the following fixed based on comments from
RMK:
- Time is updated before calling interrupt handlers.
- Added new interrupt flag SA_TIMER to avoid duplicate timer interrupts
- Moved struct dyn_tick_timer to time.h until we at some point probably
  have an arch independent dyn-tick.h
- Cleaned up testing for DYN_TICK_ENABLED in irq.c

 I've cleaned up this patch to fix some remaining issues:
 - Call the timer tick handler with irqs disabled, as it would be from
   a normal interrupt
 - if we have a dyn_tick, we better implement all methods.
 - generic timer_dyn_reprogram() call, to be called before sleeping
 - added command line option - "dyntick=" to allow boot-time control
   of this feature
    -- rmk

Signed-off-by: Tony Lindgren
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig
arch/arm/kernel/irq.c
arch/arm/kernel/time.c
include/asm-arm/mach/time.h
include/asm-arm/signal.h