IRQ1 forwarded to Linux?
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello,
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines · ROSSIER Daniel
Hello,
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
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?!
Quoted 33 lines
Quoted 33 lines
when your test is loaded would be useful to understand why Linux still gets the kbd IRQs.
Quoted 12 lines
just for testing. If we understand well, returning from the ISR with
RET_INTR_HANDLEDshould not propagate theIRQ 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.
Quoted 14 lines
(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
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
------------------------------------------------------------------------
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help
Thanks for your help
Guillaume Boutillier
Quoted 49 lines
pièce jointe message de courriel, "Message transféré - Re:
[Xenomai-help] IRQ1 forwarded to Linux?"Quoted 46 lines · Sébastien Gerber
Quoted 7 lines · ROSSIER Daniel
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/LinuxQuoted 32 lines
just for testing. If we understand well, returning from the ISR with
RET_INTR_HANDLEDshould not propagate theIRQ 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
[email protected]
https://mail.gna.org/listinfo/xenomai-help
Quoted 12 lines · Guillaume Boutillier
Hello,
Quoted 9 lines
Quoted 9 lines
Quoted 6 lines · ROSSIER Daniel
Hello,
We have a small Xeno application which implements an interrupt service (ISR) on IRQ 1 (keyboard) – quite stupid, but
Quoted 9 lines
Quoted 4 lines
Quoted 4 lines
Sorry,
- $ cat
/proc/ipipe/Linux
+ $ cat/proc/ipipe/XenomaiI 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.
Quoted 99 lines
Quoted 31 lines
Quoted 31 lines
when your test is loaded would be useful to understand why Linux still gets the kbd IRQs.
Quoted 10 lines
just for testing. If we understand well, returning from the ISR with
RET_INTR_HANDLEDshould not propagate theIRQ 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.
Quoted 13 lines
(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
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
------------------------------------------------------------------------
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-helpThanks for your help
Guillaume Boutillier
Quoted 48 lines
pièce jointe message de courriel, "Message transféré - Re:
[Xenomai-help] IRQ1 forwarded to Linux?"Quoted 44 lines · Sébastien Gerber
Quoted 6 lines · ROSSIER Daniel
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/LinuxQuoted 29 lines
just for testing. If we understand well, returning from the ISR with
RET_INTR_HANDLEDshould not propagate theIRQ 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
[email protected]
https://mail.gna.org/listinfo/xenomai-help_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help
Signature · 1 line
Philippe.
Quoted 21 lines
Quoted 19 lines · Guillaume Boutillier
Hello,
Quoted 14 lines
Quoted 14 lines
Quoted 7 lines · ROSSIER Daniel
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
Quoted 7 lines
Quoted 4 lines
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
Quoted 109 lines
Quoted 107 lines
Quoted 35 lines
Quoted 35 lines
when your test is loaded would be useful to understand why Linux still gets the kbd IRQs.
Quoted 12 lines
just for testing. If we understand well, returning from the ISR with
RET_INTR_HANDLEDshould not propagate theIRQ 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.
Quoted 14 lines
(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
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
------------------------------------------------------------------------
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-helpThanks for your help
Guillaume Boutillier
Quoted 52 lines
pièce jointe message de courriel, "Message transféré - Re:
[Xenomai-help] IRQ1 forwarded to Linux?"Quoted 48 lines · Sébastien Gerber
Quoted 7 lines · ROSSIER Daniel
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/LinuxQuoted 32 lines
just for testing. If we understand well, returning from the ISR with
RET_INTR_HANDLEDshould not propagate theIRQ 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
[email protected]
https://mail.gna.org/listinfo/xenomai-help_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help
Quoted 57 lines · Guillaume Boutillier
Quoted 22 lines
Quoted 20 lines · Guillaume Boutillier
Hello,
Quoted 14 lines
Quoted 14 lines
Quoted 6 lines · ROSSIER Daniel
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/XenomaiQuoted 6 lines
Quoted 3 lines
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, virtualwhen 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
Quoted 6 lines
$ cat /proc/ipipe/Linux Priority=100, Id=0x00000000 irq0-15: accepted irq32-33: grabbed, virtual irq34: passed, virtual
"grabbed" means that the domain intercepts the IRQ, and will let its own handler decide whether the interrupt needs to be propagated down the pipeline or not (a manual call to ipipe_propagate_irq will be needed if so). IOW, Adeos stops scanning the pipeline chain upon IRQ receipt after this domain's stage; it would do that otherwise to discover new (lower-priority) domains wanting to handle this IRQ too.
"accepted" means that Adeos will let the domain process the IRQ, and keep on searching for (lower-priority) domains wanting to handle it too.
"passed" means that Adeos will not ask the domain to handle the IRQ, but will try to pass it to the next domain down the pipeline.
"discarded" means to make as if the IRQ never happened starting from the current one, i.e. neither the current nor the lower-priority domain will ever know about it.
Regarding the specific case of the keyboard input still working despite the kbd interrupts can't flow, it's likely due to the fact that the input sub-system (i8042 serio driver) also polls the attached devices according to a HZ/20 period, in addition to handling the interrupts.
Signature · 1 line
Philippe.