Re: [PATCH beta 1] 0/3] Fix race conditions in mrf24j40 interrupts

2013-05-23 Thread Alan Ott
On 05/23/2013 01:54 PM, David Hauweele wrote: > 2013/5/23 Alan Ott : >> On 5/22/13 4:32 PM, David Hauweele wrote: >>> >>> I cannot use level-triggered interrupts with GPIO on the RPi, so I >>> cannot test this specific patch. >> >> >> Is there another interrupt line you can tie into which does supp

Re: [PATCH beta 1] 0/3] Fix race conditions in mrf24j40 interrupts

2013-05-23 Thread David Hauweele
2013/5/23 Alan Ott : > On 5/22/13 4:32 PM, David Hauweele wrote: >> >> I cannot use level-triggered interrupts with GPIO on the RPi, so I >> cannot test this specific patch. > > > Is there another interrupt line you can tie into which does support > level-trigger interrupts (INT0 or something)? Ac

Re: [PATCH beta 1] 0/3] Fix race conditions in mrf24j40 interrupts

2013-05-22 Thread Alan Ott
On 5/22/13 4:32 PM, David Hauweele wrote: I cannot use level-triggered interrupts with GPIO on the RPi, so I cannot test this specific patch. Is there another interrupt line you can tie into which does support level-trigger interrupts (INT0 or something)? However I agree with the idea of le

Re: [PATCH beta 1] 0/3] Fix race conditions in mrf24j40 interrupts

2013-05-22 Thread David Hauweele
Hello, I cannot use level-triggered interrupts with GPIO on the RPi, so I cannot test this specific patch. However I agree with the idea of level-triggered interrupts, that would fix all major problems related to missed interrupts. Beside this I'm running a ping -f since more than two hours now a

Re: [PATCH beta 1] 0/3] Fix race conditions in mrf24j40 interrupts

2013-05-21 Thread Alan Ott
On 05/21/2013 10:01 PM, Alan Ott wrote: > David Hauweele noticed that the mrf24j40 would hang arbitrarily after some > period of heavy traffic. Two race conditions were discovered, and the > driver was changed to use threaded interrupts, since the enable/disable of > interrupts in the driver has r

[PATCH beta 1] 0/3] Fix race conditions in mrf24j40 interrupts

2013-05-21 Thread Alan Ott
David Hauweele noticed that the mrf24j40 would hang arbitrarily after some period of heavy traffic. Two race conditions were discovered, and the driver was changed to use threaded interrupts, since the enable/disable of interrupts in the driver has recently been a lighning rod whenever issues aris