Re: [Xenomai-core] v2.1-rc4 RTDM bug

2006-03-07 Thread Hannes Mayer

Jan Kiszka wrote:

Hannes Mayer wrote:

Hannes Mayer wrote:

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


Thanks Jan!

I'll add that in a few.

Best regards,
Hannes.

___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


Re: [Xenomai-core] v2.1-rc4 RTDM bug

2006-03-05 Thread Jan Kiszka
Hannes Mayer wrote:
 Hannes Mayer wrote:
 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



signature.asc
Description: OpenPGP digital signature
___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


Re: [Xenomai-core] v2.1-rc4 RTDM bug

2006-03-04 Thread Hannes Mayer

Hannes Mayer wrote:

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.

___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core