URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=8f54824d94beaa549552d4c7eea54e6e4d86afe2
Author: Philippe Gerum <[email protected]>
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=35f8e79e1ee05138749d986f6e1a1cccf234d3e5
Author: Jan Kiszka <[email protected]>
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 <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=599aac98cd1f96aa3689b70267753856c8644fe1
Author: Jan Kiszka <[email protected]>
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 <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ca028e0620a7d23183000a9ea93a35f0246bbbb4
Author: Jan Kiszka <[email protected]>
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 <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=e06266abfe5bd6ea7b4ca5b9497f9f8b4d8812ce
Author: Jan Kiszka <[email protected]>
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 <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=8c2e95b32a986b4a790ae3f2bc4a073bddd7832c
Author: Jan Kiszka <[email protected]>
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 <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=b9a86cd737ba92dc92fddfc9247adb9ff054337b
Author: Jan Kiszka <[email protected]>
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 <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=297027123e7f0332c98e610c54f857b52ff84c15
Author: Jan Kiszka <[email protected]>
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 <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=72ffff3193f39b870215ccc9e947b33b558e3705
Author: Jan Kiszka <[email protected]>
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 <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=fab34949c267dee6518f4925b00238b3b50cd095
Author: Jan Kiszka <[email protected]>
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 <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=e97f4f00bfd514508d59c030f3f6fd2336216ffe
Author: Jan Kiszka <[email protected]>
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 <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=d1877e17f9b68a91dd9ec7f31dc21db00e87e4f7
Author: Philippe Gerum <[email protected]>
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=a29ac7bab533a9f56668bc927e2b74106d9002c4
Author: Jan Kiszka <[email protected]>
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 <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=133d1a5c6e6a12b6a515988e88636fe0d3b0ed83
Author: Jan Kiszka <[email protected]>
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 <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=e6264f6f27f8f6b71c83c42b04f0804bf1ccb6c4
Author: Jan Kiszka <[email protected]>
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 <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=cfcd6dec7b9c4d21bf6da97551ce30501cdcfaa8
Author: Jan Kiszka <[email protected]>
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 <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=26e0ceadbe03042f14c49d594a20ad34be45d6dc
Author: Philippe Gerum <[email protected]>
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=75fd422e2e4380aca51a1a44d3a48526516d6bca
Author: Philippe Gerum <[email protected]>
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=5010bc23eead4e391ac2b2f668b5caeecf596c0b
Author: Philippe Gerum <[email protected]>
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=6861f1241fe0f597aa38ee0779db5bfc3dc8e905
Author: Philippe Gerum <[email protected]>
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=86dffddd08a71cf21121b2ec9621c1a1e3f148ec
Author: Philippe Gerum <[email protected]>
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=0b5f66534a0a6bc44ec653842062964020066286
Author: Philippe Gerum <[email protected]>
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=9c9407911a50165a56d7a08a5f9d2cc4778107ac
Author: Philippe Gerum <[email protected]>
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=1af9289004a76653c5018431d61daa98cff63706
Author: Philippe Gerum <[email protected]>
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=bbbd7227201ee1ab359ada287b99c19af0364248
Author: Jan Kiszka <[email protected]>
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 <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ce5e6f8b27062c24bee76f381cb9c9a6e00daa2e
Author: Jorge Ramirez-Ortiz <[email protected]>
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=d93d685d99f0609959e595e8d53c9ad996e3b1dc
Author: Jorge Ramirez-Ortiz <[email protected]>
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=a759fc9d47bedb497ba4dfb06ac48398c578ef85
Author: Jan Kiszka <[email protected]>
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 <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=86a5c49f77203e6f9cc3c05e06967245c9352f8b
Author: Jorge Ramirez-Ortiz <[email protected]>
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=3135510293dee9a01600f2d5c5af23fc880b2fc6
Author: Philippe Gerum <[email protected]>
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=dcd34d00224647b49108ec971ac3d6a622da7851
Author: Philippe Gerum <[email protected]>
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=53a469c5bc4f3d6fbe2c67a48d2dd18415f2420a
Author: Philippe Gerum <[email protected]>
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=c1d20b33dc55baf2b279ae1af9ab3966bd0dfd00
Author: Philippe Gerum <[email protected]>
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=0a93859b9d445921624b700f900da536d1ade13c
Author: Philippe Gerum <[email protected]>
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=928072720f9a41d738a2a003c3f7579d69f29d71
Author: Philippe Gerum <[email protected]>
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=4483b5e00fdecabe265e67d70b5cc49d7027b684
Author: Philippe Gerum <[email protected]>
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=b6f74c6ef66761497be9d98d7b1bd7f4d2b45f1c
Author: Jan Kiszka <[email protected]>
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 <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=e85d0e560dcb9bb0fca53e3a9914be71c900d1ad
Author: Jan Kiszka <[email protected]>
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 <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4b3efa20f425e4e4c8b1786bf1b5348bd54fd37a
Author: Jan Kiszka <[email protected]>
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 <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=44c372a27bdada750e79303d60410031d9c9c409
Author: Jan Kiszka <[email protected]>
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 <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=940b4ec20eb91fb5974d8eb17469e296df65a35b
Author: Philippe Gerum <[email protected]>
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=43f84a9b23bc2e5cd3aba6b0f40daf56e14895f2
Author: Philippe Gerum <[email protected]>
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=8a77781ec5ad51edafa6c03398a1a959b59ea063
Author: Philippe Gerum <[email protected]>
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=5a489ac01efedcca19f78ae7755181e771c94064
Author: Philippe Gerum <[email protected]>
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=eff00c255007d2aa34e611b70e1928c3975369f9
Author: Philippe Gerum <[email protected]>
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=1f1d4bf085af1aeaa65186099396330d10d8c04c
Author: Jan Kiszka <[email protected]>
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 <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=cb4c2bfb6141514c9a5515806486e7252e19965d
Author: Philippe Gerum <[email protected]>
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=e90b70df3642235bd543870d3c9751030144fdf9
Author: Philippe Gerum <[email protected]>
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=59a392d38a23662b243dc64b418ebbe1aac8bdd3
Author: Philippe Gerum <[email protected]>
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=862b6b5da75ea916b35497ccd2f9e2efaa858d5c
Author: Philippe Gerum <[email protected]>
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=75e8d70462eaf977ed0a3a89e1b2d97021caadbc
Author: Philippe Gerum <[email protected]>
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=1c1a83e5db0c19b19a839557fc3c5bff78607753
Author: Gilles Chanteperdrix <[email protected]>
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=d9e2749a80d06d67ecc1a4cb598a80972e039eca
Author: Gilles Chanteperdrix <[email protected]>
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=a6c6a9c930f7ae078958320f9b7e4e9f18d047d5
Author: Philippe Gerum <[email protected]>
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=2a8c2a7ca609019c457005ec342c1461f6aeb2c8
Author: Philippe Gerum <[email protected]>
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=78cf94387db29ec0ce74720f8464b9f910294778
Author: Philippe Gerum <[email protected]>
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=33b825189eef75fdbefc32a328ea5d473b81425e
Author: Philippe Gerum <[email protected]>
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=74c2ef9a4eae0e1e793faa17aaf5684e6d5fc232
Author: Philippe Gerum <[email protected]>
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=60fbc89e69c38ca7c008736576384cbcad253b0b
Author: Philippe Gerum <[email protected]>
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=1902e542380e5c5a7d737a5b39e0a4dea5bd9fe7
Author: Philippe Gerum <[email protected]>
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=1885414f73d62d9aee9ad2c2722b5546e3ff0408
Author: Philippe Gerum <[email protected]>
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=03f3965680f030d97bbcb77daaa057fad83e43f7
Author: Philippe Gerum <[email protected]>
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=1d995c899ee6381d447ffd732b3dc287d950f32f
Author: Philippe Gerum <[email protected]>
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=9406a6a990473b256f94f688c262403231f71fde
Author: Gilles Chanteperdrix <[email protected]>
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=239f85ca7172e772c3fdb3420229af5cf16c4c64
Author: Philippe Gerum <[email protected]>
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=6e63779a0597b99154779e74f33d6c2151300e46
Author: Philippe Gerum <[email protected]>
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=7692e88ed3053d1fe664b47f1495f516e7b6819d
Author: Philippe Gerum <[email protected]>
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=4fbe9c7a8d619a7cc588a81e0133fa0075507e32
Author: Philippe Gerum <[email protected]>
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=e4e0a5af1678354944e9d8200ce3ae1c937d9b97
Author: Philippe Gerum <[email protected]>
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=95e50d0ebc7bd4e79d1c902ed13b329170b937af
Author: Philippe Gerum <[email protected]>
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=d1917530cd12a521dbf4106427017766624ec6de
Author: Philippe Gerum <[email protected]>
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=3f962ec69ec4ce26d6ba0e361053ceea8dacc80a
Author: Philippe Gerum <[email protected]>
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=aa07cdeccda02bd6e0181133af3db6575dabb041
Author: Don Mahurin <[email protected]>
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=71905e7c1ff875c0c856aa056e1e3777c5bd3ae4
Author: Dmitriy Cherkasov <[email protected]>
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=917d608b0cda0855b7e7d905d84df535213b94b9
Author: Dmitriy Cherkasov <[email protected]>
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=b2294dccdc820944a9fced461deddab254d67735
Author: Dmitriy Cherkasov <[email protected]>
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=552cc6d9eb54896893d95aa6690f5b744fd5c280
Author: Dmitriy Cherkasov <[email protected]>
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=b180b5dbcff00a28e9aeec0938424dd338254bf9
Author: Philippe Gerum <[email protected]>
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=6d0371c4eeec687a5628e10c7b47b4c70bd5c4d4
Author: Philippe Gerum <[email protected]>
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=14160a885e86954c641fdb3fbfd1b742f5a96a42
Author: Philippe Gerum <[email protected]>
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=a4c264bfa73a8ee8299e65c0953a5857ab8c1abd
Author: Philippe Gerum <[email protected]>
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=fe37f13344c04420a668348463b0bc3075f277d9
Author: Philippe Gerum <[email protected]>
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=355743865ad76524590e2c11b046a64067ce81f8
Author: Don Mahurin <[email protected]>
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=390a32e9d81431c063cb6bb715191f538c8f65a2
Author: Dmitriy Cherkasov <[email protected]>
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=50fb61ccc1871727072592feb1fd7ddf8ce983f2
Author: Dmitriy Cherkasov <[email protected]>
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=f752e8b2421f0362e1e04fb981fe291ab273865b
Author: Dmitriy Cherkasov <[email protected]>
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=b48d8b13367621396f45eb45ed76015d6ba520f5
Author: Don Mahurin <[email protected]>
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=69b5ae6bcd4c5d535cf27f89f1e9f5d408709ff8
Author: Dmitriy Cherkasov <[email protected]>
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=9f736b22960aaacda6fb33bbe1eeaec7f387a9a0
Author: Dmitriy Cherkasov <[email protected]>
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=b59d6001b5b047195f8a536a38ae10341882e235
Author: Don Mahurin <[email protected]>
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=17fa0fdd1fcbb3abf1ccc3df57b4e90fb75db6f9
Author: Don Mahurin <[email protected]>
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=bec06864a49960e363f7833f03bd949e42b224f3
Author: Don Mahurin <[email protected]>
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=9c3e6099462a987da57a2be9c03ff1c39958e47e
Author: Dmitriy Cherkasov <[email protected]>
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=537042282ee6efc8bf774f064d87b7239e408fc5
Author: Dmitriy Cherkasov <[email protected]>
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=39647fb5b6b4736ca2bb6d92022f69dd46e321cc
Author: Dmitriy Cherkasov <[email protected]>
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=2e0c557f2d6f2f641c6f35eabc1041d3360ebd74
Author: Dmitriy Cherkasov <[email protected]>
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=349aa24281ed379c4f7138be7ea0cfd1d7861888
Author: Dmitriy Cherkasov <[email protected]>
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=a8d80285d94fbd17e104b70e85e41fb7ec0c3b68
Author: Dmitriy Cherkasov <[email protected]>
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=9d7e2774a2b1f569ff66444fd60ae8430bf77c03
Author: Dmitriy Cherkasov <[email protected]>
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=7ffd31e5c576699f62f1e832eee610fd2372ed14
Author: Philippe Gerum <[email protected]>
Date: Thu Jan 11 15:50:28 2018 +0100
drivers/gpio: pass back allocated GPIO chip descriptor
rtdm_gpiochip_alloc() is a way to instantiate a single GPIO descriptor
instead of mapping all GPIO controllers defined by the firmware which
belong to a particular type. This routine is matched by
rtdm_gpiochip_remove() for deallocation.
We need the former to return a pointer to the allocated descriptor we
may then pass to the latter.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=8ba470914477247c42e0e5a56f145849b3eb6ecd
Author: Philippe Gerum <[email protected]>
Date: Thu Jan 11 12:30:23 2018 +0100
drivers/gpio: allow open coded IRQ handling
Some client code may want to deal with GPIO interrupt handling
directly, without support for an irq_chip controller paired with the
GPIO chip.
Assume that a failure to retrieve the IRQ number associated to a pin
means exactly that, offloading interrupt handling to an open coded
implementation the client code should provide for.
In parallel, introduce rtdm_gpiochip_post_event() for notifying the
GPIO core from an incoming interrupt event on a given pin.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=062ed8e1d9c38a4aa3f058561654600b37fb6c5d
Author: Philippe Gerum <[email protected]>
Date: Tue Jan 9 17:40:39 2018 +0100
drivers/gpio: expose GPIO chip allocation routine
For creating a new RTDM-based GPIO chip descriptor (struct
rtdm_gpio_chip), mapped to its regular counterpart (struct gpio_chip).
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=cbc6b87bed0fe7d6d932d943fc8ca0fb49bb5b71
Author: Marek Vasut <[email protected]>
Date: Tue Dec 19 13:43:15 2017 +0100
utils/can: Fix Makefile.am
Prefix CPPFLAGS and LDFLAGS with AM_ to make automake actually
use those and propagate external CPPFLAGS and LDFLAGS settings
into the build.
Signed-off-by: Marek Vasut <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f18416cd11628c37aef8b2c564f8174dfd3e80bf
Author: Philippe Gerum <[email protected]>
Date: Tue Dec 19 11:18:26 2017 +0100
boilerplate/bootstrap: dual-license the bootstrap source code
lib/boilerplate/bootstrap.c is meant to be glued to the application
executable for bootstrapping the Cobalt services automatically at load
up.
From the standpoint of its sole author (i.e. me), doing so adds no
requirement with respect to the licensing terms of the containing
application.
Allow lib/boilerplate/bootstrap.c to be distributed under the terms of
the MIT license to reflect this fact.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=07162c739707e14e19b18daec9e416bdb28f89e0
Author: Leopold Palomo-Avellaneda <[email protected]>
Date: Mon Nov 27 18:36:42 2017 +0100
net/drivers: fix compilation drivers
the local debug variable has a name-clash with a identically named
function in arch/x86/include/asm/traps.h
also a macro guard apparently used an outdated name.
This patch is equivalent than the proposed one by Norbert Lange
for the intel cards.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=5b616b6020fea59a54143988b85aa612d4f4ffc3
Author: Greg Gallagher <[email protected]>
Date: Sat Dec 9 04:50:00 2017 +0100
net/drivers: e1000: Fix up name collision, debug is already defined
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=514f7decb92648a9b1a25ba6005472eb83742d87
Author: Philippe Gerum <[email protected]>
Date: Wed Dec 6 16:51:44 2017 +0100
cobalt/posix/signal: drop non-sensical masking with obsolete __SI_MASK
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=d4c842d53acd4ec1f47bd25d712f7569e5d82211
Author: Philippe Gerum <[email protected]>
Date: Wed Dec 6 16:44:55 2017 +0100
cobalt: do not use obsolete GFP_TEMPORARY
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=b97fc97219b7d958a89a4f5b00b8e7de53733a81
Author: Philippe Gerum <[email protected]>
Date: Wed Dec 6 16:43:19 2017 +0100
cobalt/wrappers: convert to raw_copy_to/from_user() API
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=56f9dd3ff8b70880f4609a52c91372a27308c2ac
Author: Greg Gallagher <[email protected]>
Date: Mon Dec 4 04:31:00 2017 +0100
drivers/gpio: Add zynq-7000 rtdm gpio driver
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=70f9d8f15a3b4219cc86d49860e6b8b515954980
Author: Greg Gallagher <[email protected]>
Date: Tue Dec 5 09:39:05 2017 +0100
drivers/gpio: Request gpio at open()
For the zynq platform (and possibly others in the future) we need to modify
gpio-core to request gpio pins before using them. The open() function will
now request a gpio and fail if it's already reserved. This should make
the pin request transparent to the user. The ability to request and release
pins is also available in an ioctrl message. Tested on Microzed Zynq-7010
platform and the raspberry pi 2 board.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=03b70feabf8c9ad92ba8fef2c093769529fff9de
Author: Greg Gallagher <[email protected]>
Date: Mon Dec 4 14:35:00 2017 +0100
cobalt/rtdm: Split rtdm_fd_enter up
split rtdm_fd_enter, move the functionality where we store the fd
until after the open() call succeeds. Calls where open() fail a fd is
left in the tree even after the cleanup code is executed. If this fd
number is used again we will fail the call to open until a different
fd is used. This patch addresses this situation by not adding the fd
into the tree until open has succeeded and the fd is valid.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ce21979c85e45acb070e397849f927e08ea0e5d8
Author: git repository hosting <[email protected]>
Date: Fri Dec 1 07:23:00 2017 +0100
Jan Kiszka : cobalt/rtdm: Avoid dereferencing NULL device in
__rtdm_dev_ioctl_core
Module: xenomai-jki
Branch: for-forge
Commit: dfec6f1f9448b4e207e36280a0e48923687a1cee
URL:
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=dfec6f1f9448b4e207e36280a0e48923687a1cee
Author: Jan Kiszka <[email protected]>
Date: Thu Nov 30 21:39:44 2017 +0100
cobalt/rtdm: Avoid dereferencing NULL device in __rtdm_dev_ioctl_core
File descriptors created by message queues or timerfds do not have
devices associated with them. Dereferencing that pointer prior to
checking if we have device fd in the first place is a recipe for
crashes.
Signed-off-by: Jan Kiszka <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=7a038dfad8d1e48b065542c8cc2e39f6b5ee4f82
Author: Philippe Gerum <[email protected]>
Date: Sat Nov 25 11:53:06 2017 +0100
copperplate/heapobj-tlsf: fix private heap init
TLSF's init_memory_pool() wants heaps to be larger than 4k on 64bit
architectures, due to the increased size of the meta-data compared to
their 32bit counterpart (struct tlsf).
Use 8k as the minimum heap size instead of PAGE_SIZE in the pshared
case, and make sure the main pool size amounts to at least 8k in the
process-private case, so that init_memory_pool() never fails in
heapobj_pkg_init_private().
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=3fb574cd1b69487c20f58b56332e0858032c6f21
Author: Norbert Lange <[email protected]>
Date: Tue Nov 21 11:57:28 2017 +0100
rtnet/driver: fix compilation of intel drivers
the local debug variable has a name-clash with a identically named
function in arch/x86/include/asm/traps.h
also a macro guard apparently used an outdated name
Signed-off-by: Norbert Lange <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=cc283c7f26c1b097b94a61bb25c2564f51daf16d
Author: Philippe Gerum <[email protected]>
Date: Mon Nov 20 14:45:39 2017 +0100
cobalt/x86: do not require SYS3264 when reading syscall defs
_______________________________________________
Xenomai-git mailing list
[email protected]
https://xenomai.org/mailman/listinfo/xenomai-git