linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Override timer interrupt
@ 2007-10-12 20:43 Rune Torgersen
  2007-10-12 21:30 ` Mark A. Greer
  0 siblings, 1 reply; 12+ messages in thread
From: Rune Torgersen @ 2007-10-12 20:43 UTC (permalink / raw)
  To: linuxppc-embedded

Is there an easy way to use something other than the decrementer for the
timer interrupt?

Reason i'm asking is tha t on our board, the decrementer cannot be
divided to 1khz evenly, so we have rounding errors for time, but we do
have a 1KHz timer interrupt from an FPGA that is source of a T1 clock.

Right now I let the decrementer interrupt do nothing, and made my own
timer interrupt handler that calls the stuff the timer_interrupt usually
does.=20

This works, but there are some instability (ie unexplained hangs) that
showed up when I did this.

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Override timer interrupt
@ 2007-10-12 20:49 Rune Torgersen
  2007-10-12 21:32 ` Mark A. Greer
  0 siblings, 1 reply; 12+ messages in thread
From: Rune Torgersen @ 2007-10-12 20:49 UTC (permalink / raw)
  To: linuxppc-dev

Is there an easy way to use something other than the decrementer for the
timer interrupt?

Reason i'm asking is tha t on our board, the decrementer cannot be
divided to 1khz evenly, so we have rounding errors for time, but we do
have a 1KHz timer interrupt from an FPGA that is source of a T1 clock.

Right now I let the decrementer interrupt do nothing, and made my own
timer interrupt handler that calls the stuff the timer_interrupt usually
does.=20

This works, but there are some instability (ie unexplained hangs) that
showed up when I did this.

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

end of thread, other threads:[~2007-10-15 23:30 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-12 20:43 Override timer interrupt Rune Torgersen
2007-10-12 21:30 ` Mark A. Greer
2007-10-12 21:39   ` Rune Torgersen
2007-10-12 21:55     ` Mark A. Greer
2007-10-12 22:58     ` Benjamin Herrenschmidt
2007-10-15 16:49       ` Rune Torgersen
2007-10-15 20:55         ` Benjamin Herrenschmidt
2007-10-15 21:50           ` Rune Torgersen
2007-10-15 21:58             ` Benjamin Herrenschmidt
2007-10-15 23:30         ` Paul Mackerras
  -- strict thread matches above, loose matches on Subject: below --
2007-10-12 20:49 Rune Torgersen
2007-10-12 21:32 ` Mark A. Greer

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).