Skip to contentSkip to conversation

v2.1-rc4 RTDM bug

Xenomai-core Hannes Mayer 2 participants 4 messages Mar 4, 2006 – Mar 7, 2006

lore
Share & tools
lore
#0 lore raw

Ciao Jan!

It doesn't seem to make a difference if one uses RTDM_IRQ_NONE or RTDM_IRQ_HANDLED.
With RTDM_IRQ_NONE the IRQ should be passed to linux, right ? But it doesn't seem to happen - this brought up the "top" problem I've posted a few days ago.

Best regards,
Hannes.

#1 lore raw
Quoted 7 lines · Hannes Mayer

Ciao Jan!

It doesn't seem to make a difference if one uses RTDM_IRQ_NONE or RTDM_IRQ_HANDLED.
With RTDM_IRQ_NONE the IRQ should be passed to linux, right ? But it doesn't seem to happen - this brought up the "top" problem I've posted a few days ago.

Returning XN_ISR_PROPAGATE passes the grabbed timer interrupt to Linux and "top" works again.

Best regards,
Hannes.

#2 lore raw
Quoted 12 lines · Hannes Mayer
Quoted 7 lines · Hannes Mayer

Ciao Jan!

It doesn't seem to make a difference if one uses RTDM_IRQ_NONE or RTDM_IRQ_HANDLED.
With RTDM_IRQ_NONE the IRQ should be passed to linux, right ? But it doesn't seem to happen - this brought up the "top" problem I've posted a few days ago.

Returning XN_ISR_PROPAGATE passes the grabbed timer interrupt to Linux and "top" works again.

As forwarding interrupts to the non-realtime domain is not a common use-case of realtime device drivers, I decided to drop the propagation support at RTDM level. So if you are including this mechanism in your demo, please mark this pattern as something RTDM drivers should normally NOT do (and explain what's reason for it here).

Jan

#3 lore raw
Quoted 13 lines · Jan Kiszka
Quoted 11 lines · Hannes Mayer
Quoted 7 lines · Hannes Mayer

Ciao Jan!

It doesn't seem to make a difference if one uses RTDM_IRQ_NONE or RTDM_IRQ_HANDLED.
With RTDM_IRQ_NONE the IRQ should be passed to linux, right ? But it doesn't seem to happen - this brought up the "top" problem I've posted a few days ago.

Returning XN_ISR_PROPAGATE passes the grabbed timer interrupt to Linux and "top" works again.

Quoted 5 lines

As forwarding interrupts to the non-realtime domain is not a common use-case of realtime device drivers, I decided to drop the propagation support at RTDM level. So if you are including this mechanism in your demo, please mark this pattern as something RTDM drivers should normally NOT do (and explain what's reason for it here).

Thanks Jan!

I'll add that in a few.

Best regards,
Hannes.