Re: [Xenomai] Xenomai lunch @ ELC NA next week

2018-03-08 Thread Greg Gallagher
Hi, Unfortunately due to last minute work commitments I won't be able to attend ELC this year. Good luck to the people presenting and if it's possible to post your slides at some point that would be great :). -Greg On Thu, Mar 8, 2018 at 1:26 AM, Jan Kiszka wrote: >

Re: [Xenomai] [xenomai] inconsistency in latency behavior

2018-03-08 Thread Pintu Kumar
On Thu, Mar 8, 2018 at 8:49 PM, Philippe Gerum wrote: > On 03/08/2018 03:16 PM, Pintu Kumar wrote: >> Hi, >> >> On x86_64 machine (with xenomai 3.0) sometimes I observed a huge >> variance and inconsistency in latency data when measuring latency >> delay using clock_nanosleep.

Re: [Xenomai] cant compile rtdm module

2018-03-08 Thread Greg Gallagher
Here is a sample makefile for an out of kernel module that you can use to create a custom rtdm module. - #this should be

[Xenomai] [PATCH] cobalt/thread: Move tcb clearing into __xnthread_init

2018-03-08 Thread Jan Kiszka
From: Jan Kiszka This both de-duplicates the code and ensures that all fields are zeroed prior to calling one of the actual tcb initialization functions. Specifically if host_task is not properly cleaned, we may cause a bug when using the field earlier, e.g. general

Re: [Xenomai] interrupt on edge problem, unexpected IRQ trap

2018-03-08 Thread Greg Gallagher
I'll have to run this on my known working set up and see what I can find. The only difference between gpio-core and your file is gpio-core uses the same label in the gpio_request and the rtdm_irq_request. For fun you can try to pass "gpio203" to rtdm_irq_request. I'll have to take a deeper look

Re: [Xenomai] [xenomai] inconsistency in latency behavior

2018-03-08 Thread Philippe Gerum
On 03/08/2018 03:16 PM, Pintu Kumar wrote: > Hi, > > On x86_64 machine (with xenomai 3.0) sometimes I observed a huge > variance and inconsistency in latency data when measuring latency > delay using clock_nanosleep. > I observed this inconsistency in both normal kernel, as well as xenomai >

[Xenomai] [xenomai] inconsistency in latency behavior

2018-03-08 Thread Pintu Kumar
Hi, On x86_64 machine (with xenomai 3.0) sometimes I observed a huge variance and inconsistency in latency data when measuring latency delay using clock_nanosleep. I observed this inconsistency in both normal kernel, as well as xenomai kernel. I observed the same, even when using the direct

Re: [Xenomai] [NATIVE API] Xenomai native API equivalent for clock_gettime

2018-03-08 Thread Pintu Kumar
On Thu, Mar 1, 2018 at 10:32 PM, Greg Gallagher wrote: > Are you using Xenomai 2.6 or 3? If you are using 3 use this guide instead: > I am using xenomai-3.0.6 > https://xenomai.org/documentation/xenomai-3/html/xeno3prm/group__alchemy__timer.html > > Post back if nothing

Re: [Xenomai] interrupt on edge problem, unexpected IRQ trap

