| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | plat_timer_setup, mips_timer_ack, etc. |
| From: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
| Date: | Wed, 17 Oct 2007 00:52:11 +0900 (JST) |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [MIPS] Fix aliasing bug in copy_user_highpage, take 2., Ralf Baechle |
|---|---|
| Next by Date: | Re: [MIPS] Fix aliasing bug in copy_user_highpage, take 2., Atsushi Nemoto |
| Previous by Thread: | how to use TLB to prevent Linux accessing a particular memory region, veerasena reddy |
| Next by Thread: | Re: plat_timer_setup, mips_timer_ack, etc., Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |