All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Dmitry Adamushko <dmitry.adamushko@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [RFC] support for sharing IRQs
Date: Tue, 01 Nov 2005 12:40:47 +0100	[thread overview]
Message-ID: <4367543F.9050700@domain.hid> (raw)
In-Reply-To: <OF52EBEF44.18C1609B-ONC12570AB.004913D2-C12570AB.004F9693@domain.hid>

Dmitry Adamushko wrote:
> 
> Hi Jan,
> 
>  >
>  > I have some code hanging around here which implements IRQ sharing at
>  > skin level for an experimental in-house development over Xenomai. The
>  > code is smart enough to register an IRQ sharing trampoline handler only
>  > in case sharing is actually practiced for a specific line.
> 
> Could you be a bit more specific on what is meant by "...sharing is 
> actually practiced for a specific line"?
> 
> To my knowledge, the matter is only about whether a certain device 
> (driver) permits the earlier obtained irq line to be shared with other 
> devices.
> i.e. a driver [1] may succeed with an irq registration request in case 
> another driver [2] already holds this line but both [1] and [2] have 
> specified a SA_SHIRQ flag.
> 
> 
>  > I think it would be possible to break this out and generate a mainline
>  > patch. Anyway, the question for me is where to put this best, at skin
>  > (RTDM?) or at nucleus level? Both is technically feasible, but which way
>  > is desired? (I would vote for the nucleus...)
> 
> If we have a policy that all the drivers should be implemented on top of 
> RTDM, then, it can be done there. If no (and I guess so), this feature 
> should be common and I'd vote for the nucleus.

Actually, now that we have a decent driver model built in, I will enforce the 
rule that all Xenomai mainline drivers must be based on RTDM, because we do need 
such a common platform to prevent braindamage calling interfaces hysteria. This 
will be a good opportunity to see how flexible the thing is when confronted to 
the needs of various hw and semantics.

> It seems to me now, that some parts of the hal will be involved 
> (rthal_irq_request/release()) since the nucleus itself doesn't keep 
> track of registered irqs.
> 
> 
>  >
>  > Jan
>  >
> 
> ---
> Best regards,
> Dmitry
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core


-- 

Philippe.


  parent reply	other threads:[~2005-11-01 11:40 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-31 12:54 [Xenomai-core] [RFC] support for sharing IRQs Jan Kiszka
2005-10-31 14:29 ` Dmitry Adamushko
2005-10-31 15:04   ` Jan Kiszka
2005-10-31 20:21     ` Dmitry Adamushko
2005-10-31 20:38       ` Jan Kiszka
2005-10-31 21:02         ` Dmitry Adamushko
2005-11-01  9:49           ` Jan Kiszka
2005-11-01 11:46             ` Dmitry Adamushko
2005-11-01 12:08         ` Philippe Gerum
2005-11-01 11:58       ` Philippe Gerum
2005-11-01 12:05         ` Jan Kiszka
2005-11-01 13:31         ` Dmitry Adamushko
2005-11-01 14:22           ` Jan Kiszka
2005-11-01 17:29             ` Philippe Gerum
2005-11-01 23:21               ` Bernard Dautrevaux
2005-11-02 14:18                 ` Philippe Gerum
2005-11-03  1:24                   ` [Xenomai-core] LTT support on Xenomai (was part of support for sharing IRQs) Bernard Dautrevaux
2005-11-02 13:18               ` [Xenomai-core] [RFC] support for sharing IRQs Dmitry Adamushko
2005-11-02 14:04                 ` Jan Kiszka
2005-11-01 11:49     ` Philippe Gerum
2005-11-01 11:40   ` Philippe Gerum [this message]
2005-11-01 11:54     ` Jan Kiszka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4367543F.9050700@domain.hid \
    --to=rpm@xenomai.org \
    --cc=dmitry.adamushko@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.