Re: irqchip tps65217 is not pipeline-safe!

2019-04-22 Thread Greg Gallagher via Xenomai
On Mon, Apr 22, 2019 at 10:52 AM Philippe Gerum wrote: > > On 4/22/19 4:49 PM, Greg Gallagher wrote: > > On Fri, Mar 29, 2019 at 6:37 AM Philippe Gerum via Xenomai > > wrote: > >> > >> On 3/28/19 8:51 PM, Giulio Moro via Xenomai wrote: > >>> Hi there, > >>> booting a 4.14.94-ti kernel with

Re: rt_dev_send() stalls periodic task

2019-04-22 Thread Steve Freyder via Xenomai
On 4/22/2019 5:56 PM, C Smith wrote: Please don't think the cross-link.c app config has the magic answer. Changing RX timeouts to prevent TX stalls would be an open loop hack that might fail the serial traffic jitters differently. The most suspicious difference between the two apps is that :

Re: rt_dev_send() stalls periodic task

2019-04-22 Thread C Smith via Xenomai
Please don't think the cross-link.c app config has the magic answer. Changing RX timeouts to prevent TX stalls would be an open loop hack that might fail the serial traffic jitters differently. The most suspicious difference between the two apps is that : cross-link.c behaves very regularly in

Re: rt_dev_send() stalls periodic task

2019-04-22 Thread Steve Freyder via Xenomai
On 4/22/2019 2:51 PM, Steve Freyder via Xenomai wrote: On 4/22/2019 1:45 AM, Jan Kiszka wrote: On 22.04.19 08:40, C Smith via Xenomai wrote: Thanks for your insight, Steve. I didn't realize rt_dev_write() doesnt actually stall until it is called many times and the 4K TX buffer gets full. (is

Re: rt_dev_send() stalls periodic task

2019-04-22 Thread Steve Freyder via Xenomai
On 4/22/2019 1:45 AM, Jan Kiszka wrote: On 22.04.19 08:40, C Smith via Xenomai wrote: Thanks for your insight, Steve. I didn't realize rt_dev_write() doesnt actually stall until it is called many times and the 4K TX buffer gets full. (is that right Jan?) It that is the case, sure I could find a

Re: irqchip tps65217 is not pipeline-safe!

2019-04-22 Thread Philippe Gerum via Xenomai
On 4/22/19 4:49 PM, Greg Gallagher wrote: > On Fri, Mar 29, 2019 at 6:37 AM Philippe Gerum via Xenomai > wrote: >> >> On 3/28/19 8:51 PM, Giulio Moro via Xenomai wrote: >>> Hi there, >>> booting a 4.14.94-ti kernel with Cobalt 3.0.8 from the "stable/v3.0.x" >>> branch, on an am3358

Re: irqchip tps65217 is not pipeline-safe!

2019-04-22 Thread Greg Gallagher via Xenomai
On Fri, Mar 29, 2019 at 6:37 AM Philippe Gerum via Xenomai wrote: > > On 3/28/19 8:51 PM, Giulio Moro via Xenomai wrote: > > Hi there, > > booting a 4.14.94-ti kernel with Cobalt 3.0.8 from the "stable/v3.0.x" > > branch, on an am3358 (PocketBeagle) I get a warning during boot "irqchip > >

Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled.

2019-04-22 Thread Alexander Sharabanov via Xenomai
Hi All, I am upgrading the linux kernel from linix kernel v2.6.30 to linux 3.16.61 (long tern support). Also I have upgraded the Xenomai and ipipe. I upgraded the xenomai to stable /v3.0.x (instead the Xenomai-2.4.10 that I used in old kernel), and ipipe-core-3.16-powerpc-1.patch. I have got

Re: rt_dev_send() stalls periodic task

2019-04-22 Thread Jan Kiszka via Xenomai
On 22.04.19 08:40, C Smith via Xenomai wrote: Thanks for your insight, Steve. I didn't realize rt_dev_write() doesnt actually stall until it is called many times and the 4K TX buffer gets full. (is that right Jan?) It that is the case, sure I could find a way to check the TX buffer fill level to

Re: rt_dev_send() stalls periodic task

2019-04-22 Thread C Smith via Xenomai
Thanks for your insight, Steve. I didn't realize rt_dev_write() doesnt actually stall until it is called many times and the 4K TX buffer gets full. (is that right Jan?) It that is the case, sure I could find a way to check the TX buffer fill level to prevent my app from stalling. I rewrote the