URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=7abc837a3a637452945df6ff42f6d57faaafa979 Author: Henning Schild <henning.sch...@siemens.com> Date: Fri Mar 2 14:22:00 2018 +0100
cobalt/kernel: fix clock_adjtime() compile error Moving the definition out of the ifdef solves the following error: include/xenomai/cobalt/kernel/clock.h:260:16: error: ‘struct <anonymous>’ has no member named ‘adjust_time’ include/xenomai/cobalt/kernel/clock.h:263:19: error: ‘struct <anonymous>’ has no member named ‘adjust_time’ Signed-off-by: Henning Schild <henning.sch...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=29922ccc3a64f673e0a01ea1b7645610961b72d7 Author: Philippe Gerum <r...@xenomai.org> Date: Mon Feb 12 18:20:40 2018 +0100 lib/cobalt: add clock_adjtime() syscall URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=534b0e5d0da043fbb4e12f0b4ae6a5306c32e4ed Author: Philippe Gerum <r...@xenomai.org> Date: Mon Feb 12 18:09:59 2018 +0100 cobalt/kernel: add clock_adjtime() syscall URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=a1c644e95c182cd96aeccd2cc026f654a7cda08d Author: Philippe Gerum <r...@xenomai.org> Date: Tue Feb 6 16:46:01 2018 +0100 cobalt/tracing: fix X86_X32 build w/o IA32_EMULATION CONFIG_X86_X32 used to depend on CONFIG_IA32_EMULATION. Since upstream commit #9b54050b, this is not the case anymore, and both options can be enabled separately. Remove the assumption about such dependency, fixing the build issue. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=32312afd2029f6c52d9506bcfbcb4921a6a930bc Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jan 23 19:19:31 2018 +0100 lib/cobalt: add sendmmsg(), recvmmsg() syscalls URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=7c4332ef3ecf11e71ec44715238998c52b73a3f9 Author: Philippe Gerum <r...@xenomai.org> Date: Thu Jan 25 16:06:29 2018 +0100 cobalt/rtdm: add sendmmsg(), recvmmsg() syscalls URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=42c71276953da1fa350d98fb47b5e8d56eae6bb7 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Oct 3 12:02:36 2017 +0200 demo/gpiopwn: include required header explicitly URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=af48bac1e07ea03b499ceeba3e33a55ce63b8697 Author: Jan Kiszka <jan.kis...@siemens.com> Date: Fri Sep 29 12:21:21 2017 +0200 cobalt/tracing: Primarily identify threads via pid Except for the short phase between thread_init and shadow_map, a thread is always identifiable via the pid of its Linux mate. Use this shorter value, which also correlates with what ftrace records anyway, instead of the pointer or the name. Report the full thread name only in prominent cases: init, resume and switch. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=5e25dc33f8bcacfa230737819e753376790cdc0d Author: Jan Kiszka <jan.kis...@siemens.com> Date: Fri Sep 29 10:32:42 2017 +0200 cobalt/tracing: Don't report current thread in tracepoints All these are synchronous, and the thread context is already recorded by ftrace. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=23aec56bd8160ff93cfcef795e41ab002e3df783 Author: Jan Kiszka <jan.kis...@siemens.com> Date: Fri Sep 29 07:36:27 2017 +0200 cobalt/tracing: Print syscalls by name Matching numbers against syscall.h, specifically when the call is compat or x32, is tedious work. Fortunately, ftrace allows up to automate this. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=398ecf23fef8b51985c0724227f7d7bff50a3577 Author: Jan Kiszka <jan.kis...@siemens.com> Date: Fri May 6 14:40:00 2016 +0200 cobalt/tracing: Trace changes of the current thread priority Specifically useful to validate scheduling during PI or PP phases. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=efa08715b4cf2f06e81882fefa8dbfa909bd2ae3 Author: Jan Kiszka <jan.kis...@siemens.com> Date: Thu Sep 28 20:54:24 2017 +0200 cobalt/tracing: Enhance cobalt_switch_context tracepoint Adding PIDs and the state of the previous task will allow to track Xenomai task switches in kernelshark (so far via out-of-tree patches, upstream is planning for the necessary plugin concept). Moreover, reporting the current priority on context switch helps debugging unexpected or delayed context switches Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=e71e274ad71cc9363d58860fe4f01e0dd6adb7fc Author: Jan Kiszka <jan.kis...@siemens.com> Date: Thu Sep 28 19:57:49 2017 +0200 cobalt/tracing: Convert cobalt_print_sched_params into proper function The code of cobalt_print_sched_params is carried into the format string in tracefs, and trace-cmd tries to make any sense out of it. While it can process simply statements, this code is too complex and will prevent the parsing. Convert it into a function. That still does not resolve the parsing issue of trace-cmd, but that can be addressed by a custom plugin which can then interpret this tracepoint. That wouldn't be possible with the broken format string. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=16f7fabdd5c979a068c51af33b1b646629823484 Author: Jan Kiszka <jan.kis...@siemens.com> Date: Thu Sep 28 19:55:28 2017 +0200 cobalt/tracing: Do not print numerical policy in trace __print_symbolic already ensures that unknown policies are printed numerically. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=514d63fe8c63ab87ea3d8ee78fff65ce6afd4a7c Author: Jan Kiszka <jan.kis...@siemens.com> Date: Thu Aug 31 19:21:53 2017 +0200 cobalt/wrappers: Fix version level for cobalt_gpiochip_dev That renaming only took place in 4.5. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=2bca9f0685b9798a9c3c77c013e8a9b51016f667 Author: Jan Kiszka <jan.kis...@siemens.com> Date: Sun Oct 1 08:38:17 2017 +0200 cobalt: Never crash on reading host task pid Catch the case that we try to obtain the pid of a not yet fully initialized thread. Signal the error by returning -1 which is specifically useful in case the value is added to some debug output or trace. xnthread_host_pid is now too complex for inlining. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=8faaec38aad5fc89035a25f5213dcdb5ebc823ee Author: Jan Kiszka <jan.kis...@siemens.com> Date: Mon Jul 31 15:37:57 2017 +0200 cobalt: Introduce xnftrace_printf This allows to inject a user-defined string into the system's ftrace without leaving RT mode (because of using a standard write on /sys/kernel/debug/tracing/trace_marker). As the signature of this function is different from the existing trace syscall, create as dedicated one. For simplicity reasons, the maximum string length that can be passed down to the kernel is limited to 255 characters (+1 for termination). We call directly into the internal __trace_puts to avoid both the unneeded strlen call of the trace_puts wrapper and the false warning that kernel code uses trace_printk. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=fd1e69d88488c35aca71c16142c2e017155b52a3 Author: Philippe Gerum <r...@xenomai.org> Date: Wed Aug 2 11:07:01 2017 +0200 cobalt/timer: fix, rework ptrace detection and timer forwarding Ptracing may cause timer overruns, as the ptraced application cannot go waiting for the current period in a timely manner when stopped on a breakpoint or single-stepped. A mechanism was introduced a long time ago for hiding those overruns from the application, while ptracing is in effect. The current implementation dealing with this case has two major flaws: - it crashes the system when single-stepping (observed on ARM i.MX6q), revealing a past regression which went unnoticed so far. - it uses a big hammer to forward (most) timers without running their respective timeout handler while ptracing, in order to hide this timespan from the overrun accounting code. This introduces two issues: * the timer forwarding code sits in the tick announcement code, which is a very hot path, despite ptracing an application is definitely not a common operation. * all timers are affected / blocked during ptracing, except those which have been specifically marked (XNTIMER_NOBLCK) at creation, which turns out to be impractical for the common case. The new implementation only addresses what is at stake, i.e. hiding overrun reports due to ptracing from applications. This can be done simply by noting when a thread should disregard overruns after an exit from the ptraced mode (XNHICCUP), then discard the pending overruns if this flag is detected by the code reporting them (xntimer_get_overrun()). URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=490c01f9e560670d55ef3ecbed920c0f13739795 Author: Jan Kiszka <jan.kis...@siemens.com> Date: Wed Jul 26 18:50:43 2017 +0200 cobalt: Fix conditional build by avoiding #if XENO_DEBUG() In contrast to #ifdef CONFIG_x, #if IS_ENABLED(x) (or our wrapper of the latter) does not update the dependency information for kbuild. So, switching any config easily left inconsistent build artifacts behind. This conversion also fixes de66d324a93d: there is and there was never a CONFIG_XENO_DEBUG_LOCKING. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=d6c6ae9f7816be1ba1ee73d159fff21018dc49dc Author: Jan Kiszka <jan.kis...@siemens.com> Date: Fri Jul 14 17:19:39 2017 +0200 smokey: Add test cases for trylock on ceiling mutexes This reveals a bug in the trylock kernel slow-path when CONFIG_XENO_OPT_DEBUG_MUTEX_SLEEP is set. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=0711726a4298a9313cf32b55c67e07ba3d0cdbf1 Author: Jan Kiszka <jan.kis...@siemens.com> Date: Fri Jul 14 20:32:40 2017 +0200 cobalt: Align structure of mutex_trylock with mutex_timedlock No need to have different patterns, and the one of mutex_timedlock is more compact. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=e11ed007f0143eaccf4e75d42495d19b8901f5a9 Author: Jan Kiszka <jan.kis...@siemens.com> Date: Fri Jul 14 20:34:25 2017 +0200 cobalt: Fix slow-path of mutex_trylock in kernel We missed to call set_current_owner on successful acquisition. That destroyed prio ceiling and could even cause a crash when lock debugging was enabled. This can easily be addressed by switching the open-coded trylock to xnsynch_try_acquire. Nice side effect: less code. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=5f731deb95f6c44ec144b724f12e59e02bc74f86 Author: Philippe Gerum <r...@xenomai.org> Date: Thu Jun 1 09:46:29 2017 +0200 lib/cobalt: init: hint about failure due to disabled core URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=74fb899d4b1d1ca57d734228054e544cdac68b1d Author: Philippe Gerum <r...@xenomai.org> Date: Thu Jun 1 09:43:53 2017 +0200 cobalt/syscalls: reject binding attempt to disabled core with EAGAIN URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=e04b9cc77c5b2bdd83429ca8354e149e1bbf0c80 Author: Philippe Gerum <r...@xenomai.org> Date: Wed May 24 17:41:41 2017 +0200 cobalt/arm64: no fpsimd support in real-time kthread context URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=064e2718b28e5ad1a9ead6258744d8d0f323801e Author: Philippe Gerum <r...@xenomai.org> Date: Mon May 22 12:06:46 2017 +0200 cobalt/arm64: use regular context switching code Since 4.9.x, the interrupt pipeline implementation guarantees that the regular context switching code may be used over the head stage, including the fpu management bits. Drop the open coded support and use mainline's implementation instead. At this chance, drop the useless conditionals for handling the non-FPU case: this one does not apply to arm64. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=927c26279df63b85f26d8647119792563a2cf630 Author: Philippe Gerum <r...@xenomai.org> Date: Mon May 15 17:03:02 2017 +0200 cobalt/arm64: fix build w/ pre-4.8 kernels URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=b98b00dbad1a77499b6f09fa68f9668367cb8db2 Author: Philippe Gerum <r...@xenomai.org> Date: Sun May 14 19:41:55 2017 +0200 cobalt/arm: fixups for kernel 4.8+ At this chance, stop using the obsolete flush_cache_all() routine which cannot honor the documented semantics for arm64. Besides, calibrating the access times to the timer registers in no-cache conditions does not make sense. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=fb00c51e23f2e95a5afc93344077822ad7f1476f Author: Philippe Gerum <r...@xenomai.org> Date: Sat Feb 15 16:42:09 2014 +0100 config: bump UAPI level URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ef1f0cef064f96d985ab6a93ded4fb97cc25149c Author: Philippe Gerum <r...@xenomai.org> Date: Wed Feb 15 16:17:54 2017 +0100 cobalt/arm64: add README URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=05a699a1a4e901dababed7e926b59236a3881b84 Author: Jan Kiszka <jan.kis...@siemens.com> Date: Tue Dec 6 16:34:48 2016 +0100 smokey/posix-mutex: Fix test case by destroying barriers correctly At least on x86-64-compat, the missing destruction of the smokey barriers, specifically their embedded mutexes, cause crashes of the test. The reason is likely a mismatch between the kernel's and userland's view on which object is still active, combined with the fact that userland kept them on the volatile stack. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=b62f719d64891a07caa7641200111f9b4bb34e4b Author: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> Date: Wed Mar 30 13:30:11 2016 -0400 gpiopwm: display udp server information URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=afff7b593e8e688b3e0c6fc83d7c5d24f267aa69 Author: Jorge Ramirez-Ortiz <j...@xenomai.org> Date: Tue Mar 15 19:18:15 2016 -0400 gpiopwm: pwm signal generator and servo motor control demo code URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=3c2e01b5da5c803948d65d77ec985c78140c8945 Author: Jan Kiszka <jan.kis...@siemens.com> Date: Mon May 30 14:58:07 2016 +0200 lib/cobalt: Provide RT-capable usleep User may expect this (probably last) sleeping service to be available under Cobalt just like sleep, nanosleep & Co. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ba95a1bb97da30b34656087deb2dd8e2bcd26f6e Author: Jorge Ramirez-Ortiz <jorge.ramirez-or...@linaro.org> Date: Wed Oct 5 21:34:27 2016 +0200 utils/analogy: fix error check [SIGSEGV] URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=c0ce6d4ab7ba31bf8468b3943b602bc382c06ce0 Author: Philippe Gerum <r...@xenomai.org> Date: Fri Sep 9 16:07:54 2016 +0200 cobalt/arm64: thread: move all TCB initializers out of line Does not impact performances and fixes inclusion hell for pulling the struct xnthread definition for good. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ffb6112265b901bd5b8dbbbf6efa7e252744d3fc Author: Philippe Gerum <r...@xenomai.org> Date: Thu Sep 8 16:29:59 2016 +0200 cobalt/arm64: fpu: drop obsolete xnarch_save_fpu() URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=bc884823eda7d5b73e5438d99df3ac3783d4c986 Author: Philippe Gerum <r...@xenomai.org> Date: Sun Aug 7 11:29:06 2016 +0200 net/drivers/e1000: work around UMR issue URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=64b6c62012acb983a7941ddbf635d5d860245905 Author: Philippe Gerum <r...@xenomai.org> Date: Thu Jul 7 17:05:16 2016 +0200 cobalt/syscalls: allow for handing over mode selection to syscall handlers Specific system calls may benefit from dealing with the caller's runtime mode by themselves, depending on internal information which the generic syscall dispatcher does not have access to. To this end, a new syscall mode called "handover" is introduced. Syscalls bearing this mode bit are always entered from the current calling domain. The syscall handler may return -ENOSYS to trigger a switch to the converse domain until all domains have been visited once, at which point the syscall fails with -ENOSYS automatically. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f54b4c67287623ea11b1e7bee3dbb064e82403e4 Author: Philippe Gerum <r...@xenomai.org> Date: Mon Jul 11 15:42:01 2016 +0200 cobalt/powerpc: remove dependency on obsolete CONFIG_MATH_EMU URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=17f68ab946addc42c9432f54952991fa743fc741 Author: Philippe Gerum <r...@xenomai.org> Date: Tue May 31 17:30:21 2016 +0200 boilerplate: add AVL library URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=0b536918b74d949eef356b8cd07b85b2ccba7868 Author: Philippe Gerum <r...@xenomai.org> Date: Tue May 24 09:43:29 2016 +0200 boilerplate/libc: add placeholder for pthread_setschedprio() For outdated uClibc. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=7684192a061680c80feebe19678cd6d1b8e2cb0f Author: Jan Kiszka <jan.kis...@siemens.com> Date: Tue Mar 8 14:46:59 2016 +0100 lib/cobalt: Wrap pthread_setschedprio for proper real-time support Implement pthread_setschedprio on top of pthread_setschedparam_ex with the help of the new __SCHED_CURRENT policy. This ensures that prio changes are directly applied to the real-time core, and that with just a single syscall. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=63e770e5ed407bf4516ded0b76c151077a8168eb Author: Jan Kiszka <jan.kis...@siemens.com> Date: Tue Mar 8 14:41:28 2016 +0100 cobalt/kernel: Introduce __SCHED_CURRENT policy to setschedparam_ex Define the internal scheduling policy "current": it shall refer to the target thread's current scheduling policy. This will allow to model pthread_setschedprio on top of pthread_setschedparam_ex with only a single syscall. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=3c774ad1cd4244ccac6a56317c9415ea5eae2ff2 Author: Jan Kiszka <jan.kis...@siemens.com> Date: Mon May 9 21:22:23 2016 +0200 cobalt/kernel: Trigger missing reschedule after PP deboost xnsynch_release also needs to tell the caller about the potential need for a reschedule after deboosting for prio-protection. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=9d95e43b5839f37eac0b98998e412cc3b6f44f71 Author: Jan Kiszka <jan.kis...@siemens.com> Date: Mon May 9 21:19:04 2016 +0200 cobalt/kernel: Return need_resched flag from xnsynch_release We currently return the next owner, but no caller of xnsynch_release evaluates this beyond != NULL and calls xnsched_run in that case. Simplify the API by returning a need_resched flag directly. This will also help with fixing the missing reschedule after PP deboost. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=18d81992d711c170209851b04242ea4388a330ef Author: Philippe Gerum <r...@xenomai.org> Date: Sun Mar 20 18:51:17 2016 +0100 config: bump version info to 3.1-devel URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4b178c4a592891d0b4b93284781ee29fb8343db9 Author: Philippe Gerum <r...@xenomai.org> Date: Sun Mar 20 17:58:33 2016 +0100 lib/cobalt: add config switch to enable lazy setsched update mode --enable-lazy-setsched should be given for enabling lazy propagation of scheduling parameters upon calls to pthread_setschedparam*(), sched_setscheduler(). Defaults to off. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=901c2738b141f1eeee6c4a0eb13d64ec3e26155a Author: Philippe Gerum <r...@xenomai.org> Date: Sun Mar 20 17:20:58 2016 +0100 boilerplate/libc: provide placeholders for prioceiling ops URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=e7ca5fb67ff26741f205d204728000e7e63ba7e7 Author: Philippe Gerum <r...@xenomai.org> Date: Fri Mar 18 12:12:27 2016 +0100 lib/cobalt: use lazy schedparam propagation Do not switch to secondary mode upon schedparam updates for propagating changes to the regular kernel, if the caller runs in primary mode when entering pthread_setschedparam*() or sched_setscheduler(). In such a case, the update request to the regular kernel is left pending until the target thread resumes execution in relaxed mode, at which point it is committed. CAUTION: This mechanism won't update the schedparams cached by the glibc for the caller in user-space, but this is the deal: we don't relax threads which issue pthread_setschedparam[_ex]() from primary mode anymore, but then only the kernel side (Cobalt and the host kernel) will be aware of the change, and glibc might cache obsolete information. If the caller already runs in relaxed mode on entry to these services, the update request takes place immediately, via the regular (g)libc calls. In any case, the new scheduling parameters for the target thread are immediately applied by Cobalt, regardless of the update path followed for the regular kernel. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=7788d3198c23e5f009fcc78fdb8e0ab18f9b42dd Author: Philippe Gerum <r...@xenomai.org> Date: Fri Mar 18 12:12:50 2016 +0100 cobalt/thread: add schedparam lazy propagation Provide a mechanism for carrying out a lazy propagation of schedparam updates to the regular kernel, so that userland does not have to switch to secondary mode for this. When userland issues sc_cobalt_thread_setschedparam_ex for updating the scheduling parameters of a Xenomai thread, a request for propagating this change to the regular kernel is made pending. Such request will be committed later, either when: - the thread relaxes if it is running in primary mode when the update request is received; - next time the thread calls back into the Cobalt core as a result of receiving a HOME action from a SIGSHADOW notification, which is sent if such thread was relaxed at the time of the update request. As a result, the target thread will have propagated the schedparams update to the regular kernel as soon as it resumes (relaxed) execution in user-space. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=512449f7bab18d00eef615216f2a3cfdd250a2f0 Author: Jan Kiszka <jan.kis...@siemens.com> Date: Thu Feb 25 11:29:00 2016 +0100 smokey/posix-mutex: Fix test case /wrt mutex object reuse Mutex objects created on the stack must be properly destroyed after use. Otherwise, succeeding tests that use the same stack layout will consider them busy and refuse to recreate the mutexes. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ee340afc4398bdae9472def4e213fc9d9b355e48 Author: Philippe Gerum <r...@xenomai.org> Date: Wed Feb 17 09:21:27 2016 +0100 testsuite/smokey: mutex: simplify, introduce PP tests At this chance, the lock stealing test is also fixed. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=315e1571cfd924264a9d0f4608357685df3b2e32 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Feb 16 10:13:03 2016 +0100 lib/cobalt/mutex: add support for priority ceiling protocol URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=32abccae763bdf7dcb6a37e5666f547814cbcdf3 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Feb 16 10:12:55 2016 +0100 cobalt/synch: add support for priority ceiling protocol URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4d91ca7b52a539287abd3e7b5de1595fe6c07500 Author: Philippe Gerum <r...@xenomai.org> Date: Thu Mar 3 09:16:21 2016 +0100 cobalt/wrappers: add wrapper for reinit_completion() URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=57e10fbb4892cbbb0fa3f7159e64df4edd1f6e73 Author: Philippe Gerum <r...@xenomai.org> Date: Fri Feb 26 11:44:16 2016 +0100 testsuite/smokey: add test checking Cobalt's cpu affinity control URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=1feecb1525de9fa7fbcda96e5b2848c9e6ded906 Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org> Date: Sun Nov 1 19:14:40 2015 +0100 testsuite/smokey: add RTnet raw packets test URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=a5c6ed882844e4d2f16c2f2c6c63015876577463 Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org> Date: Sun Oct 11 16:05:18 2015 +0200 testsuite/smokey: add RTnet testsuite Starting with UDP and raw sockets. Measuring round trip time and checking for lost packets. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=8e4a25ad1eb0a93bd070c682efa9052e462cc8ae Author: Philippe Gerum <r...@xenomai.org> Date: Sat Nov 14 18:17:49 2015 +0100 cobalt/arm64: drop obsolete config knob All existing ARM64 pipeline implementations provide the CONFIG_IPIPE_WANT_PREEMPTIBLE_SWITCH knob, which is tested directly in the Xenomai code base. No need for CONFIG_XENO_ARCH_UNLOCKED_SWITCH anymore. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=bdda316c0eb7f81642c25b691afd6a9ef1e1905d Author: Philippe Gerum <r...@xenomai.org> Date: Sat Nov 14 18:14:53 2015 +0100 cobalt/powerpc: drop obsolete config knob As of fbe1164, CONFIG_XENO_ARCH_UNLOCKED_SWITCH is not tested anymore in the code base. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=73d9322b8439c8c089cbbe15c4b75e995396df7f Author: Philippe Gerum <r...@xenomai.org> Date: Sat Nov 14 18:07:15 2015 +0100 cobalt/sched: detect preemptible switch support in pipeline CONFIG_XENO_ARCH_UNLOCKED_SWITCH is merely an alias for CONFIG_IPIPE_WANT_PREEMPTIBLE_SWITCH, which is only meaningful to the ARM architecture, now that PowerPC dropped such support. Use the pipeline symbol directly to make the dependency explicit. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=1e0c06e3e526090eeaa66add27bb325e6c0a17ba Author: Philippe Gerum <r...@xenomai.org> Date: Sat Nov 14 16:41:13 2015 +0100 cobalt/powerpc: drop support for unlocked context switch This feature never actually brought any measurable gain on powerpc platforms, compared to the complexity of its implementation in the pipeline. It was primarily aimed at reducing latency for interrupt handlers when costly cache and TLB flushes are required to switch context, at the expense of increasing the scheduling latency. It turned out to be counter-productive on common powerpc platforms, with efficient MMUs. This feature has been default off for a while now, and 4.1+ pipelines won't provide support for it anymore. Time to drop support from Xenomai too. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=df78a27de220b61ff435984335c7677fa404859f Author: Philippe Gerum <r...@xenomai.org> Date: Sat Nov 14 15:21:02 2015 +0100 cobalt/arm: track current mm unconditionally All pipelines Cobalt can work with (i.e. 3.10+) for the arm architecture do provide the mm tracking feature unconditionally, so there is no point in keeping any build switch for it. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=0747d3851911d3e7f2a38769f847cdb8ad7a0cba Author: Philippe Gerum <r...@xenomai.org> Date: Sat Nov 14 15:21:02 2015 +0100 cobalt/powerpc: track current mm unconditionally All pipelines Cobalt can work with (i.e. 3.10+) for the powerpc architecture do provide the mm tracking feature unconditionally, so there is no point in keeping any build switch for it. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=75aa654e4dd9e66d428b89c645acdc7ecee7ccf5 Author: Philippe Gerum <r...@xenomai.org> Date: Sat Nov 14 14:47:44 2015 +0100 cobalt/thread: track thread_info unconditionally We almost always want to track the thread_info structure of the host task in the core tcb, and doing so is cheap, so there is no point in building this support conditionally. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=d64b071ff270ff12ebfb51b163e98040b7706025 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Nov 3 13:11:25 2015 +0100 cobalt/kernel: fixup for v3.19+ (trace_seq) URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=65a80437af282c98382d0624acefc428840be744 Author: Philippe Gerum <r...@xenomai.org> Date: Mon Nov 2 15:41:31 2015 +0100 cobalt/arch: fixup READMEs URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f87b7910f64dd6bbaf653bd539c70422d4866872 Author: Philippe Gerum <r...@xenomai.org> Date: Sun Nov 1 17:22:33 2015 +0100 cobalt/arm64: add README for I-pipe support URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4b372937c8e47e1c9837cda639b97785f5ca456d Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org> Date: Fri Oct 30 17:14:00 2015 +0100 cobalt/arm64: attempt at fixing fpu switch Return to eager switching, since user-space applications use FPU registers even when not using the FPU, but use an auxiliary backup area when the "TIF_FOREIGN_FPSTATE" bit is set, in order to avoid clobbering the saved FPU state. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=41969c0cd2706547d7ec0adcd645c90794d6bd59 Author: Philippe Gerum <r...@xenomai.org> Date: Sat Oct 24 15:52:48 2015 +0200 testsuite/smokey: add basic FPU stress test URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=33bd706566c512fb3e1425d699a34b7ecf316624 Author: Philippe Gerum <r...@xenomai.org> Date: Fri Nov 17 19:03:04 2017 +0100 cobalt/arm64: add syscall decoding helper URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=1c71d1d328ac11dacd70105a0bd88468a794acf4 Author: Philippe Gerum <r...@xenomai.org> Date: Thu Oct 22 14:45:05 2015 +0200 cobalt/arm64: disable callee-saved logic in fptest helpers We don't want GCC to apply any callee-saved logic to fpsimd registers in fp_regs_set() before fp_regs_check() can verify their contents, but we still want GCC to know about the registers we have clobbered. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f40d6bc35de17aebec454824a5b1f8c19a7cba07 Author: Philippe Gerum <r...@xenomai.org> Date: Mon Oct 19 15:54:55 2015 +0200 cobalt/arm64: switch to regular system call convention URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=e8971872299c613c44985d466e77cde912efc11a Author: Philippe Gerum <r...@xenomai.org> Date: Mon Oct 19 10:38:21 2015 +0200 cobalt/arm64: use lazy fpsimd switch mode URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=a98089518835c55ca7ef3993d342b6476ccfd9f9 Author: Philippe Gerum <r...@xenomai.org> Date: Sat Oct 17 18:07:59 2015 +0200 cobalt/arm64: use regular context switching code Instead of open coding a copy of the regular context switching code, use __switch_to() directly, assuming the pipeline properly serializes switches from all domains. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=8be1104ce7931140cb6f8d2c873e177b2129b8dc Author: Philippe Gerum <r...@xenomai.org> Date: Sat Oct 17 14:43:25 2015 +0200 cobalt/arm64: drop useless test on target architecture URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=897dc0d3d508afa4797388852208cb695ea106db Author: Philippe Gerum <r...@xenomai.org> Date: Sat Oct 17 14:40:53 2015 +0200 cobalt/arm64: fix inclusion guards URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=028c84293c6ce4f8b21d1016bbd51aaffd0b4ab1 Author: Don Mahurin <d...@mperpetuo.com> Date: Mon Sep 14 12:52:27 2015 -0700 cobalt/arm64: Use empty mayday implementation for arm64. The arm mayday implementation was not correct for arm64. Replace with empty implementation. Handle mayday in the linux domain, using xnthread_relax. This change is essentially the same as the general change proposed in the 'Mayday issues again' discussion (Jan Kiszka, Jun 21), though only applied to arch/arm64. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=da84457466505f5cc2d9959a62674f2d4a482a20 Author: Dmitriy Cherkasov <dmit...@mperpetuo.com> Date: Fri Oct 2 12:54:37 2015 -0700 cobalt/arm64: FPU code cleanup URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=6dc425c4a7d1e7be2ddde2dc1db2a5338e654d1d Author: Dmitriy Cherkasov <dmit...@mperpetuo.com> Date: Thu Oct 1 15:47:41 2015 -0700 cobalt/arm64: add lazy FPU switching URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=9c478c2e7aa97fad99959cb0f15f5960ec29b8f8 Author: Dmitriy Cherkasov <dmit...@mperpetuo.com> Date: Mon Sep 28 16:13:45 2015 -0700 cobalt/arm64: fix fpu exception names URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=e51d5670de96b726f00c1b13b5321c836c916770 Author: Dmitriy Cherkasov <dmit...@mperpetuo.com> Date: Fri Sep 11 17:58:54 2015 -0700 cobalt/arm64: add basic FPU support URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=a2c2e8dfc3c6e3a69a5752cced0b04d6a0fdd4d3 Author: Philippe Gerum <r...@xenomai.org> Date: Thu Sep 17 15:08:34 2015 +0200 cobalt/arm64: leave mm tracking to the pipeline URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=8a5be26c1c1f2b7d7d32bec32403c0f01f9014ec Author: Philippe Gerum <r...@xenomai.org> Date: Thu Sep 17 11:43:50 2015 +0200 cobalt/arm64: restrict unlocked switch to SMP Unlocked switching for Xenomai/ARM was specifically introduced for improving the interrupt latency on low-end armv4/armv5 platforms with VIVT caches. The once massive overhead imposed on the MMU context switching code for invalidating the cache is long gone with VIPT indexing, and keeping IRQs off while switching the memory context on armv8 these days is not an issue. Actually, the complexity of the code involved in dealing with unlocked switching may overbalance the expected gain. However, the mainline kernel implementation for ASID management in the SMP case currently requires us to keep IRQs enabled when allocating a new MM context over the Xenomai domain, just like it did for aarch32 during the 2.6.3x time frame until the IPI-based approach was eventually dropped. So, let's restrict unlocked switching to the SMP case, forcing it off otherwise, in the hope we can drop it entirely in the future. At this chance, CONFIG_IPIPE_WANT_PREEMPTIBLE_SWITCH moves to the kernel area, where it actually belongs. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=9339021880e128627a32577fcee85590f5bdc297 Author: Philippe Gerum <r...@xenomai.org> Date: Thu Sep 17 04:01:49 2015 +0200 cobalt/arm64: sanitize calibration file URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f6b8e25e5b71e460af9713731f3b52b7875300f2 Author: Philippe Gerum <r...@xenomai.org> Date: Thu Sep 17 02:19:57 2015 +0200 cobalt/arm64: assume TLS is properly supported URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=56a2a5b620cf5d19562707a9488646eae28b5f7c Author: Philippe Gerum <r...@xenomai.org> Date: Thu Sep 17 02:16:10 2015 +0200 cobalt/arm64: drop aarch32 bits from feature set URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=b7eeb2e2d49e29f082c0fa5a8e83af9ff8d7a37f Author: Don Mahurin <d...@mperpetuo.com> Date: Wed Sep 2 13:48:36 2015 -0700 cobalt/arm64: fix build for mismatched printf type (%lx,u64) on arm64. pc and orig_r0 are u64 on arm64 and 'unsigned long' or arm and other platforms. printf referencing these are using %lx. On arm64, long and long long (and u64) are 64 bits. Rather than changing printf format, chnage arm64 macros to cast to unsigned long. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=266c4a6cb613db7ef08f8fab4c2b3367ba1c4fde Author: Dmitriy Cherkasov <dmit...@mperpetuo.com> Date: Wed Jun 17 16:09:20 2015 -0700 cobalt/arm64: machine.h: use slightly faster ffnz implementation URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=3e26ab090d95c6eac99ab6ff0df0a1e5308f14e1 Author: Dmitriy Cherkasov <dmit...@mperpetuo.com> Date: Mon Jun 15 17:10:37 2015 -0700 cobalt/arm64: machine.h: Add 64-bit ffnz implementation. This fixes crash when running xddp-echo. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=bf9f1022420359656f7e051093bd0a5b51182d4a Author: Dmitriy Cherkasov <dmit...@mperpetuo.com> Date: Fri May 15 23:26:18 2015 -0700 cobalt/arm64: thread: use kernel switch_to URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=a106b13b5e6c9fe1019b6a013760308fa72b765a Author: Don Mahurin <d...@mperpetuo.com> Date: Wed May 13 09:36:25 2015 -0700 lib/cobalt/arm64: replace tsc counter URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=c09d98ee231af63c8c5f1b3179f447a89baf9cf3 Author: Dmitriy Cherkasov <dmit...@mperpetuo.com> Date: Fri May 8 15:54:18 2015 -0700 cobalt/arm64: xenomai/syscall.h: update syscall register URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=c6b1705596c4cf60177063809e9625d4ac2a6f50 Author: Dmitriy Cherkasov <dmit...@mperpetuo.com> Date: Wed May 6 15:27:10 2015 -0700 cobalt/arm64: prepare-kernel: add arm64 arch URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=12f301abd4661fa343ff64bba9207cf546ce3858 Author: Don Mahurin <d...@mperpetuo.com> Date: Fri May 8 10:39:32 2015 -0700 lib/cobalt/arm64: implement syscall for armv8/aarch64 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=2616910a92510f02a48ea8f73a2a48ca238ba292 Author: Don Mahurin <d...@mperpetuo.com> Date: Fri May 8 10:39:01 2015 -0700 lib/cobalt/arm64: add __LINUX_ARM_ARCH__ form armv8/aarch64 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=fda87953efe808bceaaa76723334fbbafdad4f3d Author: Don Mahurin <d...@mperpetuo.com> Date: Fri May 8 10:37:36 2015 -0700 lib/cobalt/arm64: disable kuser tsc get setting for armv8/aarch64 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=dcd907cf399f7df987d8c2c46bcc95b47efc017b Author: Dmitriy Cherkasov <dmit...@mperpetuo.com> Date: Thu May 7 16:41:45 2015 -0700 cobalt/arm64: set cache aliasing and disable floating point coprocessor instructions form aarch64/arm64 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=e450cfb49a4b017b0855e51b49b1f49e1bbe9a82 Author: Dmitriy Cherkasov <dmit...@mperpetuo.com> Date: Thu May 7 16:41:09 2015 -0700 cobalt/arm64: thread.h & syscall.h: fix register references for arm64 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=5861e176d2ca5f24a4d887218897db58f1c5dd8e Author: Dmitriy Cherkasov <dmit...@mperpetuo.com> Date: Thu May 7 16:40:07 2015 -0700 cobalt/arm64: features.h: disable XNARCH_HAVE_LLMULSHFT, XNARCH_HAVE_NODIV_LLIMD for armv8/aarch64, as arm64 does not have these URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=23940671b6d88464a313b97d061b52558f8ed274 Author: Dmitriy Cherkasov <dmit...@mperpetuo.com> Date: Thu May 7 13:58:14 2015 -0700 cobalt/arm64: update register struct usage for arm64 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=9118c9137100ac246ed97b018030aeb678ad7aa6 Author: Dmitriy Cherkasov <dmit...@mperpetuo.com> Date: Thu May 7 13:56:22 2015 -0700 cobalt/arm64: remove code for unrelated arm architecture URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=88771b7fdd6e617f14293a9c2b6722c34b0a7aaa Author: Dmitriy Cherkasov <dmit...@mperpetuo.com> Date: Thu May 7 13:54:32 2015 -0700 cobalt/arm64: Makefile: fix arch path URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=11e546f1406153cc59422db7e99dcf826abecc0d Author: Dmitriy Cherkasov <dmit...@mperpetuo.com> Date: Wed May 6 15:27:23 2015 -0700 cobalt/arm64: populate arch/arm64 with a copy of arch/arm. kernel/cobalt/arch/arm -> kernel/cobalt/arch/arm64 lib/cobalt/arch/arm -> lib/cobalt/arch/arm64 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=83a0f26387755aaa100fddd98a6288c1941102ab Author: Philippe Gerum <r...@xenomai.org> Date: Wed Feb 14 18:23:01 2018 +0100 net/ipv4: opt in for non-deliverable packet warning URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=961b6bc66461782eca5ff53ebbfa0f5582d93326 Author: Philippe Gerum <r...@xenomai.org> Date: Mon Feb 5 17:35:20 2018 +0100 net/stack: restore original deletion sequence for service tasks Restore the original sequence for deleting an internal service task that should most likely be waiting for an input event: first destroy the event resourcen, which should trigger immediate return from the wait call with -EIDRM, then send a cancellation request via rtdm_task_destroy() for good measure to exit the work loop if the task was not aslept on that event. This obviously assumes that all callers waiting for events do check for the return value, as they must do. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=3221b25827d3bbe4c072d5c2fb2c5db453646334 Author: Philippe Gerum <r...@xenomai.org> Date: Mon Feb 5 17:24:10 2018 +0100 net/tdma: prevent crash on detaching the TDMA discipline See http://xenomai.org/pipermail/xenomai/2018-January/038247.html and http://xenomai.org/pipermail/xenomai/2018-January/038249.html URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=6706b75b2707df0d10d716b402a975d9c2f15a24 Author: Philippe Gerum <r...@xenomai.org> Date: Fri Jan 26 11:51:42 2018 +0100 net/proxy: stop updating netdev->last_rx with kernel 4.11+ The network stack stopped using netdev->last_rx a long time ago, and this field was removed during the 4.11 development cycle (#4a7c972644c1). URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=c1eab42879fb76ff6846e0e429964ab1efc30ee4 Author: Philippe Gerum <r...@xenomai.org> Date: Thu Jan 18 10:49:19 2018 +0100 net/socket: forward private ioctl requests to NIC driver This allows RTnet to define requests in the SIOCPROTOPRIVATE range for identifying device-specific features added to the converted NIC driver. Therefore, no excution mode is enforced by the base handler, the callee should check for the current mode, returning -ENOSYS to trigger the adaptive switch if required. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=76d1e5dc308d72f94c046c93cad6b9ade7a4d14c Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jan 23 12:03:51 2018 +0100 net/socket: align rtdev do_ioctl handler on the regular ndo_do_ioctl Align on the signature of the regular ndo_do_ioctl() handler for interface-directed ioctl requests, since an ifr block must have been provided by the caller to determine the device to hand over the request to anyway. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f1af9ead1809b8637167c3396f273811485508e3 Author: Philippe Gerum <r...@xenomai.org> Date: Thu Jan 18 10:37:01 2018 +0100 net/socket: enforce secondary mode for SIOCETHTOOL Assume this feature was originally provided by the regular driver converted to RTNet, which we may want to support thoroughly, including when tapping into the common PHY layer is required. To this end, we need to enter the ioctl handler from secondary mode only, which is not supposed to be an issue since there is no point is expecting ethertool requests to be part of the time-critical code anyway. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=810b29e52c57eeb7fd15c467219db2f21e25b6a9 Author: Philippe Gerum <r...@xenomai.org> Date: Sun Jan 7 18:24:18 2018 +0100 net/packet: ioctl: remove direct references to user memory (3) URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=53fd3603c349bdf14d91741f832d8cd222857477 Author: Philippe Gerum <r...@xenomai.org> Date: Wed Dec 6 13:41:06 2017 +0100 net/iovec: drop useless kernel<-> iovec[] copy helpers No more in-tree users for those, in the wake of dropping the broken direct references from the kernel to user-space memory. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=6686e95f0bdf99496daf620f8937e27efae849d4 Author: Philippe Gerum <r...@xenomai.org> Date: Wed Dec 6 13:40:19 2017 +0100 net: convert to rtdm_get_iov_flatlen() URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=7213883b9b9bc132e78758f1973c6375c5413969 Author: Philippe Gerum <r...@xenomai.org> Date: Wed Dec 6 13:17:20 2017 +0100 net/tcp: {recv|send}msg: remove direct references to user memory URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=dea6c90fe8156e041aff4cfaa5cb9bd714eae763 Author: Philippe Gerum <r...@xenomai.org> Date: Wed Dec 6 12:45:58 2017 +0100 net/udp: sendmsg: remove direct references to user memory URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=5524a70545e71c24863b6070de7fdd818fe74b7d Author: Philippe Gerum <r...@xenomai.org> Date: Wed Dec 6 12:47:55 2017 +0100 net/udp: recvmsg: write back namelen only if name required URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=c3c1eb793fa8605eac3bbc3a4ad2ab94e7f57840 Author: Philippe Gerum <r...@xenomai.org> Date: Wed Dec 6 12:45:31 2017 +0100 net/udp: recvmsg: remove direct references to user memory URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f297fb6b30b462f1e0f202f5814265122a04399a Author: Philippe Gerum <r...@xenomai.org> Date: Tue Dec 5 18:56:12 2017 +0100 net/packet: sendmsg: remove direct references to user memory URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=52c01f0509e9dda3c9aaee6617c7b92c83c19a82 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Dec 5 10:36:07 2017 +0100 net/packet: recvmsg: write back namelen only if name required URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=6751200a5d9ccdebda4707d785db38791feb6e73 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Dec 5 10:31:32 2017 +0100 net/packet: recvmsg: remove direct references to user memory URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=1348931446199a8527f51b3d6fb86ceb084dad6b Author: Philippe Gerum <r...@xenomai.org> Date: Mon Dec 4 19:21:23 2017 +0100 net/udp: ioctl: remove direct references to user memory URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4ed32a2bc24afafbbb92c4a600ed37266a45d080 Author: Philippe Gerum <r...@xenomai.org> Date: Mon Dec 4 19:21:18 2017 +0100 net/tcp: ioctl: remove direct references to user memory URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4660d534c7fd3b68f562b726602b043a9013a9e0 Author: Philippe Gerum <r...@xenomai.org> Date: Mon Dec 4 19:40:34 2017 +0100 net/packet: ioctl: remove direct references to user memory URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=dc760156898651fa148f55900db267da2a6ed1b2 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Dec 5 15:34:17 2017 +0100 net/iovec: add copy iterators for iovec[] URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4e21e99cf3fcb4299868e1ebd7d53decf2179acd Author: Philippe Gerum <r...@xenomai.org> Date: Thu Mar 1 11:48:41 2018 +0100 net/socket: ioctl: remove direct references to user memory URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4a9db1388a4d095f763b8243c5bb527e5f83ba73 Author: Philippe Gerum <r...@xenomai.org> Date: Mon Dec 4 17:49:19 2017 +0100 net/tcp: fix invalid reference in getsockopt() URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=121a66577de900882317759d95b5f52a4aeb7e61 Author: Philippe Gerum <r...@xenomai.org> Date: Mon Dec 4 16:52:24 2017 +0100 net: wire up corectl interface A bug in some Makefile rule caused the corectl support to be wrongly omitted from the object list for building rtnet.ko. As a consequence of this, there is no way the smokey-based RTnet testsuite could have ever worked. Wire up the corectl handler to the Cobalt core as expected. URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=48219f7d3598f6e33adba8114729970d21cefecc Author: Philippe Gerum <r...@xenomai.org> Date: Fri Jun 16 18:07:26 2017 +0200 net/cap: fix panic in rtcap_signal_handler() _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git