mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/5] arm: mvebu: add support for local timer for Armada 370/XP
@ 2013-01-25 17:32 Gregory CLEMENT
  2013-01-25 17:32 ` [PATCH v2 1/5] arm: mvebu: Add support for local interrupt Gregory CLEMENT
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Gregory CLEMENT @ 2013-01-25 17:32 UTC (permalink / raw)
  To: Jason Cooper, Andrew Lunn, Gregory Clement, Grant Likely,
	Rob Herring, John Stultz, Thomas Gleixner, Russell King
  Cc: Thomas Petazzoni, linux-arm-kernel, devicetree-discuss,
	linux-kernel, Arnd Bergmann, Olof Johansson, Nicolas Pitre,
	Lior Amsalem, Maen Suleiman, Tawfik Bayouk, Shadi Ammouri,
	Eran Ben-Avi, Yehuda Yitschak, Nadav Haklai, Ike Pan,
	Jani Monoses, Chris Van Hoof, Dan Frazier, Leif Lindholm,
	Jon Masters, David Marlin, Sebastian Hesselbarth

Hello,

The Armada XP SoCs comes with private timers. This allows us to use
local timers through CONFIG_LOCAL_TIMERS and as stated in the kconfig
help, it prevents a "thundering herd" at every timer tick.

Armada 370 also have these private timers, and even if it comes only
with a single CPU, the feature is also enabled for this SoC to keep
the code generic.

In order to be able to use the local timer, I also had to add the
support for the per-CPU interrupts.

There are not many changes since the first version (see the changelog
below), I hope it means that everybody is happy with this patch
set. If it is, so please could you give your acked-by. I especially
expect the acked-by from John Stultz then I will feel more comfortable
to ask Jason to pull it.

This patch set is based on 3.8-rc4 and is obviously 3.9 material. The
git branch called local_timer is available at:
https://github.com/MISL-EBU-System-SW/mainline-public.git.

Thanks,

Changelog:
V1->V2:
 - Fixed unneeded empty line and wrong indentation.
 - Made percpu_armada_370_xp_evt a static variable
 - Removed the patch "arm: kconfig: don't select TWD with local timer
   for Armada 370/XP" from the series. There is still some improvement
   possible in this area, but this patch set not depends on it.

Gregory CLEMENT (5):
  arm: mvebu: Add support for local interrupt
  clocksource: time-armada-370-xp: add local timer support
  arm: mvebu: update defconfig with local timer support
  arm: mvebu: update DT to support local timers
  clocksource: update and move armada-370-xp-timer documentation to
    timer directory

 .../bindings/arm/armada-370-xp-timer.txt           |   12 --
 .../bindings/timer/marvell,armada-370-xp-timer.txt |   15 ++
 arch/arm/boot/dts/armada-370-xp.dtsi               |    5 +-
 arch/arm/configs/mvebu_defconfig                   |    1 -
 arch/arm/mach-mvebu/irq-armada-370-xp.c            |   15 +-
 drivers/clocksource/time-armada-370-xp.c           |  150 +++++++++++++++-----
 6 files changed, 141 insertions(+), 57 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/armada-370-xp-timer.txt
 create mode 100644 Documentation/devicetree/bindings/timer/marvell,armada-370-xp-timer.txt

-- 
1.7.9.5


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

end of thread, other threads:[~2013-01-30 19:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-25 17:32 [PATCH v2 0/5] arm: mvebu: add support for local timer for Armada 370/XP Gregory CLEMENT
2013-01-25 17:32 ` [PATCH v2 1/5] arm: mvebu: Add support for local interrupt Gregory CLEMENT
2013-01-25 17:32 ` [PATCH v2 2/5] clocksource: time-armada-370-xp: add local timer support Gregory CLEMENT
2013-01-25 17:32 ` [PATCH v2 3/5] arm: mvebu: update defconfig with " Gregory CLEMENT
2013-01-25 17:32 ` [PATCH v2 4/5] arm: mvebu: update DT to support local timers Gregory CLEMENT
2013-01-25 17:32 ` [PATCH v2 5/5] clocksource: update and move armada-370-xp-timer documentation to timer directory Gregory CLEMENT
2013-01-30 19:52 ` [PATCH v2 0/5] arm: mvebu: add support for local timer for Armada 370/XP Jason Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®