2018-03-08 Thread branislav . sasic
03.336361] handle_edge_irq+0x0/0x194 >>>>>>>> [ 303.336367] ->irq_data.chip(): dc097b50, >>>>>>>> [ 303.336376] 0xdc097b50 >>>>>>>> [ 303.336382] ->action(): da097380 >>>>>>>> [ 303.336389] ->action->handler(): c078dce4, >>>>>>>> [ 303.336399] gpio_sysfs_irq+0x0/0x24 >>>>>>>> [ 303.336406]IRQ_NOPROBE set >>>>>>>> [ 303.336413] unexpected IRQ trap at vector 58 >>>>>>>> [ 306.761879] irq 88, desc: dc1be400, depth: 0, count: 1, >>>>>>>> unhandled: >>>>>>>> 0 >>>>>> [ 306.761893] ->handle_irq(): c01a810c, >>>>>>>> [ 306.761928] handle_edge_irq+0x0/0x194 >>>>>>>> [ 306.761935] ->irq_data.chip(): dc097b50, >>>>>>>> [ 306.761947] 0xdc097b50 >>>>>>>> [ 306.761954] ->action(): da097380 >>>>>>>> [ 306.761960] ->action->handler(): c078dce4, >>>>>>>> [ 306.761976] gpio_sysfs_irq+0x0/0x24 >>>>>>>> [ 306.761985]IRQ_NOPROBE set >>>>>>>> [ 306.761995] unexpected IRQ trap at vector 58 >>>>>>>> [ 306.766311] irq 88, desc: dc1be400, depth: 0, count: 1, >>>>>>>> unhandled: >>>>>>>> 0 >>>>>> [ 306.766318] ->handle_irq(): c01a810c, >>>>>>>> [ 306.766330] handle_edge_irq+0x0/0x194 >>>>>>>> [ 306.766336] ->irq_data.chip(): dc097b50, >>>>>>>> [ 306.766344] 0xdc097b50 >>>>>>>> [ 306.766351] ->action(): da097380 >>>>>>>> [ 306.766357] ->action->handler(): c078dce4, >>>>>>>> [ 306.766366] gpio_sysfs_irq+0x0/0x24 >>>>>>>> [ 306.766373]IRQ_NOPROBE set >>>>>>>> [ 306.766380] unexpected IRQ trap at vector 58 >>>>>>>> [ 306.892617] irq 88, desc: dc1be400, depth: 0, count: 2, >>>>>>>> unhandled: >>>>>>>> 0 >>>>>> [ 306.892634] ->handle_irq(): c01a810c, >>>>>>>> [ 306.892666] handle_edge_irq+0x0/0x194 >>>>>>>> [ 306.892673] ->irq_data.chip(): dc097b50, >>>>>>>> [ 306.892683] 0xdc097b50 >>>>>>>> [ 306.892690] ->action(): da097380 >>>>>>>> [ 306.892697] ->action->handler(): c078dce4, >>>>>>>> [ 306.892712] gpio_sysfs_irq+0x0/0x24 >>>>>>>> [ 306.892723]IRQ_NOPROBE set >>>>>>>> [ 306.892732] unexpected IRQ trap at vector 58 >>>>>>>> [ 306.897047] irq 88, desc: dc1be400, depth: 0, count: 2, >>>>>>>> unhandled: >>>>>>>> 0 >>>>>> [ 306.897054] ->handle_irq(): c01a810c, >>>>>>>> [ 306.897065] handle_edge_irq+0x0/0x194 >>>>>>>> [ 306.897071] ->irq_data.chip(): dc097b50, >>>>>>>> [ 306.897079] 0xdc097b50 >>>>>>>> [ 306.897086] ->action(): da097380 >>>>>>>> [ 306.897092] ->action->handler(): c078dce4, >>>>>>>> [ 306.897101] gpio_sysfs_irq+0x0/0x24 >>>>>>>> [ 306.897108]IRQ_NOPROBE set >>>>>>>> [ 306.897115] unexpected IRQ trap at vector 58 >>>>>>>> Best regards, >>>>>>>> Branislav >>>>>>>> ___ >>>>>>>> Xenomai mailing list >>>>>>>> Xenomai@xenomai.org >>>>>>>> https://xenomai.org/mailman/listinfo/xenomai >>>>>>> >>>>>>> ___ >>>>>>> Xenomai mailing list >>>>>>> Xenomai@xenomai.org >>>>>>> https://xenomai.org/mailman/listinfo/xenomai >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>> >>>> >>>> >>>> ___ >>>> Xenomai mailing list >>>> Xenomai@xenomai.org >>>> https://xenomai.org/mailman/listinfo/xenomai >>>> >>> >>> >>> >>> ___ >>> Xenomai mailing list >>> Xenomai@xenomai.org >>> https://xenomai.org/mailman/listinfo/xenomai >>> >> >> > > ___ > Xenomai mailing list > Xenomai@xenomai.org > https://xenomai.org/mailman/listinfo/xenomai > -- next part -- A non-text attachment was scrubbed... Name: interrupt_example.c Type: text/x-csrc Size: 1921 bytes Desc: not available URL: <http://xenomai.org/pipermail/xenomai/attachments/20180308/ded48d99/attachment.c> ___ Xenomai mailing list Xenomai@xenomai.org https://xenomai.org/mailman/listinfo/xenomai

[Xenomai-git] New commits on branch next

2018-03-08 Thread git repository hosting
URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=224a43c71bfe62fff90f93ed12883340fd076579 Author: Henning Schild Date: Fri Mar 2 14:22:00 2018 +0100 cobalt/kernel: fix clock_adjtime() compile error Moving the definition out of the ifdef

[Xenomai-git] Philippe Gerum : net/packet: ioctl: remove direct references to user memory

