linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 00/18] Allow local timers to be registered at runtime
@ 2011-06-03 14:57 Marc Zyngier
  2011-06-03 14:57 ` [PATCH v1 01/18] ARM: Move local timer support out of smp.c Marc Zyngier
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: Marc Zyngier @ 2011-06-03 14:57 UTC (permalink / raw)
  To: linux-arm-kernel

The current local timer implementation assumes that a kernel image
only contains a single local timer implementation by enforcing global
function names. This is one of the many problems to be solve for a
single kernel binary supporting multiple platforms.

This series (based on an earlier one for the A15 timers) implements a
registration interface for local timers, and converts existing ones to
this new interface. It also moves the local timer support out of
smp.c, as other local timer implementations may use local timers even
in UP configurations (A15 being such an exemple).

Patches based on v3.0-rc1 + my previously sent "Consolidating GIC
per-cpu interrupts" series (though the changes are largely
orthogonal). Tested on PB-11MP, Pandaboard, SMDK-V310 and Versatile
Express.

Marc Zyngier (18):
  ARM: Move local timer support out of smp.c
  ARM: local timers: Add runtime registration interface
  ARM: omap2: remove stubbed twd_timer_setup call
  ARM: exynos4: remove stubbed twd_timer_setup call
  ARM: shmobile: remove stubbed twd_timer_setup call
  ARM: tegra: remove stubbed twd_timer_setup call
  ARM: ux500: remove stubbed twd_timer_setup call
  ARM: versatile: remove stubbed twd_timer_setup call
  ARM: remove unused twd_timer_setup stub
  ARM: versatile/vexpress: dynamically register local timer setup
    function
  ARM: msm: dynamically register local timer setup function
  ARM: omap4: dynamically register local timer setup function
  ARM: exynos4: dynamically register local timer setup function
  ARM: shmobile: dynamically register local timer setup function
  ARM: tegra: dynamically register local timer setup function
  ARM: ux500: dynamically register local timer setup function
  ARM: simplify percpu_timer_setup
  ARM: simplify percpu_timer_ack

 arch/arm/Kconfig                                  |    6 +-
 arch/arm/include/asm/localtimer.h                 |   50 +++++---
 arch/arm/include/asm/smp.h                        |    4 +
 arch/arm/include/asm/smp_twd.h                    |   14 ++-
 arch/arm/kernel/Makefile                          |    1 +
 arch/arm/kernel/percpu_timer.c                    |  126 +++++++++++++++++++++
 arch/arm/kernel/smp.c                             |   74 +------------
 arch/arm/kernel/smp_twd.c                         |   21 +++-
 arch/arm/mach-exynos4/Makefile                    |    1 -
 arch/arm/mach-exynos4/localtimer.c                |   27 -----
 arch/arm/mach-exynos4/mct.c                       |   17 +++-
 arch/arm/mach-exynos4/time.c                      |   12 ++
 arch/arm/mach-msm/timer.c                         |   27 +++--
 arch/arm/mach-omap2/Makefile                      |    1 -
 arch/arm/mach-omap2/timer-gp.c                    |   14 ++-
 arch/arm/mach-omap2/timer-mpu.c                   |   40 -------
 arch/arm/mach-realview/realview_eb.c              |    4 +-
 arch/arm/mach-realview/realview_pb11mp.c          |    4 +-
 arch/arm/mach-realview/realview_pbx.c             |    5 +-
 arch/arm/mach-shmobile/Makefile                   |    1 -
 arch/arm/mach-shmobile/localtimer.c               |   27 -----
 arch/arm/mach-shmobile/timer.c                    |   16 +++-
 arch/arm/mach-tegra/Makefile                      |    2 +-
 arch/arm/mach-tegra/localtimer.c                  |   27 -----
 arch/arm/mach-tegra/timer.c                       |   12 ++
 arch/arm/mach-ux500/Makefile                      |    1 -
 arch/arm/mach-ux500/cpu.c                         |   14 +++
 arch/arm/mach-ux500/localtimer.c                  |   30 -----
 arch/arm/mach-vexpress/v2m.c                      |    4 +
 arch/arm/plat-versatile/include/plat/localtimer.h |    6 +
 arch/arm/plat-versatile/localtimer.c              |   11 ++-
 31 files changed, 325 insertions(+), 274 deletions(-)
 create mode 100644 arch/arm/kernel/percpu_timer.c
 delete mode 100644 arch/arm/mach-exynos4/localtimer.c
 delete mode 100644 arch/arm/mach-omap2/timer-mpu.c
 delete mode 100644 arch/arm/mach-shmobile/localtimer.c
 delete mode 100644 arch/arm/mach-tegra/localtimer.c
 delete mode 100644 arch/arm/mach-ux500/localtimer.c
 create mode 100644 arch/arm/plat-versatile/include/plat/localtimer.h

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2011-06-03 14:57 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-03 14:57 [PATCH v1 00/18] Allow local timers to be registered at runtime Marc Zyngier
2011-06-03 14:57 ` [PATCH v1 01/18] ARM: Move local timer support out of smp.c Marc Zyngier
2011-06-03 14:57 ` [PATCH v1 02/18] ARM: local timers: Add runtime registration interface Marc Zyngier
2011-06-03 14:57 ` [PATCH v1 03/18] ARM: omap2: remove stubbed twd_timer_setup call Marc Zyngier
2011-06-03 14:57 ` [PATCH v1 04/18] ARM: exynos4: " Marc Zyngier
2011-06-03 14:57 ` [PATCH v1 05/18] ARM: shmobile: " Marc Zyngier
2011-06-03 14:57 ` [PATCH v1 06/18] ARM: tegra: " Marc Zyngier
2011-06-03 14:57 ` [PATCH v1 07/18] ARM: ux500: " Marc Zyngier
2011-06-03 14:57 ` [PATCH v1 08/18] ARM: versatile: " Marc Zyngier
2011-06-03 14:57 ` [PATCH v1 09/18] ARM: remove unused twd_timer_setup stub Marc Zyngier
2011-06-03 14:57 ` [PATCH v1 10/18] ARM: versatile/vexpress: dynamically register local timer setup function Marc Zyngier
2011-06-03 14:57 ` [PATCH v1 11/18] ARM: msm: dynamically register local timer Marc Zyngier
2011-06-03 14:57 ` [PATCH v1 12/18] ARM: omap4: dynamically register local timer setup function Marc Zyngier
2011-06-03 14:57 ` [PATCH v1 13/18] ARM: exynos4: " Marc Zyngier
2011-06-03 14:57 ` [PATCH v1 14/18] ARM: shmobile: " Marc Zyngier
2011-06-03 14:57 ` [PATCH v1 15/18] ARM: tegra: " Marc Zyngier
2011-06-03 14:57 ` [PATCH v1 16/18] ARM: ux500: " Marc Zyngier
2011-06-03 14:57 ` [PATCH v1 17/18] ARM: simplify percpu_timer_setup Marc Zyngier
2011-06-03 14:57 ` [PATCH v1 18/18] ARM: simplify percpu_timer_ack Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).