All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <kiszka@domain.hid>
To: xenomai-core <xenomai@xenomai.org>
Subject: [Xenomai-core] [RFC] support for sharing IRQs
Date: Mon, 31 Oct 2005 13:54:23 +0100	[thread overview]
Message-ID: <436613FF.50604@domain.hid> (raw)

[-- Attachment #1: Type: text/plain, Size: 1030 bytes --]

Hi,

at the moment the 16550A UART driver that comes with Xenomai does not
support IRQ sharing between serial ports or with other real-time
devices. I first considered adding such support to the driver
internally, but I think it's better work on a generic approach for Xenomai.

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. The IRQ API
is just extended by a single flag (imagine RTDM_IRQ_SHARED) which is set
upon registering an ISR that is capable of IRQ sharing. The semantic is
the same as the kernel's SA_SHIRQ.

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

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

             reply	other threads:[~2005-10-31 12:54 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-31 12:54 Jan Kiszka [this message]
2005-10-31 14:29 ` [Xenomai-core] [RFC] support for sharing IRQs 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
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=436613FF.50604@domain.hid \
    --to=kiszka@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.