2018-03-08 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: 8e99cbbf44360787519d6ea93d166a5d1fec17d4 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=8e99cbbf44360787519d6ea93d166a5d1fec17d4 Author: Philippe Gerum Date: Mon Dec 4 19:40:34 2017 +0100 net/packet: ioctl: remove

Re: [Xenomai] [PATCH] lib/boilerplate: Fix build for mercury

2018-03-08 Thread Philippe Gerum
On 03/08/2018 05:19 AM, Ivid Suvarna wrote: > "commit 9da7bde" introduces rt_print_flush_buffers in ancillaries > > Fixes the following error "--with-core=mercury" : > >>> ancillaries.c: In function ‘___panic’: >>> ancillaries.c:129:2: error: implicit declaration of function >

[Xenomai-git] Philippe Gerum : net/tdma: prevent crash on detaching the TDMA discipline

2018-03-08 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: 8bf68ea34d60307fff4af51c538c86dd0f2edfe8 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=8bf68ea34d60307fff4af51c538c86dd0f2edfe8 Author: Philippe Gerum Date: Mon Feb 5 17:24:10 2018 +0100 net/tdma: prevent crash on

[Xenomai-git] Philippe Gerum : net/socket: align rtdev do_ioctl handler on the regular ndo_do_ioctl

2018-03-08 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: 3e97e64ee27ce01e8488d06c52bc4681729b30b9 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=3e97e64ee27ce01e8488d06c52bc4681729b30b9 Author: Philippe Gerum Date: Tue Jan 23 12:03:51 2018 +0100 net/socket: align rtdev

[Xenomai-git] Philippe Gerum : net: convert to rtdm_get_iov_flatlen()

2018-03-08 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: f6f9729194cd8d2d5bd8e4e6151ebd51cf0c701d URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f6f9729194cd8d2d5bd8e4e6151ebd51cf0c701d Author: Philippe Gerum Date: Wed Dec 6 13:40:19 2017 +0100 net: convert to

[Xenomai-git] Philippe Gerum : net/packet: recvmsg: remove direct references to user memory

2018-03-08 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: db8bfc34d9d2a2419d01f5c4402f8991b69fb929 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=db8bfc34d9d2a2419d01f5c4402f8991b69fb929 Author: Philippe Gerum Date: Tue Dec 5 10:31:32 2017 +0100 net/packet: recvmsg:

[Xenomai-git] Philippe Gerum : net: wire up corectl interface

2018-03-08 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: 1b55d73cfa3cc9de1b1e76d30ee36ed973ef4934 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=1b55d73cfa3cc9de1b1e76d30ee36ed973ef4934 Author: Philippe Gerum Date: Mon Dec 4 16:52:24 2017 +0100 net: wire up corectl

[Xenomai-git] Philippe Gerum : net/packet: sendmsg: remove direct references to user memory

2018-03-08 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: e493c6683c64f6f507f56d9d129b215bafdcd880 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=e493c6683c64f6f507f56d9d129b215bafdcd880 Author: Philippe Gerum Date: Tue Dec 5 18:56:12 2017 +0100 net/packet: sendmsg:

[Xenomai-git] Philippe Gerum : net/tcp: fix invalid reference in getsockopt()

2018-03-08 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: 01559b1495152b24a444aa1a6e81f5d9bf3aed4a URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=01559b1495152b24a444aa1a6e81f5d9bf3aed4a Author: Philippe Gerum Date: Mon Dec 4 17:49:19 2017 +0100 net/tcp: fix invalid

[Xenomai-git] Philippe Gerum : net/proxy: stop updating netdev-> last_rx with kernel 4.11+

2018-03-08 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: 4830f97349dbe87c6334f9fea477fc9ff87abdb4 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4830f97349dbe87c6334f9fea477fc9ff87abdb4 Author: Philippe Gerum Date: Fri Jan 26 11:51:42 2018 +0100 net/proxy: stop updating

[Xenomai-git] Philippe Gerum : net/socket: enforce secondary mode for SIOCETHTOOL

2018-03-08 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: 78eaafcd8a7528afd70c541bd7a1d0ffcc56794a URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=78eaafcd8a7528afd70c541bd7a1d0ffcc56794a Author: Philippe Gerum Date: Thu Jan 18 10:37:01 2018 +0100 net/socket: enforce

[Xenomai-git] Philippe Gerum : net/udp: ioctl: remove direct references to user memory

