All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] v2.1-rc4 RTDM bug
@ 2006-03-04 18:59 Hannes Mayer
  2006-03-04 19:08 ` Hannes Mayer
  0 siblings, 1 reply; 4+ messages in thread
From: Hannes Mayer @ 2006-03-04 18:59 UTC (permalink / raw)
  To: jan.kiszka; +Cc: xenomai

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-core] v2.1-rc4 RTDM bug
  2006-03-04 18:59 [Xenomai-core] v2.1-rc4 RTDM bug Hannes Mayer
@ 2006-03-04 19:08 ` Hannes Mayer
  2006-03-05 14:42   ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Hannes Mayer @ 2006-03-04 19:08 UTC (permalink / raw)
  To: jan.kiszka; +Cc: xenomai

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-core] v2.1-rc4 RTDM bug
  2006-03-04 19:08 ` Hannes Mayer
@ 2006-03-05 14:42   ` Jan Kiszka
  2006-03-07 16:34     ` Hannes Mayer
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2006-03-05 14:42 UTC (permalink / raw)
  To: Hannes Mayer; +Cc: xenomai

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

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


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-core] v2.1-rc4 RTDM bug
  2006-03-05 14:42   ` Jan Kiszka
@ 2006-03-07 16:34     ` Hannes Mayer
  0 siblings, 0 replies; 4+ messages in thread
From: Hannes Mayer @ 2006-03-07 16:34 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-07 16:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-04 18:59 [Xenomai-core] v2.1-rc4 RTDM bug Hannes Mayer
2006-03-04 19:08 ` Hannes Mayer
2006-03-05 14:42   ` Jan Kiszka
2006-03-07 16:34     ` Hannes Mayer

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.