[PATCH] ARM: S5PV310: Implement kernel timers using MCT

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Dec 23 07:22:35 EST 2010


On Thu, Dec 23, 2010 at 07:29:48PM +0900, Kukjin Kim wrote:
> Russell King - ARM Linux wrote:
> > This looks like it's supporting SMP - is there some reason not to use
> > the localtimer support built into SMP, which also supports hotplug CPU
> > (the above doesn't because the local clockevents will be automatically
> > unregistered.)
> > 
> As I know, to use the localtimer support, it needs to support PPI.
> Unfortunately the MCT of S5PV310 supports SPI. For hotplug CPU, I'm looking
> for the methods to register clockevents again at CPU hotplug-in.

We can avoid that - nothing forces you to use the PPI interrupt.
Just register your interrupt handler in the normal way.

There's really no need to reinvent the wheel.



More information about the linux-arm-kernel mailing list