History log of /arch/arm/include/asm/smp_twd.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9248510469b46bc17b90cf62cb8d9e7c9a5f9965 11-Jan-2012 Marc Zyngier <marc.zyngier@arm.com> ARM: smp_twd: remove old local timer interface

Now that all users of the previous local timer interface
have been converted to the runtime registration API, make
this interface the only one supported for this driver.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
/arch/arm/include/asm/smp_twd.h
d8e0364364d333feb4564bb7d7d983182b34427e 10-Jan-2012 Marc Zyngier <marc.zyngier@arm.com> ARM: smp_twd: add device tree support

Add bindings to support DT discovery of the ARM Timer Watchdog
(aka TWD). Only the timer side is converted by this patch.

Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
/arch/arm/include/asm/smp_twd.h
81e46f7b6dcec485bcb1f988ba4dc5b20189573c 10-Jan-2012 Marc Zyngier <marc.zyngier@arm.com> ARM: smp_twd: add runtime registration support

Add support for the new registration interface to smp_twd.
Platforms can populate a struct twd_local_timer with MMIO
and IRQ resources, and then call twd_local_timer_register()
to have the timer registered with the core.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
/arch/arm/include/asm/smp_twd.h
abde710ca8776f851e41c3dfe78ad7dcafa26dc9 10-Jan-2012 Marc Zyngier <marc.zyngier@arm.com> ARM: smp_twd: make local_timer_stop a symbol instead of a #define

When CONFIG_HAVE_ARM_TWD is selected, local_timer_stop is a #define,
while all other local timers are using a real function.

Convert it to an alias of twd_timer_stop, as it helps converting
all local timers to another internal API in a sane way.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
/arch/arm/include/asm/smp_twd.h
28af690a284dfcb627bd69d0963db1c0f412cb8c 22-Jul-2011 Marc Zyngier <marc.zyngier@arm.com> ARM: gic, local timers: use the request_percpu_irq() interface

This patch remove the hardcoded link between local timers and PPIs,
and convert the PPI users (TWD, MCT and MSM timers) to the new
*_percpu_irq interface. Also some collateral cleanup
(local_timer_ack() is gone, and the interrupt handler is strictly
private to each driver).

PPIs are now useable for more than just the local timers.

Additional testing by David Brown (msm8250 and msm8660) and
Shawn Guo (imx6q).

Cc: David Brown <davidb@codeaurora.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Acked-by: David Brown <davidb@codeaurora.org>
Tested-by: David Brown <davidb@codeaurora.org>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
/arch/arm/include/asm/smp_twd.h
10034aabca9032246762daaca3152f3e79380ea0 20-Dec-2010 Russell King <rmk+kernel@arm.linux.org.uk> ARM: localtimer: clean up local timer on hot unplug

When a CPU is hot unplugged, the generic tick code cleans up the
clock event device, but fails to call down to the device's set_mode
function to actually shut the device down.

To work around this, we've historically had a local_timer_stop()
callback out of the hotplug code. However, this adds needless
complexity when we have the clock event device itself available.

Explicitly call the clock event device's set_mode function with
CLOCK_EVT_MODE_UNUSED, so that the hardware can be cleanly shutdown
without any special external callbacks. When/if the generic code
is fixed, percpu_timer_stop() can be killed off.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
/arch/arm/include/asm/smp_twd.h
f4a27aed48584b9e4699e9ee76288618a8574d77 12-May-2010 Srinidhi Kasagar <srinidhi.kasagar@stericsson.com> ARM: 6125/1: ARM TWD: move TWD registers to common header

This moves the TWD register set of MPcore to a common
existing file so that watchdog driver can access it

Signed-off-by: srinidhi kasagar <srinidhi.kasagar@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
/arch/arm/include/asm/smp_twd.h
f32f4ce25745209f16a5a6cef7442144b596c68a 16-May-2009 Russell King <rmk@dyn-67.arm.linux.org.uk> [ARM] smp: allow re-use of realview localtimer TWD support

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
/arch/arm/include/asm/smp_twd.h