v2.1-rc4 RTDM bug
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.
Quoted 7 lines · Hannes Mayer
Ciao Jan!
It doesn't seem to make a difference if one uses
RTDM_IRQ_NONEorRTDM_IRQ_HANDLED.
WithRTDM_IRQ_NONEthe 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.
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_NONEorRTDM_IRQ_HANDLED.
WithRTDM_IRQ_NONEthe 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_PROPAGATEpasses 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
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_NONEorRTDM_IRQ_HANDLED.
WithRTDM_IRQ_NONEthe 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_PROPAGATEpasses 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.