2009-08-06 10:51:17     Interrupt workqueue and Xenomai

Document created by Aaronwu Employee on Aug 16, 2013
Version 1Show Document
  • View in full screen mode

2009-08-06 10:51:17     Interrupt workqueue and Xenomai

hegallis mo (UNITED KINGDOM)

Message: 78426   

 

Hi

 

I am working on BF527 at the moment while we queue work item upon GPI interrupt to a work queue as delayed work. This kernel driver works fine without Xenomai patch turned on. However, it stops working after applying Xenomai patch. It appears that the interrupt handler was triggered but the work item in the work queue is not being processing (by kernel thread which is supposed to work on).

 

 

 

Any thoughts?

 

 

 

Thanks,

 

Heg

QuoteReplyEditDelete

 

 

2009-08-06 21:11:35     Re: Interrupt workqueue and Xenomai

Yi Li (CHINA)

Message: 78430   

 

Hegallis,

 

Xenomai/ipipe is not supposed to affect non-rt Linux tasks. What is the kernel version (2009R1?). Do you have a test case to reproduce this problem? Also you may ask on the "xenomai-help" mailing list to seek help from xenomai experts.

 

Address of the "xenomai-help" mailing list: https://mail.gna.org/listinfo/xenomai-help

 

-Yi

QuoteReplyEditDelete

 

 

2009-08-07 06:06:19     Re: Interrupt workqueue and Xenomai

hegallis mo (UNITED KINGDOM)

Message: 78493   

 

Hi Yi

 

That would be my assumption as well that ipipe should pass through non-rt interrupts to Linux domain. Linux kernel tasks such as work queue will still be handled in the same way by kthread. However, it seems that

 

1. the interrupt line never gets cleared

 

2. kthread which handles work structure in the work queue not doing its work (or cannot switch to linux kthread context I suspect)

 

I will post this to xenomai help mail list too.

QuoteReplyEditDelete

 

 

2009-08-07 06:09:09     Re: Interrupt workqueue and Xenomai

hegallis mo (UNITED KINGDOM)

Message: 78494   

 

This is on Xenomai 2.4.0 within 2008R1.5 release.

 

BTW, I donot seem to be able to find official 2009 R release of uclinux-dist other than checking out the trunk.

QuoteReplyEditDelete

 

 

2009-08-10 03:41:20     Re: Interrupt workqueue and Xenomai

Yi Li (CHINA)

Message: 78546   

 

2009R1 is not formally released. You may use 2009R1 branch. But you may also try on trunk since the xenomai in svn trunk is updated to latest 2.5-rc2 (2.4.91).

 

-Yi

Attachments

    Outcomes