linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Question: ARM: local timers: add num_possible_cpus() in local_timer_register()
@ 2013-01-14 13:33 Steve zhan
  2013-01-14 13:35 ` Russell King - ARM Linux
  2013-01-14 14:19 ` Marc Zyngier
  0 siblings, 2 replies; 5+ messages in thread
From: Steve zhan @ 2013-01-14 13:33 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Marc,

	Do you think we should add num_possible_cpus() in 
local_timer_register() function, When core number is 
> 1, then reutrn TRUE? Enable the local timer only if 
we have more than one CPU, if the current config is
SMP and setup_max_cpus >= 1, but if smp_init_cpus in 
platform code have set cpu possible value to One(that 
maybe read number from scu or other hardware), then 
percpu_timer_setup in smp_prepare_cpus have no chance
to be called.

	For local timer, because local_timer_register have
return 1, that will miss global timer register. 

	Could you pls check it?


Regards,
Steve.

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

end of thread, other threads:[~2013-01-14 15:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-14 13:33 Question: ARM: local timers: add num_possible_cpus() in local_timer_register() Steve zhan
2013-01-14 13:35 ` Russell King - ARM Linux
2013-01-14 14:19 ` Marc Zyngier
2013-01-14 14:31   ` steve.zhan
2013-01-14 15:21     ` Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).