]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ARM: SMP: Always enable clock event broadcast support
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 26 Jul 2010 12:19:43 +0000 (13:19 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 27 Jul 2010 09:48:42 +0000 (10:48 +0100)
commit5388a6b266e9c3357353332ba0cd5549082887f1
tree9d035a01bb75fa466e70cd9590eb963a30f3d53d
parent9ca03a21e320a6bf44559323527aba704bcc8772
ARM: SMP: Always enable clock event broadcast support

The TWD local timers are unable to wake up the CPU when it is placed
into a low power mode, eg. C3.  Therefore, we need to adapt things
such that the TWD code can cope with this.

We do this by always providing a broadcast tick function, and marking
the fact that the TWD local timer will stop in low power modes.  This
means that when the CPU is placed into a low power mode, the core
timer code marks this fact, and allows an IPI to be given to the core.

Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
arch/arm/Kconfig
arch/arm/kernel/smp.c
arch/arm/kernel/smp_twd.c