[Question] Local Timer based on SPI
Kukjin Kim
kgene.kim at samsung.com
Mon Nov 29 05:25:30 EST 2010
Russell King wrote:
>
> On Fri, Nov 26, 2010 at 11:01:31AM +0900, Kukjin Kim wrote:
> > Current ARM Local Timer code is based on PPI using.
> > If want to use SPI on local timer, what approach is right or better?
>
> SPI interrupts only go to one core at a time. You can't have local
> timer support off a targetted interrupt.
Hi Russell,
Thank you for your reply :-)
Yeah, it seems CONFIG_LOCAL_TIMER is just for PPI.
The purpose of my question is for the plan to use different SPIs to support
each CPU event timer. According to the help message of LOCAL_TIMER in
Kconfig, it seems better each CPU has a different event timer source clock
instead of using IPI broadcast method. Current ARM implementation registers
dummy_timers when CONFIG_LOCAL_TIMERS is not set so, I think need to set
CONFIG_LOCAL_TIMERS.
To support different SPIs for each CPU event timer, should I neglect the
dummy_timer?
Or is it not worth to implement?...
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim at samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
More information about the linux-arm-kernel
mailing list