From: Guillaume Boutillier <guillaume.boutillier@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] IRQ1 forwarded to Linux?
Date: Thu, 27 Apr 2006 17:36:02 +0200 [thread overview]
Message-ID: <1146152162.2938.42.camel@domain.hid> (raw)
In-Reply-To: <4450DB97.9010708@domain.hid>
> Guillaume Boutillier wrote:
> > Hello,
> >
> >
> >>>ROSSIER Daniel wrote:
> >>>
> >>>>Hello,
> >>>>
> >>>>
> >>>>
> >>>>We have a small Xeno application which implements an interrupt service
> >>>>(ISR) on IRQ 1 (keyboard) – quite stupid, but
> >>>>
> >>>
> >>>Sorry,
> >>>
> >>>- $ cat /proc/ipipe/Linux
> >>>+ $ cat /proc/ipipe/Xenomai
> >
> >
> > I checked when I run my application...
> > But I couldn't understand the meaning of the different flags : accepted,
> > passed and grabbed?!
> >
>
> What about posting the output to this list? Maybe someone could help.
>
Sorry I forgot the results...
when I run the application with RT_INTR_PROPAGATE :
$ cat /proc/ipipe/Xenomai
Priority=200, Id=0x58454e4f
irq0-1: grabbed
irq2-31: passed
irq32-33: passed, virtual
irq34: grabbed, virtual
$ cat /proc/ipipe/Linux
Priority=100, Id=0x00000000
irq0-15: accepted
irq32-33: grabbed, virtual
irq34: passed, virtual
when I run the application with RT_INTR_HANDLED
$ cat /proc/ipipe/Xenomai
Priority=200, Id=0x58454e4f
irq0-1: grabbed
irq2-31: passed
irq32-33: passed, virtual
irq34: grabbed, virtual
$ cat /proc/ipipe/Linux
Priority=100, Id=0x00000000
irq0-15: accepted
irq32-33: grabbed, virtual
irq34: passed, virtual
Thanks
Guillaume
> >
> >>>when your test is loaded would be useful to understand why Linux still
> >>>gets the kbd IRQs.
> >>>
> >>>
> >>>>just for testing. If we understand well, returning from the ISR with
> >>>>RET_INTR_HANDLED should not propagate the
> >>>>
> >>>>IRQ to the other domains, therefore to the Linux one, right?
> >>>>
> >>>>Why can we then keep working with the shell? (I expect that we can not
> >>>>interact with the shell, even not see the echoed char.).
> >>>>
> >>>>
> >>>>
> >>>>Does Xenomai patch the keyb driver?
> >>>>
> >>>
> >>>No.
> >>>
> >>>
> >>>>
> >>>>
> >>>>(We've seen that on /proc/xenomai/irq, we get the IRQ1 count, but NOT on
> >>>>the /proc/interrupts, as expected).
> >>>>
> >>>>
> >>>>
> >>>>Thanks for your help
> >>>>
> >>>>
> >>>>
> >>>>Daniel
> >>>>
> >>>>
> >>>>------------------------------------------------------------------------
> >>>>
> >>>>_______________________________________________
> >>>>Xenomai-help mailing list
> >>>>Xenomai-help@domain.hid
> >>>>https://mail.gna.org/listinfo/xenomai-help
> >>>
> >>>
> > Thanks for your help
> >
> > Guillaume Boutillier
> >
> >
> >>pièce jointe message de courriel, "Message transféré - Re:
> >>[Xenomai-help] IRQ1 forwarded to Linux?"
> >>Le jeudi 27 avril 2006 à 15:12 +0200, Sébastien Gerber a écrit :
> >>
> >>>ROSSIER Daniel wrote:
> >>>
> >>>>Hello,
> >>>>
> >>>>
> >>>>
> >>>>We have a small Xeno application which implements an interrupt service
> >>>>(ISR) on IRQ 1 (keyboard) – quite stupid, but
> >>>>
> >>>
> >>>What does the following say?
> >>>$ cat /proc/ipipe/Linux
> >>>
> >>>
> >>>>just for testing. If we understand well, returning from the ISR with
> >>>>RET_INTR_HANDLED should not propagate the
> >>>>
> >>>>IRQ to the other domains, therefore to the Linux one, right?
> >>>>
> >>>>Why can we then keep working with the shell? (I expect that we can not
> >>>>interact with the shell, even not see the echoed char.).
> >>>>
> >>>>
> >>>>
> >>>>Does Xenomai patch the keyb driver?
> >>>>
> >>>>
> >>>>
> >>>>(We've seen that on /proc/xenomai/irq, we get the IRQ1 count, but NOT on
> >>>>the /proc/interrupts, as expected).
> >>>>
> >>>>
> >>>>
> >>>>Thanks for your help
> >>>>
> >>>>
> >>>>
> >>>>Daniel
> >>>>
> >>>>
> >>>>------------------------------------------------------------------------
> >>>>
> >>>>_______________________________________________
> >>>>Xenomai-help mailing list
> >>>>Xenomai-help@domain.hid
> >>>>https://mail.gna.org/listinfo/xenomai-help
> >>>
> >>>
> >
> >
> > _______________________________________________
> > Xenomai-help mailing list
> > Xenomai-help@domain.hid
> > https://mail.gna.org/listinfo/xenomai-help
> >
>
>
next prev parent reply other threads:[~2006-04-27 15:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1146143577.3671.3.camel@domain.hid>
2006-04-27 14:44 ` Re: [Xenomai-help] IRQ1 forwarded to Linux? Guillaume Boutillier
2006-04-27 14:56 ` Philippe Gerum
2006-04-27 15:36 ` Guillaume Boutillier [this message]
2006-04-27 16:20 ` Philippe Gerum
2006-04-27 11:17 ROSSIER Daniel
2006-04-27 11:57 ` Philippe Gerum
2006-04-27 11:59 ` Philippe Gerum
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=1146152162.2938.42.camel@domain.hid \
--to=guillaume.boutillier@domain.hid \
--cc=rpm@xenomai.org \
--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.