2018-03-08 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: 3fea36a1c2762de78d28ea705bab396a413e394b URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=3fea36a1c2762de78d28ea705bab396a413e394b Author: Philippe Gerum Date: Mon Dec 4 19:21:23 2017 +0100 net/udp: ioctl: remove

[Xenomai-git] Philippe Gerum : net/cap: fix panic in rtcap_signal_handler()

2018-03-08 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: b48bc1370a8541caa3f06c1f27d7549fa8e791a6 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=b48bc1370a8541caa3f06c1f27d7549fa8e791a6 Author: Philippe Gerum Date: Fri Jun 16 18:07:26 2017 +0200 net/cap: fix panic in

[Xenomai-git] Philippe Gerum : net/ipv4: opt in for non-deliverable packet warning

2018-03-08 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: 20595ce1d1cd199d9c6bbc0e0142e3657e340445 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=20595ce1d1cd199d9c6bbc0e0142e3657e340445 Author: Philippe Gerum Date: Wed Feb 14 18:23:01 2018 +0100 net/ipv4: opt in for

[Xenomai-git] Philippe Gerum : net/socket: forward private ioctl requests to NIC driver

2018-03-08 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: 9db7a018559925883701eb8ac932f631912d4564 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=9db7a018559925883701eb8ac932f631912d4564 Author: Philippe Gerum Date: Thu Jan 18 10:49:19 2018 +0100 net/socket: forward

[Xenomai-git] Philippe Gerum : net/packet: recvmsg: write back namelen only if name required

2018-03-08 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: 78f32e29d96d8d8a32eab880e590942ddbabe81c URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=78f32e29d96d8d8a32eab880e590942ddbabe81c Author: Philippe Gerum Date: Tue Dec 5 10:36:07 2017 +0100 net/packet: recvmsg: write

[Xenomai-git] Philippe Gerum : net/iovec: drop useless kernel<-> iovec[] copy helpers

2018-03-08 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: bb7918295605a397387b5666f12f523317f71029 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=bb7918295605a397387b5666f12f523317f71029 Author: Philippe Gerum Date: Wed Dec 6 13:41:06 2017 +0100 net/iovec: drop useless

[Xenomai-git] Philippe Gerum : net/udp: recvmsg: remove direct references to user memory

2018-03-08 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: 3e3eea9623f5e172972a9f09b172323d42a6d2dd URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=3e3eea9623f5e172972a9f09b172323d42a6d2dd Author: Philippe Gerum Date: Wed Dec 6 12:45:31 2017 +0100 net/udp: recvmsg: remove

[Xenomai-git] Philippe Gerum : net/socket: ioctl: remove direct references to user memory

2018-03-08 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: 7db2935bff296c8da5717a756fcc4149ce97d91f URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=7db2935bff296c8da5717a756fcc4149ce97d91f Author: Philippe Gerum Date: Thu Mar 1 11:48:41 2018 +0100 net/socket: ioctl: remove

[Xenomai-git] Philippe Gerum : net/iovec: add copy iterators for iovec[]

2018-03-08 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: b70ba7e22765cca871fb042043c46e37758aff73 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=b70ba7e22765cca871fb042043c46e37758aff73 Author: Philippe Gerum Date: Tue Dec 5 15:34:17 2017 +0100 net/iovec: add copy

[Xenomai-git] Philippe Gerum : net/udp: sendmsg: remove direct references to user memory

2018-03-08 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: a69c4ac5d7d805c93fb785c96893ac6c878f041b URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=a69c4ac5d7d805c93fb785c96893ac6c878f041b Author: Philippe Gerum Date: Wed Dec 6 12:45:58 2017 +0100 net/udp: sendmsg: remove

[Xenomai-git] Philippe Gerum : net/tcp: {recv|send}msg: remove direct references to user memory

2018-03-08 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: 90bf4a43d04823b48d6658a41704b4886b98400f URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=90bf4a43d04823b48d6658a41704b4886b98400f Author: Philippe Gerum Date: Wed Dec 6 13:17:20 2017 +0100 net/tcp: {recv|send}msg:

[Xenomai-git] Ivid Suvarna : lib/boilerplate: Fix build for mercury

2018-03-08 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: f083112f44f9d57350c17dfa6df9d23056caa839 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f083112f44f9d57350c17dfa6df9d23056caa839 Author: Ivid Suvarna Date: Thu Mar 8 05:19:00 2018 +0100 lib/boilerplate: Fix