Linux MIPS Architecture development
 help / color / mirror / Atom feed
* plat_timer_setup, mips_timer_ack, etc.
@ 2007-10-16 15:52 Atsushi Nemoto
  2007-10-16 16:36 ` Ralf Baechle
  0 siblings, 1 reply; 7+ messages in thread
From: Atsushi Nemoto @ 2007-10-16 15:52 UTC (permalink / raw)
  To: linux-mips

With recent clockevent conversion, for typical r4k counter timer,
setup_irq() for the timer interrupt is called three times.

1. from time_init()  (#ifdef CONFIG_IRQ_CPU block)
2. from plat_timer_setup()  (arch/tx4927/common/tx4927_setup.c, for example)
3. from mips_clockevent_init()

Which one should remain?

Also I found mips_timer_ack and cycles_per_jiffy are not used now.
Can we remove them entirely?

Furthermore, I wonder how to disable mips_clockevent_device even if
the CPU has r4k counter.  For example, pnx8550 has the r4k counter but
needs special mips_timer_ack and clocksource_mips.read routine.  I
suppose current time code is broken for such platforms.

Any suggestions?
---
Atsushi Nemoto

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

end of thread, other threads:[~2007-10-17 17:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-16 15:52 plat_timer_setup, mips_timer_ack, etc Atsushi Nemoto
2007-10-16 16:36 ` Ralf Baechle
2007-10-16 17:01   ` Atsushi Nemoto
2007-10-17 16:28     ` Ralf Baechle
2007-10-17 16:34       ` Sergei Shtylyov
2007-10-17 16:58         ` Ralf Baechle
2007-10-17 17:40         ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox