All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Adeos-main] adeos_tune_timer()
  2004-06-04  9:01 [Adeos-main] adeos_tune_timer() Wolfgang Grandegger
@ 2004-06-03  9:15 ` Philippe Gerum
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2004-06-03  9:15 UTC (permalink / raw)
  To: Wolfgang Grandegger; +Cc: adeos-main

On Fri, 2004-06-04 at 11:01, Wolfgang Grandegger wrote:
> Hello,
> 
> the function adeos_tune_timer() allows to change the tick frequency of
> the hardware timer. I wonder if Linux is aware of this change? Doesn't
> it still believe that the timer interrupt comes at a rate of 100 Hz?
> 

No, Linux is not aware of that. It's the burden of the domain tuning the
timer to also intercept the timer interrupt and propagate one of them
down the pipeline at the proper pace (e.g. 1 from 10 if the domain sets
the timer for ticking at 10Khz, and Linux expects 1Khz), so that Linux
is not affected by the change. Of course, this only works if the timer
is tuned by a domain more prioritary than Linux, so such propagation can
occur; less prioritary domains should not have to grab the timer anyway.

IIRC, some example code in the tree illustrates this principle for the
timer IRQ.

> Wolfgang.
> 
> _______________________________________________
> Adeos-main mailing list
> Adeos-main@domain.hid
> https://mail.gna.org/listinfo/adeos-main
-- 

Philippe.



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

* [Adeos-main] adeos_tune_timer()
@ 2004-06-04  9:01 Wolfgang Grandegger
  2004-06-03  9:15 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Grandegger @ 2004-06-04  9:01 UTC (permalink / raw)
  To: adeos-main

Hello,

the function adeos_tune_timer() allows to change the tick frequency of
the hardware timer. I wonder if Linux is aware of this change? Doesn't
it still believe that the timer interrupt comes at a rate of 100 Hz?

Wolfgang.


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

end of thread, other threads:[~2004-06-04  9:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-04  9:01 [Adeos-main] adeos_tune_timer() Wolfgang Grandegger
2004-06-03  9:15 ` Philippe Gerum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.