All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] XNARCH_TIMER_IRQ
@ 2013-01-02 17:43 Jan Kiszka
  2013-01-03 15:16 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 22+ messages in thread
From: Jan Kiszka @ 2013-01-02 17:43 UTC (permalink / raw)
  To: Xenomai

Hi,

this may involve some refactoring of the HAL and a bit of I-pipe, so I
better ask first:

Not sure when it changed, but XNARCH_TIMER_IRQ may no longer return the
same values when called on different CPUs. Therefore, It should rather
be called XNARCH_THIS_CPU_TIMER_IRQ now.

Looking at its users (an I-pipe debug warning pointed it out), there are
two that don't expect this: xnintr_query_next() and format_irq_proc().
The former actually wants XNARCH_TIMER_IRQ(cpu), the latter needs
something like is_timer_irq_on_any_cpus(irq).

So I would propose to refactor XNARCH_TIMER_IRQ and RTHAL_TIMER_IRQ
accordingly. But this unfortunately requires extensions of I-pipe to
provide something like __ipipe_hrtimer_irq(cpu) and
__ipipe_this_cpu_hrtimer_irq. And some ugly workaround in Xenomai for
older I-pipe versions.

Does this make sense?

Jan

-- 
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux


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

end of thread, other threads:[~2013-01-06 23:13 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-02 17:43 [Xenomai] XNARCH_TIMER_IRQ Jan Kiszka
2013-01-03 15:16 ` Gilles Chanteperdrix
2013-01-03 15:44   ` Jan Kiszka
2013-01-03 16:27     ` Philippe Gerum
2013-01-03 17:21       ` Gilles Chanteperdrix
2013-01-03 17:30         ` Philippe Gerum
2013-01-03 17:25       ` Jan Kiszka
2013-01-03 17:30         ` Gilles Chanteperdrix
2013-01-03 17:34         ` Philippe Gerum
2013-01-03 17:57           ` Jan Kiszka
2013-01-04 10:01             ` Philippe Gerum
2013-01-04 10:16               ` Jan Kiszka
2013-01-04 10:27                 ` Gilles Chanteperdrix
2013-01-04 10:32                 ` Philippe Gerum
2013-01-04 11:22                   ` Jan Kiszka
2013-01-04 11:33                     ` Philippe Gerum
2013-01-04 11:46                       ` Jan Kiszka
2013-01-04 12:54                         ` Philippe Gerum
2013-01-06 16:08                           ` Gilles Chanteperdrix
2013-01-06 23:02                             ` Jan Kiszka
2013-01-06 23:11                               ` Gilles Chanteperdrix
2013-01-06 23:13                                 ` Jan Kiszka

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.