URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f487b5ad16bc74d90587df08a100c4783dd735b9
Author: Philippe Gerum <[email protected]>
Date: Sun Aug 7 12:22:03 2016 +0200
posix/process: kevent handling unconditionally propagates
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=b360dcc6c47574a6f459014d92ec6b8fddd459de
Author: Philippe Gerum <[email protected]>
Date: Sat Aug 6 20:09:07 2016 +0200
dovetail: trap handling unconditionally propagates
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=c7d18e170a9fdf35ac4e15b62d4bf05f93cb5116
Author: Philippe Gerum <[email protected]>
Date: Sat Aug 6 18:44:39 2016 +0200
dovetail: convert to mayday hook
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=a9129e21f9a7c6fd4225a080000e1336625683e1
Author: Philippe Gerum <[email protected]>
Date: Tue Dec 29 10:15:25 2015 +0100
cobalt/kernel: WIP: convert to dovetail interface
This is work in progress, with more changes expected from the IRQ
pipeline and dovetail interfaces.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=92d67da78c720f3aba8f14ad9fb7850d25fec0e5
Author: Philippe Gerum <[email protected]>
Date: Sat May 21 09:55:45 2016 +0200
cobalt/arm64: drop legacy pipeline patches
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=39e1351083893ec498afaa5d6bf19ccbf4a2218d
Author: Philippe Gerum <[email protected]>
Date: Sat May 21 09:55:32 2016 +0200
cobalt/blackfin: drop legacy pipeline patches
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=dd5f6b8596b167134940dd764546a3bf486f7e64
Author: Philippe Gerum <[email protected]>
Date: Sat May 21 09:55:21 2016 +0200
cobalt/x86: drop legacy pipeline patches
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=0fa901b6196bc3e89995789c85f10e11e98a16e1
Author: Philippe Gerum <[email protected]>
Date: Sat May 21 09:55:12 2016 +0200
cobalt/powerpc: drop legacy pipeline patches
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=b62826638043aaf849282a9171225de753b3597a
Author: Philippe Gerum <[email protected]>
Date: Sat May 21 09:55:01 2016 +0200
cobalt/arm: drop legacy pipeline patches
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=31106be18acc8a582f15820463013de8b1fb2d58
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=deec0857b82903b9376c54f94ec0be7731cd46f7
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=440e042b4f3d9791117a956b3031ea895c86a643
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=b8be5410e95d55925ecf621a1f25e3e1857c638c
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=c36c2ceb5ecb0af63b7fdff25b6f1fdde00826d6
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=dbbafa3296d9a0b322e7ab91820b43bd48834af9
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=9f637c88e71ea6df49234e6034e082904e1e9af9
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=1e81695d42b684900b4ebd07f5d8ff4757418655
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=69abcb54018367d9ad9dd24144117ac5d1b72a8b
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=2f228c6ffb1889cd64d8cc1eb64bb46d1d32c9f3
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=a19a38c3e16b6b487fc75fa65495d8527f840ae7
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=2351d61ab9677698852189c81792edab4a8302ab
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=a17361c21aab2a6ca858725020301a0070962933
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=f25c8e6893db918857db6a83d348ed0b7306e9a8
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=5071527cfd896b31704c01171633e901f34975b0
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=f589279130b19549fe5662000fc50d80203835bd
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=ba581da05880dbcb0cccc0f31d63a3c7e97cf8db
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=be390ec941e9d05b8e55657c97487715c0f39602
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=f657af921a2bbbad8d2d77435b3f58168ab13884
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=055e6ec6c5beedd5dfa737e66399a417b43d42fa
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=21ebfb888f37901c7a11f533f0c2a28d33f58fc6
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=68e25a220193f856ecf68a449af3c3d8a27b305b
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=37545b89ca135789f4431875636cdc009af93e7e
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=de7583b96b2bd2f89278bcea464f51203ccbf0cb
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=ed3b45aced9a36acd885dce36cf01355fc78e1f5
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=ca14cfaa0e31b27fb5c446b4895ddaf6cede9f8f
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=757e68da9c8d0ea9b822ae16700d97008d6a221f
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=51888d65aa2d4e99aca31308782fcf74f2650df2
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=f08d230f48dc11867563cc37cc8bf12e52c275a3
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=2f692b20e630a4ed18b20aaf044dade62fb5d730
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=dbd3858dcb0e7a0cbdfca8c72b8450b2a5753a30
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=3a69432e5f4934f58e3b7e7484966881989b2790
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=1b27b47af11799d34632377ec383df733df4d535
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=d6deaec8980e9011d07c12b55ea14d69aa1dd834
Author: Philippe Gerum <[email protected]>
Date: Mon Nov 2 20:45:10 2015 +0100
cobalt/kernel: fixup for v3.19+ (user_msghdr)
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=e94f1ab112477b7999f229d3842948d8a3249087
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=3cf2fde776ebb6a6087953bb8715d3eee973d904
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=9fe2aefa06b0dbe059e9bc7d240c640209f243c9
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=cc6af8a69445554ebab15a2764393e9aad83e218
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=5ee710fa160d7acc5dd3f17bbfd899108606dbad
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=937358df8a501ab24a140e6bb6372b7f49a60ed7
Author: Philippe Gerum <[email protected]>
Date: Thu Jul 30 14:20:45 2015 +0200
cobalt: bump ABI revision level
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=16e224c498dd276e6946e1d349737cea9fe09db8
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=21536cc937b0b4e7f10f4190c6622d37b2d1e152
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=37bbdd21eff221155bef09e3e64744dbec8dc055
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=f163a419d591db2e2e684102e88cde8df8d26c36
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=7ef3bfdf5a3cecd2fd9365f4799d9ad53875ac39
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=2a99c4dc3fd09e7fb805090aecfa6a486da964b7
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=89a612ee77ce6ae05d62f3a69a83cf94a8da4f1d
Author: Philippe Gerum <[email protected]>
Date: Thu Jul 30 14:20:45 2015 +0200
cobalt: bump ABI revision level
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=9a57fa0385c15ff64f1b0cb4f7eef50559503a93
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=39c6b830ad4fc1aa71d16657f29ebcf56d04d75e
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=07f5d5d1f919ec455f517f44856c97efcb8bb9e6
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=a993342a7e62836e89d154f56fba4868c6334738
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=fe3b9ced3f631510f55e2d5cae303ac9cd9fa34e
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=c3f9791dc903e668f22a71abf3ba8f66daf7125f
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=96688a370e4c1b633637d602a19b0195bcf00cdb
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=b70677c83b3be520f5d8a028192e0698ee8fff98
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=be3595f842050b4cdade70e7765b46c738aa642c
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=d841d4125e61872391bd925ce50cfd9718acfe20
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=bb5209d9b78c6215bbc51323dd371818431d97a7
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=74f44e72f8a12a366b98db2e50ef7c21d397b899
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=10700c8ef4faae7d07c7a158c6926a9dc7c3bd75
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=31e3e6351be9a4e8d3893171afd68520ab2143e3
Author: Don Mahurin <[email protected]>
Date: Thu May 14 17:34:53 2015 -0700
cobalt/arm64: fix warning: expects argument of type 'long unsigned int',
but argument has type 'u64'
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=2f4b04ab3680f6269a94f742f4f0ec86ec976c8c
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=026cd3e7c51619e01361465c59d83597607bc5a4
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=b87b9cdc40778d49aefd0e111845cef0743fa8c8
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=b92ab10ee334ea0233bb72f40d48992056981983
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=f0b2bf282fcf8becf0b0a4da5fe1172c19aabdc5
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=16ac1955a331a28ce3c74f3775385f5344f3b24b
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=9d4546470a3335e6e96fb96e3290e2fec6cea40d
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=c40480f73c255d5e92e42cf2e0365a62d3794dca
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=a5b65281bc37a3e3b945a4ba6c580022c848c46f
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=3af91260831987166800cac7509a63d982664d48
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=19c34ce123f608fe89cb3491c868842e50d420a6
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=ea153980706b733bd00cd433d924a4ff9f1d2572
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=18ab2442d683608f4ed80705d5bd217e10f648f8
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=d59138ba96b14ad3f98ab55e35eb9d8b3fd6a843
Author: Philippe Gerum <[email protected]>
Date: Fri Sep 30 15:38:21 2016 +0200
scripts/xeno-config: fix include directory chain in compat mode
== Wrong include chain:
. /install/xenomai/cobalt/pthread.h
.. /install/xenomai/trank/posix/pthread.h
... /usr/include/pthread.h
== Right include chain:
. /install/xenomai/trank/posix/pthread.h
.. /install/xenomai/cobalt/pthread.h
... /usr/include/pthread.h
Fix the order the -I directives are emitted by --cflags --compat
accordingly.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=241c05bb1b3d86a43018d3eccfbe69d665fc79bf
Author: Philippe Gerum <[email protected]>
Date: Wed Sep 28 18:26:38 2016 +0200
boilerplate/list: add list_{prev, next}_entry() accessors
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=d094f2a4d41ee6ed8c3913b4367a12af71cd47bf
Author: Philippe Gerum <[email protected]>
Date: Thu Sep 22 11:27:58 2016 +0200
copperplate/heapobj: pshared: fix corruption of sub-page block list
Block allocation requests between HOBJ_PAGE_SIZE and HOBJ_PAGE_SIZE *
2 are satisfied by returning free raw pages directly, in which case
there is no free sub-page block list attached to the corresponding
log2 slot. Make sure we don't create a spurious one inadvertently.
This fixes a crash on such an allocation/release pattern:
int *p = xnmalloc(1400);
p[0] = -1;
xnfree(p);
xnmalloc(512);
xnmalloc(512);
Reported-by: Jan Kiszka <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=5585b47b67ba9df3544534874594d8764ae75664
Author: Philippe Gerum <[email protected]>
Date: Thu Sep 22 10:13:52 2016 +0200
scripts/xeno-config: do not wrap main() with --auto-init-solib
For the auto-init feature to make sense, the main() symbol has to be
defined in the main executable, so there is no need to wrap it when
emitting linker flags for an auto-boostrapped shared library.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=34d3889e2fe9255ac62aa3a98fb6d366ead59d8e
Author: Philippe Gerum <[email protected]>
Date: Wed Sep 21 15:38:07 2016 +0200
boilerplate/bootstrap: do not override main() in PIC mode
The PIC version of the bootstrap module is intended to be part of
shared libraries which want to enable Xenomai's auto-init feature when
loaded (i.e. dlopened).
Therefore, overriding the main() entry point is meaningless in such
context, assuming the latter should be defined in the main executable
instead.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=164d51e32a5dc6d7cd9059c18c5257749f28eba7
Author: Philippe Gerum <[email protected]>
Date: Tue Sep 13 09:36:11 2016 +0200
boilerplate/ancillaries: fix unique name generation in pshared mode
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=8162c9f266cd9a474882edf36703ac6b8ad9bc00
Author: Philippe Gerum <[email protected]>
Date: Fri Sep 9 19:34:07 2016 +0200
doc: prebuild
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4c2cb2cc653c528a1c6cb756cf4a58e20db70cdc
Author: Philippe Gerum <[email protected]>
Date: Fri Sep 9 19:04:10 2016 +0200
config: bump version code
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=6f6cd0720904b4c66a5e074edf2c2d1d6d7eb508
Author: Philippe Gerum <[email protected]>
Date: Sat Sep 10 16:05:35 2016 +0200
drivers/udd: fix profile information
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=75cd0a0852689feff1dc4b3c651ac74eb1d782fa
Author: Philippe Gerum <[email protected]>
Date: Fri Sep 9 19:18:34 2016 +0200
doc/man: xeno-config: document --auto-init-solib
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=53ebc473474a748f3cf28fe5e5a17d2ad68d2b90
Author: Philippe Gerum <[email protected]>
Date: Fri Sep 9 19:00:22 2016 +0200
cobalt/x86: upgrade I-pipe support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=caf5dbb6712cbd0320bac345f8f1774fedee3092
Author: Philippe Gerum <[email protected]>
Date: Fri Sep 9 18:59:32 2016 +0200
cobalt/powerpc: upgrade I-pipe support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=dd510695d380c4297649b060bf84ddede425ba7b
Author: Philippe Gerum <[email protected]>
Date: Fri Sep 9 18:58:13 2016 +0200
cobalt/blackfin: upgrade I-pipe support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=1159a6bd8cefc9cb35a31878545528905eed77e2
Author: Philippe Gerum <[email protected]>
Date: Fri Sep 9 18:55:43 2016 +0200
cobalt/arm: upgrade I-pipe support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=726b726fc34678eadd13185a8529860c41f6213c
Author: Philippe Gerum <[email protected]>
Date: Fri Sep 9 16:07:54 2016 +0200
cobalt/powerpc: 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=ba58064636c7059ccdeb0f8b64c90d51818cefab
Author: Philippe Gerum <[email protected]>
Date: Fri Sep 9 16:07:54 2016 +0200
cobalt/arm: 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=76e396d07e390dc93cd21b6c65c306a82b328706
Author: Philippe Gerum <[email protected]>
Date: Mon Sep 5 15:11:24 2016 +0200
cobalt/x86: fpu: fixup for kernel 4.2+
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=7d92663617c988da311d1415404075fdc2197850
Author: Philippe Gerum <[email protected]>
Date: Thu Sep 8 16:29:38 2016 +0200
cobalt/x86: fpu: drop obsolete xnarch_save_fpu()
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=2ad6eebc4b81142eddbbed1798920df50799bf4c
Author: Philippe Gerum <[email protected]>
Date: Thu Sep 8 16:29:54 2016 +0200
cobalt/arm: fpu: drop obsolete xnarch_save_fpu()
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=064c7920aa6393f85e210cb4502d1c0a00394476
Author: Philippe Gerum <[email protected]>
Date: Thu Sep 8 16:29:50 2016 +0200
cobalt/blackfin: fpu: drop obsolete xnarch_save_fpu()
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=9b76e721c7d2ae0c7efb00ce61fdc92e91d93b67
Author: Philippe Gerum <[email protected]>
Date: Thu Sep 8 16:29:44 2016 +0200
cobalt/powerpc: fpu: drop obsolete xnarch_save_fpu()
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=a930b4c2ee26fcfe2fdea700dda79f4c49157352
Author: Philippe Gerum <[email protected]>
Date: Thu Sep 8 16:30:27 2016 +0200
cobalt/thread: drop obsolete release_fpu() helper
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=236d67aed29f6b586ff1ebc969b5f5310fae7701
Author: Philippe Gerum <[email protected]>
Date: Sat Sep 3 11:20:21 2016 +0200
cobalt/kernel: stop using deprecated set_cpus_allowed()
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ee5ca9f15e55f7f85fa4f3a91ec539ab9d62b82b
Author: Philippe Gerum <[email protected]>
Date: Fri Aug 26 21:21:40 2016 +0200
boilerplate: allow for auto-init of external shared libraries
3rd-party shared libraries for which Xenomai auto-initialization is
required must include a position-independent version of the bootstrap
module.
This means that we need to export a PIC object such libraries can
include, in addition to a non-PIC object to be linked in regular
executables as usual. Such objects are available as
@libdir@/xenomai/bootstrap-pic.o and @libdir@/xenomai/bootstrap.o
respectively.
xeno-config* scripts now accept the --auto-init-solib option to emit
the proper link directives for including the PIC bootstrap module into
shared libraries when --ldflags is given.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=9976c82e23b28b238a90664202c1455bfd84cc08
Author: Philippe Gerum <[email protected]>
Date: Tue Sep 6 09:40:34 2016 +0200
drivers/ipc: fix potential race in select()
Acquiring the poll state and binding the selector must be done
atomically, so that such state does not change before xnselect_bind()
decides whether the caller should wait.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=7ba1899c8b20b3f3410a733a05f5ec2782f9236d
Author: Philippe Gerum <[email protected]>
Date: Sat Jul 16 16:25:07 2016 +0200
cobalt/timer: guard against invalid calls to get_overruns()
Calculating the number of overruns only makes sense with active
periodic timers exclusively, which must have been requeued for the
next delivery already.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=7d55b32cc287dbf47fca5f1eeeb5e70690c83915
Author: Philippe Gerum <[email protected]>
Date: Sun Jul 10 10:07:24 2016 +0200
testsuite/smokey: rtdm: add handover test
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=be819d77a0e0651a75e9d671844a0dffee8086ea
Author: Philippe Gerum <[email protected]>
Date: Fri Jul 8 10:02:51 2016 +0200
drivers/testing: add test helpers for mode switch handover
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=45eec71c67e1a4d26f0a00398101fd401dd7f293
Author: Philippe Gerum <[email protected]>
Date: Fri Jul 8 09:25:54 2016 +0200
drivers/testing: drop unused context marker
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=a96a6d8e2816914aea7580bfd1ca969487bf2b01
Author: Philippe Gerum <[email protected]>
Date: Thu Jul 7 18:35:47 2016 +0200
cobalt/rtdm: leave mode selection to I/O syscall handlers
We don't want requests bearing invalid file descriptors (RTDM-wise) to
trigger any mode switch, so that RTDM requests on regular fildes can
be rejected with little overhead.
Tell the core to hand over mode selection to RTDM I/O syscall
handlers, which now check the file descriptor prior to triggering any
mode transition.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=62b824afef9bd3085bc37b0d7d7bc39e7788a2e8
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=bf4d5bd69f1ce74595e1d12716e07ef87d3ff69d
Author: Philippe Gerum <[email protected]>
Date: Fri Jul 15 17:25:49 2016 +0200
cobalt/timer: prevent double dequeuing in overrun handler
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=e6e56505438f07b17b6ea05767d9bc46bc80aa54
Author: Philippe Gerum <[email protected]>
Date: Mon Jul 11 17:17:43 2016 +0200
cobalt/powerpc: fptest: include missing header
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=34da16d96c6a171a31f51a8e078b411418380b47
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=5606da4ddedf424a611d84f67386dfb428fc334e
Author: Philippe Gerum <[email protected]>
Date: Mon Jul 11 11:35:20 2016 +0200
cobalt/signal: fix error code in kill() routine
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=c04e5dc6ce13183708404b067dca5aad8fabc7cd
Author: Philippe Gerum <[email protected]>
Date: Sat Jul 9 12:32:03 2016 +0200
cobalt/powerpc: add calibration value for CoreNet-based boards
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=18aaf9dbc07cf4857379fc6da0406bae33fc1b8b
Author: Philippe Gerum <[email protected]>
Date: Fri Jul 8 15:04:01 2016 +0200
cobalt/kernel: use raw_spinlock* API to access IRQ pipeline locks
In order to cope with PREEMPT_RT_FULL, the spinlock* API should be
invoked for regular spin locks exclusively, so that those locks can be
handled by PREEMPT_RT's sleeping lock API seamlessly.
Since I-pipe locks are basically raw locks with hard IRQ management,
sticking to the raw_spinlock* API for them makes sense. The regular
spinlock* and raw_spinlock* APIs can be used indifferently for
manipulating IRQ pipeline locks (ipipe_spinlock_t) with the current
pipeline releases, so this change is backward compatible.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=d99ff61eaffa21d3674b26ae186c0f781182cf15
Author: Philippe Gerum <[email protected]>
Date: Thu Jul 7 10:52:41 2016 +0200
cobalt/powerpc: cleanup fpu support
In order to support the Book3E architecture, we now rely on the
regular kernel accessors for manipulating the MSR, instead of assuming
Book3S.
In the same move, some obsolete compat code for kernel releases prior
to v3.10 (i.e. not supported by Cobalt) was dropped.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4688fd5968fbf65f6d99effc7a582537aef96068
Author: Philippe Gerum <[email protected]>
Date: Thu Jul 7 10:23:43 2016 +0200
copperplate/threadobj: mercury: fix error code in corespec_init call
At this chance, give a hint about a common cause of failure to set the
condvar clock, i.e. CLOCK_MONOTONIC_RAW not available.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=203f2007e2c1328ca8847562ed3edbcb81d5e38a
Author: Philippe Gerum <[email protected]>
Date: Wed Jun 29 09:54:12 2016 +0200
cobalt/thread: fix race on accessing the global thread list
nkthreadq is only used by the /proc interface handlers these days, to
get the list of active Cobalt threads.
Adding an emerging user-space thread to that list should not be done
before it is actually mated to a Cobalt shadow, otherwise the /proc
handlers might find such thread before its host_task pointer is known,
causing invalid memory accesses.
A simple way to reproduce the issue involves running a (user) thread
creation loop while continuously reading from /proc/xenomai/sched/* in
parallel.
The fix postpones the insertion of emerging threads into the global
thread queue until their TCB is fully built.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=e5390e53816d947fc25b537b3ff772911d45e46d
Author: Philippe Gerum <[email protected]>
Date: Sat Jun 25 11:23:22 2016 +0200
cobalt/rtdm: explain issues with driver registration
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=403d39c5777b0c1e3e97baf6adf8bd53986f036c
Author: Philippe Gerum <[email protected]>
Date: Sun Jun 19 20:39:19 2016 +0200
cobalt/rtdm: add accessor to kernel device struct
Each RTDM device is mated to a regular kernel device object. Add
rtdm_dev_to_kdev() to return the address of such object.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=cf1d8930bacbd2b1f71673d7ae9e467b557f02ea
Author: Philippe Gerum <[email protected]>
Date: Wed Jun 15 10:51:45 2016 +0200
cobalt/rtdm: fix off-by-one error in device_count check
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=843a2029d5ca4ea00429744b54ce20a03620ca98
Author: Philippe Gerum <[email protected]>
Date: Wed Jun 15 10:50:56 2016 +0200
cobalt/rtdm: ignore base_minor setting for protocol devices
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=83d7bfb0ee18db3709c709022039674307610965
Author: Philippe Gerum <[email protected]>
Date: Mon Jun 6 20:34:10 2016 +0200
copperplate/heapobj-pshared: unlink main heap file on exit if no registry
sysregd removes the shared heap upon exit of the last process attached
to the session. When registry support is disabled, make sure the
backing file is unlinked upon exit of the main process.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=75558b54e4efe3cc73b0cb040e489dd8615fb730
Author: Philippe Gerum <[email protected]>
Date: Fri Jun 3 10:00:38 2016 +0200
copperplate/heapobj-pshared: introduce allocation bitmap
Using a free list for maintaining pages leads to pathological
execution times when releasing blocks obtained from huge heaps
(i.e. hundreds of megabytes). Rework the core to use an allocation
bitmap instead.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=5defc2afa24f72d8fc138582a1f4e51c21eeb2a5
Author: Philippe Gerum <[email protected]>
Date: Tue Jun 7 10:10:17 2016 +0200
boilerplate: provide count-leading/trailing-bits ops
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=b697eb6b36b1b3dabe25b50a0217b24753670806
Author: Philippe Gerum <[email protected]>
Date: Wed Jun 1 11:18:22 2016 +0200
cobalt/rtdm: add base minor setting for named drivers
Some character/named drivers may want to set a non-zero base minor for
indexing their devices (e.g. GPIO banks).
To this end, the new .base_minor field can be set in device driver
descriptors. Most in-tree driver descriptors reside in static memory
which guarantees that such field is zero when unspecified.
CAUTION: existing out of tree drivers have to initialize .base_minor
explicitly if the descriptor does not reside on clean memory.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=3e90650a417f57916a6520c97382dba47f6ed01f
Author: Philippe Gerum <[email protected]>
Date: Wed Jun 1 10:53:28 2016 +0200
cobalt/rtdm: allow up to 1024 minors per driver
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=84c80c5cc135a2cce046a4039a4658d659c3cefe
Author: Philippe Gerum <[email protected]>
Date: Tue Jun 7 18:17:48 2016 +0200
testsuite/xeno-test-run: requesting /bin/sh is enough
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=8f157264893087e27ca4a51f29894897645a319c
Author: Philippe Gerum <[email protected]>
Date: Thu Jun 2 16:17:54 2016 +0200
include/trank: add missing C bindings
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=7fa3633957cee1a7d1cc8b2704858992e9c49821
Author: Jan Kiszka <[email protected]>
Date: Fri May 27 11:35:26 2016 +0200
cobalt/rtdm: Also initialized driver refcount for protocol devices
Was only done for named devices, thus leaving protocol devices in limbo
state after rtdm_dev_unregister.
Signed-off-by: Jan Kiszka <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=2af3ab42d7a38f93e56ae714a446ce7c8d66bfc8
Author: Jan Kiszka <[email protected]>
Date: Fri May 27 08:32:41 2016 +0200
cobalt/rtdm: Fix driver reference counting
The rtdm smokey test triggered a BUG due to rtdm_dev_unregister not
taking the reference counter of a driver into account. Fix this by
moving the check into unregister_driver directly.
Signed-off-by: Jan Kiszka <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=35c0893e3e91ae33d2e12572638f7f38a21c9542
Author: Jan Kiszka <[email protected]>
Date: Sat May 21 00:03:24 2016 +0200
cobalt/kernel: Fix infinite loops on thread cleanup
Due to flipped parameters of list_for_each_entry_safe,
cobalt_signal_flush caused eventual infinite loops.
Signed-off-by: Jan Kiszka <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=fd828bf38f2c7ba5140cbbf1ae932a5e184f823f
Author: Philippe Gerum <[email protected]>
Date: Thu Jun 2 14:55:25 2016 +0200
drivers/ipc/xddp: fix select() support for the real-time endpoint
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=3e1ee65647cf24fef7bd66f82b0be9060907f2fe
Author: Jan Kiszka <[email protected]>
Date: Thu May 12 21:02:40 2016 +0200
cobalt/kernel: Fix xntimer_get_timeout_stopped
xntimer_get_timeout_stopped just called into xntimer_get_timeout, but
the latter returned XN_INFINITE for stopped timers. Restore the desired
behavior from Xenomai 2.
Signed-off-by: Jan Kiszka <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=04e0d12f17a0f0c41372818d5e2db6ced8dded3b
Author: Gilles Chanteperdrix <[email protected]>
Date: Sun Apr 3 22:47:55 2016 +0200
cobalt/timer: replace bheap with rbtree
make rbtree the default on x86_64, so that it gets tested.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=1022a4b150ded6e9eff6597bdb7b71ea9a90075b
Author: Jan Kiszka <[email protected]>
Date: Fri May 6 10:42:27 2016 +0200
cobalt/kernel: Null-terminate cobalt_print_sched_params output
Using trace_seq_printf requires to terminate the generated string with
0, or we print additional garbage.
Signed-off-by: Jan Kiszka <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=aeb7f49e6d4c4c8ffda61b2e2c317607cc621329
Author: Philippe Gerum <[email protected]>
Date: Sat May 14 15:20:34 2016 +0200
rtipc/iddp: fix cleanup on binding error
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ac9484a2ebe7daccb6aefb7ee9fbc924057401a2
Author: Philippe Gerum <[email protected]>
Date: Sat May 14 15:20:21 2016 +0200
rtipc/bufp: fix cleanup on binding error
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=031888d587b1b471f02ef73ad2436037dff737a3
Author: Philippe Gerum <[email protected]>
Date: Tue May 3 12:16:29 2016 +0200
cobalt/rtdm: zero-init the private context area
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=56dd2653e12e2c1f899f3f4178f238e3993deeba
Author: Philippe Gerum <[email protected]>
Date: Tue May 3 10:06:11 2016 +0200
cobalt/rtdm: reinit driver magic after unregistration
Failing to do so would prevent the driver to be properly registered
again.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=2acd3866d33dfc58a85b9015b124aafefc1e1c81
Author: Philippe Gerum <[email protected]>
Date: Sat Apr 30 19:03:03 2016 +0200
testsuite/smokey: include errno dependency explicitly
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=bbc4c122c84b9be558809915190d04bb3b56f07e
Author: Philippe Gerum <[email protected]>
Date: Sat Apr 30 17:41:18 2016 +0200
alchemy/queue: allow zero-size message with rt_queue_write()
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=46d8f79166b067ceade71f332bbf4d1414f4bffd
Author: Philippe Gerum <[email protected]>
Date: Sat Apr 30 15:06:02 2016 +0200
cobalt/registry: allow slash in keys without /proc node
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=43c97bff6164cbab2448cf362dd22ab6ad6f85c6
Author: Philippe Gerum <[email protected]>
Date: Sat Apr 30 09:40:10 2016 +0200
cobalt/rtdm: allow device paths with multiple components
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=cf20c8bc9581d3c1b01af5032d0932d3f5203eed
Author: Philippe Gerum <[email protected]>
Date: Sat Apr 30 07:25:23 2016 +0200
alchemy/queue: fix calculation of metadata overhead
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=b4c28e9bb62bb8f4f2617e2bea8a816c322a9615
Author: Philippe Gerum <[email protected]>
Date: Mon Apr 25 15:09:17 2016 +0200
boilerplate/init: track automatic bootstrap mode in --dump-config
Automatic bootstrapping (or misusage of manual bootstrap mode) is a
frequent source of issues among C++ applications with non-trivial
static constructors. Have --dump-config display the bootstrap mode for
the executable to make investigation easier.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=8318c85025458d96f5d73050f29c937da4d54a5e
Author: Philippe Gerum <[email protected]>
Date: Mon Apr 25 11:47:21 2016 +0200
cobalt/rtdm: expose wait_context API from the core threads
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=91e1af99a2bc3bc145df7d69b2a670308e61fe3f
Author: Philippe Gerum <[email protected]>
Date: Sat Apr 23 15:05:43 2016 +0200
cobalt/rtdm: allow setting the kernel device class of a driver
It may be convenient to set the Linux device class for a particular
RTDM driver, either to provide a specific set of sysfs attributes for
the attached devices, or using a different hierarchy for the device
nodes (instead of /dev/rtdm).
The new rtdm_drv_set_sysclass() call allows this, provided the
non-default class is set before the first device referring to the
driver is registered by a call rtdm_dev_register().
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=951a9030d408e0ba38929ab133e8c723d5293d43
Author: Philippe Gerum <[email protected]>
Date: Fri Apr 22 14:03:32 2016 +0200
copperplate/sysregd: fix fall back path to umount
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=169be90f96f015940218b58a0f4f97213d617e20
Author: Philippe Gerum <[email protected]>
Date: Fri Apr 22 10:46:49 2016 +0200
scripts/xeno-config: catch misusage of --[no-]auto-init
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=eacdc5df1fbf8be7585c935009b3fa5b5f90805e
Author: Philippe Gerum <[email protected]>
Date: Thu Apr 21 10:01:56 2016 +0200
alchemy/task: allow calling rt_task_shadow() from a plain POSIX thread
The inline documentation was misleading, rt_task_shadow() could not be
called from regular pthreads until this change, but only from Xenomai
threads (i.e. mode-unrestricted vs thread-unrestricted).
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=7fe7aa13ff07680b860dab57909a92758bbbde92
Author: Philippe Gerum <[email protected]>
Date: Thu Apr 21 09:27:00 2016 +0200
copperplate/syncobj: let EPERM condition propagate on cleanup
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4b25834b653513962003a3a7626c394427ee546f
Author: Philippe Gerum <[email protected]>
Date: Thu Apr 21 09:26:03 2016 +0200
copperplate/cluster: do not override EPERM code
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f296792854f777b330dbd420052b0620e5780cdb
Author: Philippe Gerum <[email protected]>
Date: Thu Apr 21 09:04:29 2016 +0200
alchemy/doc: fix and clarify documentation about calling context
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=5c286f8393ce69db2e3d7ff6d7673f0b65202734
Author: Philippe Gerum <[email protected]>
Date: Mon Mar 28 16:10:55 2016 +0200
cobalt/arm: upgrade I-pipe support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=265ca3c3cf33c9d714d39dc44f03bb78d3458613
Author: Philippe Gerum <[email protected]>
Date: Fri Mar 25 10:40:25 2016 +0100
cobalt/config: relax requirement on CONFIG_MIGRATION
Some configurations may need page migration enabled for resolving
indirect dependencies on other features they might need (e.g. CMA),
and are fine with the additional latency that might cause. Just warn
loudly when CONFIG_MIGRATION is detected.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=260a33cf15afe5d3ea0717bb48f049ca23875cb6
Author: Philippe Gerum <[email protected]>
Date: Thu Mar 24 12:35:02 2016 +0100
cobalt/x86: upgrade I-pipe support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=bb3187985f7ca95f257db99255adfeb3e1566cd7
Author: Philippe Gerum <[email protected]>
Date: Thu Mar 24 12:34:18 2016 +0100
cobalt/powerpc: upgrade I-pipe support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=00cef1ae404e80eb1ecbf6b6c9e89d91656cf708
Author: Philippe Gerum <[email protected]>
Date: Thu Mar 24 12:33:34 2016 +0100
cobalt/blackfin: upgrade I-pipe support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=9e885dbd83b87640c5b641d8d961777997a093dc
Author: Philippe Gerum <[email protected]>
Date: Thu Mar 24 12:32:33 2016 +0100
cobalt/arm: upgrade I-pipe support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=00fa0c06a1295b26b3d785c8d823717603921bd5
Author: Gilles Chanteperdrix <[email protected]>
Date: Wed Mar 23 11:01:12 2016 +0100
cobalt/config: disallow page migration
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=c2105542f39200b185fd89e994d46967bbf59f58
Author: Philippe Gerum <[email protected]>
Date: Thu Mar 24 12:01:06 2016 +0100
cobalt/x86: upgrade I-pipe support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=fef1e902f6dea69f4d71e8aecb325c2fc176f3d6
Author: Philippe Gerum <[email protected]>
Date: Thu Mar 24 12:00:44 2016 +0100
cobalt/powerpc: upgrade I-pipe support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4a160053ca5e2aaa1541fe33c104dc7a7a612d58
Author: Philippe Gerum <[email protected]>
Date: Thu Mar 24 12:00:17 2016 +0100
cobalt/blackfin: upgrade I-pipe support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=5f57eb3f4dc868f064cbe90d0415b55e79f55c96
Author: Philippe Gerum <[email protected]>
Date: Thu Mar 24 11:59:35 2016 +0100
cobalt/arm: upgrade I-pipe support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=e95e7563c02aa86b438677f8a38427634c7d49c9
Author: Philippe Gerum <[email protected]>
Date: Sat Mar 19 08:44:34 2016 +0100
utils/autotune: protect against SIGHUP in background mode
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=efd5d7448fc915fb5d6b839340ee1be963aac2da
Author: Philippe Gerum <[email protected]>
Date: Fri Mar 18 13:01:38 2016 +0100
include/boilerplate: add shorthand for deprecated calls
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=d054cdb53e73832c292cb28a9b043d6b9eae3c5e
Author: Philippe Gerum <[email protected]>
Date: Fri Mar 18 12:00:55 2016 +0100
lib/cobalt: simplify checks for secondary mode
Whether a current thread is currently running in primary/secondary
mode can be checked by inspecting the status of the XNRELAX bit in the
thread's u_window. The lack of u_window denotes a non-Xenomai, regular
thread which for which the current mode is always relaxed.
A thread's handle and its u_window area are tightly coupled: the
latter has to be valid for any thread with a valid handle.
Introduce cobalt_is_relaxed() for testing the current mode, and fixup
all open coded versions of this routine.
In addition, assert_nrt_fast() is marked as deprecated, since
assert_nrt() is not a slow call anymore.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=0f7aa5af11a345d3226e53660595bbee2db1cf94
Author: Philippe Gerum <[email protected]>
Date: Fri Mar 18 21:33:36 2016 +0100
lib/cobalt: clear u_window when releasing TSD
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f65293cf7c5cc5adae11fed6315623120f56a238
Author: Philippe Gerum <[email protected]>
Date: Fri Mar 18 18:20:50 2016 +0100
cobalt/thread: fix join request handling from non-Xenomai context
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=d05500a29b6b8613ad54b95a1ed46138d70df369
Author: Philippe Gerum <[email protected]>
Date: Sun Mar 13 12:12:27 2016 +0100
cobalt/x86: upgrade I-pipe support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=945eb01b4883284f54c199bea91690e85ed03999
Author: Philippe Gerum <[email protected]>
Date: Sun Mar 13 12:11:01 2016 +0100
cobalt/blackfin: upgrade I-pipe support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=8c3bb4a5c83e24eddd868f756604ce28454fc97b
Author: Philippe Gerum <[email protected]>
Date: Sun Mar 13 12:08:26 2016 +0100
cobalt/powerpc: upgrade I-pipe support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=31c62a9ebf6c2e6b6642a4134eaeb56a7db09890
Author: Philippe Gerum <[email protected]>
Date: Sun Mar 13 12:06:51 2016 +0100
cobalt/arm: upgrade I-pipe support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=af2e279b89554fb805b8d94c61fef4dd949bff56
Author: Philippe Gerum <[email protected]>
Date: Fri Mar 4 17:59:16 2016 +0100
cobalt/kernel: raise default sysheap size to 512 Kb
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=b34fa9d81f55127b42c000a87d09bb14b17c3e39
Author: Philippe Gerum <[email protected]>
Date: Fri Mar 4 11:27:07 2016 +0100
cobalt/umm: get UMM heaps from the normal zone
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=1e3bf2f96b54b75b2f8764beb4f1ead70a4ffbb0
Author: Philippe Gerum <[email protected]>
Date: Fri Mar 4 11:26:39 2016 +0100
cobalt/init: get system heap from the normal zone
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=99ac573535c22e97605bd01b5eaa41c54ae927f6
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=80f7710f5c954e4afa3f369b9e3c57ecfc563c07
Author: Philippe Gerum <[email protected]>
Date: Wed Mar 2 17:16:48 2016 +0100
doc: prebuild
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=09413e26bec6cfae6c0b5aaa7cb61b288f0a397a
Author: Philippe Gerum <[email protected]>
Date: Wed Mar 2 17:05:17 2016 +0100
config: bump version code
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=fa916f9c245a72480de7b98d555bb05087971c6c
Author: Philippe Gerum <[email protected]>
Date: Wed Mar 2 17:02:11 2016 +0100
cobalt/powerpc: upgrade I-pipe support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=5b921a067208271525fa2226bd8e4bf23809c8ca
Author: Philippe Gerum <[email protected]>
Date: Wed Mar 2 16:03:24 2016 +0100
cobalt/kernel: use standard accessor to global pid
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=a7cfe3bac1d2de12537f5461d7be37ec00f2d4c2
Author: Philippe Gerum <[email protected]>
Date: Wed Mar 2 15:22:53 2016 +0100
utils/corectl: fix handling of argument to --stop (grace period)
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=580d1ed8be53b10041c6bed15a47395543970b2a
Author: Philippe Gerum <[email protected]>
Date: Wed Mar 2 15:22:15 2016 +0100
cobalt/posix/corectl: clarify argument types for mixed ABI support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=655a7fc6ce1e2b50de22947dbb4f54c765a26047
Author: Philippe Gerum <[email protected]>
Date: Wed Mar 2 15:09:11 2016 +0100
cobalt/thread: wait for RCU grace period after killall
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=7d2d5b81f7aafb87458f2fc77b32eb68ebdba010
Author: Philippe Gerum <[email protected]>
Date: Wed Mar 2 12:08:32 2016 +0100
cobalt/timer: allow binding core timers to passive CPUs
Some timers initialized by the Cobalt core may have a valid reason to
live on CPUs excluded from the real-time set. A typical example would
be the host timer from the scheduler slot, which relays ticks to the
regular kernel. Other core timers are just better dealt with when
created and left passive on those CPUs.
Mark all core timers specifically, and exclude them from the LART
detection code in __xntimer_init(). This fixes a spurious Cobalt debug
assertion seen on SMP at boot, when the real-time CPU set is
restricted to a subset of the online CPU set.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=5902ea95bccd08d2b5161cfd61fcfb5709941cc6
Author: Philippe Gerum <[email protected]>
Date: Tue Mar 1 12:50:29 2016 +0100
cobalt/thread: fix SMP race with xnthread_join()
The situation below would cause a kernel crash on any earlier 3.x
release, with ktask implemented in a dynamically loaded/unloaded
module:
CPU0: rtdm_task_destroy(ktask)
...
rmmod(module)
CPU1: ktask()
...
...
__xnthread_test_cancel()
do_exit()
(last) schedule()
OOPS: prev still treading on stale memory
In this case, the module would be unmapped too early, before the
cancelled task can ultimately schedule away.
The changes also fix a stale reference from the joiner thread to the
former ->idtag field, after the joinee's TCB has been dropped.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=738d0d123602b80cb485b930318af8bc2111d818
Author: Philippe Gerum <[email protected]>
Date: Tue Mar 1 10:00:59 2016 +0100
cobalt/thread: force secondary mode for joining threads
Make xnthread_join() switch the caller to secondary mode prior to
waiting for the target thread termination. The original runtime mode
is restored upon return.
Since the joiner was already synchronized on an event that may be sent
by the joinee from secondary mode exclusively, this change does not
drop any real-time guarantee for the joiner: there has never been any
in the first place.
This is a preparation step to a stricter synchronization between the
joiner and the joinee, especially in the SMP case.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=67db5a44c8aabc902227401815feaae2036de0f2
Author: Philippe Gerum <[email protected]>
Date: Tue Mar 1 08:36:18 2016 +0100
cobalt/thread: do not demote kthreads when cancelling
There is no point in switching a kthread to weak scheduling when
cancelling it, as it must reach a cancellation point asap as part of
its work loop anyway. Would it omit testing for cancellation, weak
scheduling would not help enforcing the exit request anyway.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ec65be24018d958f6a9febf628d82a9bf7932010
Author: Philippe Gerum <[email protected]>
Date: Tue Mar 1 08:08:02 2016 +0100
cobalt/heap: export *vmalloc helpers
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=3d1b80263cf6bf547accf86790c4670e006726dc
Author: Philippe Gerum <[email protected]>
Date: Mon Feb 29 11:53:22 2016 +0100
lib/smokey: init: fix regression introduced by #9489274
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=d458f46a9afdd1bdc8b903c9c9eadb79212838b3
Author: Philippe Gerum <[email protected]>
Date: Sun Feb 28 08:21:24 2016 +0100
drivers/ipc: xddp: get buffer memory from vmalloc()
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=eb1be425b3322abec5c1ad780d79ba83232900e7
Author: Philippe Gerum <[email protected]>
Date: Sun Feb 28 08:20:45 2016 +0100
drivers/ipc: iddp: get buffer memory from vmalloc()
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=cbc7bd503fa295579fbd2ae86d04dedd41ceb1ce
Author: Philippe Gerum <[email protected]>
Date: Sun Feb 28 08:19:47 2016 +0100
drivers/ipc: bufp: get buffer memory from vmalloc()
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=cd90cd71d59e828952dc2e98a501b65ada52b818
Author: Philippe Gerum <[email protected]>
Date: Sun Feb 28 08:17:30 2016 +0100
cobalt/posix/signal: get buffer memory from vmalloc()
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=cb66a10c39618e2bc943b9dd5f4a4bd5619eb99f
Author: Philippe Gerum <[email protected]>
Date: Sun Feb 28 08:16:18 2016 +0100
cobalt/posix/mqueue: get buffer memory from vmalloc()
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=214615bed1eb697fd55fa224d7786733c9b08c0a
Author: Philippe Gerum <[email protected]>
Date: Sun Feb 28 08:23:32 2016 +0100
cobalt/init: get main heap memory from vmalloc()
There is no reason to ask for physically contiguous memory from
alloc_pages[_exact]() for the main heap: real-time heaps are certainly
no place for getting DMA-suitable buffers from.
Using alloc_pages*() for common Cobalt heaps is a problem:
- this raises the probability of getting allocation failures in case
of memory fragmentation (although seldom at boot time, some
Cobalt-based modules also using such services could fail allocating
their heap later on).
- this restricts the maximum heap size to MAX_ORDER (currently 4Mb),
which may be too small in some configurations.
Therefore, switch from alloc_pages_exact() to vmalloc().
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=b6e2a1d29d88e31cbf417678ae522d360963787c
Author: Philippe Gerum <[email protected]>
Date: Mon Feb 29 10:12:26 2016 +0100
cobalt/blackfin: upgrade I-pipe support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=621daa15292e8be2593eea0496a5d4cb86bdbed9
Author: Philippe Gerum <[email protected]>
Date: Mon Feb 29 10:12:06 2016 +0100
cobalt/powerpc: upgrade I-pipe support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=42f136842b2be5aadced6739c6516af6f006d074
Author: Philippe Gerum <[email protected]>
Date: Mon Feb 29 10:10:50 2016 +0100
cobalt/x86: upgrade I-pipe support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=d43c70baccf2feac65730d11698083db2d152f80
Author: Philippe Gerum <[email protected]>
Date: Mon Feb 29 10:10:20 2016 +0100
cobalt/arm: upgrade I-pipe support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=80916b70e7bed4125db27b6a27931579f7f91cd2
Author: Philippe Gerum <[email protected]>
Date: Sun Feb 28 15:41:38 2016 +0100
testsuite/smokey: cpu-affinity: silence unused_result warning
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=3973d289e7ea7b0f31054b25a74d5c68617bfd58
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=38df524a0479ae30cf1bb96e1054544eb21d7759
Author: Philippe Gerum <[email protected]>
Date: Sat Feb 27 18:52:35 2016 +0100
drivers/testing: rtdm: add actor task device
This is for unit testing in task context. The actor task performs
simple test requests issued by userland.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=452d78b2efa0ecbc1fd546045670ad79b1f6e758
Author: Philippe Gerum <[email protected]>
Date: Sat Feb 27 19:29:22 2016 +0100
drivers/ipc: bufp: fix wrong TX timeout
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=5b7be577beaad436a3c1d9b799f9b46e8747e04c
Author: Jan Kiszka <[email protected]>
Date: Wed Feb 24 21:44:41 2016 +0100
cobalt/timer: Make xntimer_get_overruns robust against stopped timers
xntimer_get_overruns might be called on meanwhile stopped timers,
specifically by cobalt_timer_deliver. We crash if we try to dequeue a
stopped timer, and we should not restart it as well.
Signed-off-by: Jan Kiszka <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=3847e618c2789a9c4f633d267179312db06ff64d
Author: Philippe Gerum <[email protected]>
Date: Fri Feb 26 18:38:24 2016 +0100
lib/smokey: add timed wait on barrier
Add this chance, fix a potential UMR in smokey_barrier_wait().
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=d940fb271f955cf28751232d91a0ec942df96195
Author: Philippe Gerum <[email protected]>
Date: Fri Feb 26 15:55:09 2016 +0100
boilerplate: more helpers to retrieve various CPU information
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=94892742c727f0f54e3e98f4aec8de0f08ef1990
Author: Philippe Gerum <[email protected]>
Date: Fri Feb 26 11:13:12 2016 +0100
lib/smokey: add --exclude switch for dropping tests from the run list
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=1d2e22ec4140ee4509e9ad690e7c17863f056d56
Author: Philippe Gerum <[email protected]>
Date: Wed Feb 24 16:32:17 2016 +0100
lib/smokey: add common assertion helpers
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4bc71edd0820b3526ff669e6128dbf8e92dcb21f
Author: Philippe Gerum <[email protected]>
Date: Tue Feb 23 16:46:57 2016 +0100
debian/doc: switch mailing list URL to https
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=b372d5b56a9e50b469da09a1e9055c3db5c32a0b
Author: Jan Kiszka <[email protected]>
Date: Mon Feb 22 18:34:44 2016 +0100
cobalt/posix/timer: Return interval value also for stopped timers
If a timer is not running, it may still have a non-null interval value.
This has to be returned according to the standard.
Signed-off-by: Jan Kiszka <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=874049edc9d5d54f6d4a8aa44fc2f602b4759898
Author: Jan Kiszka <[email protected]>
Date: Mon Feb 22 18:28:27 2016 +0100
cobalt/posix/timer: Remove redundant test for stopped timers
__cobalt_timer_getval already checks this.
Signed-off-by: Jan Kiszka <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=2e56ac2fe2fda95026f20a2793d852714a399839
Author: Jan Kiszka <[email protected]>
Date: Mon Feb 22 18:27:27 2016 +0100
cobalt/posix/timer: Allow extension to override timer_gettimeout value
Move the call into a potential cobalt extension to the front so that
it can completely control the value returned by timer_gettimeout.
Signed-off-by: Jan Kiszka <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=6357ba65908215001d09e868a36ef68edcc3540f
Author: Philippe Gerum <[email protected]>
Date: Wed Feb 17 18:42:49 2016 +0100
lib/cobalt/thread: fix unwanted relax spot in pthread_create()
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f7022c1d0a6ba1ffb15f629bfe049d14be13fea4
Author: Philippe Gerum <[email protected]>
Date: Wed Feb 24 09:06:35 2016 +0100
lib/smokey: add barrier support helpers
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=167083b1dbe8f6a25eebf8b2960248402033825f
Author: Philippe Gerum <[email protected]>
Date: Wed Feb 17 09:21:27 2016 +0100
testsuite/smokey: mutex: fix centralized init
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=501bae2def51008967993652d68e611c507c84a0
Author: Philippe Gerum <[email protected]>
Date: Tue Feb 16 15:11:26 2016 +0100
doc: prebuild
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=dc01063c64e6ea008b17e183cd8c445e71bfb24f
Author: Philippe Gerum <[email protected]>
Date: Tue Feb 16 12:02:16 2016 +0100
doc/rtdm: work around Doxygen weirdness
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=364a91b4637c4a834d13bc91963f9c4c26751023
Author: Philippe Gerum <[email protected]>
Date: Fri Feb 12 17:00:54 2016 +0100
cobalt/registry: return -EAGAIN upon lack of registry slot
-ENOMEM is confusing in this case, does not actually reflect the error
condition, and does not match the error code commonly returned by
POSIX services for denoting a (temporary) lack of resources.
Besides, this source of error was not even mentioned in the
documentation of the affected services.
All error codes must be detected, and any program that might have
specifically checked for -ENOMEM during error recovery in the affected
services was potentially confused, so this change does not introduce a
significant ABI variation.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=a12c096792acebf78c8866900ed751b6a852a42c
Author: Philippe Gerum <[email protected]>
Date: Tue Feb 9 11:51:00 2016 +0100
copperplate/syncobj: fix race in aborted wait_grant/drain operations
Fixup a potential race upon return from grant/drain_wait operations,
e.g. given two threads A and B:
A:enqueue_waiter(self)
A:monitor_wait
A:monitor_unlock
A:[timed] sleep
A:wakeup on timeout/interrupt
B:monitor_lock
B:look_for_queued_waiter
(found A, update A's state)
B:monitor_unlock
A:dequeue_waiter(self)
A:return -ETIMEDOUT/-EINTR
The race may happen anytime between the timeout/interrupt event is
received by A, and the moment it grabs back the monitor lock before
unqueuing. When the race happens, B can squeeze in a signal before A
unqueues after resumption on error.
Problem: A's internal state has been updated (e.g. some data
transferred to it), but it will receive -ETIMEDOUT/-EINTR, causing it
to miss the update eventually.
The fix involves filtering out -ETIMEDOUT/-EINTR errors upon return
from wait_grant/drain operations whenever the syncobj was actually
signaled.
This issue was detected and described by
http://xenomai.org/pipermail/xenomai/2016-February/035852.html
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=eea3a818a16089bb508d8424249591368adee268
Author: Philippe Gerum <[email protected]>
Date: Tue Feb 9 11:50:20 2016 +0100
copperplate/threadobj: fix status returned by threadobj_sleep()
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=a051dfdb9c50f85363a50c6e2c96aa12f7c20fa2
Author: Philippe Gerum <[email protected]>
Date: Tue Feb 9 11:49:19 2016 +0100
copperplate/traceobj: not all return values are status codes
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=c7141d6bca7e3f61c4ff0326ea638f225b9e411c
Author: Philippe Gerum <[email protected]>
Date: Tue Feb 2 09:48:40 2016 +0100
cobalt/timer: fix handling of late arrival on first periodic delivery
Arriving late on the first delivery date when arming a periodic timer
is not an error, we may simply wait for the next tick. Fix the status
code accordingly.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=61227a98c8a8178a41cad08a6d098c5f9d7338d5
Author: Philippe Gerum <[email protected]>
Date: Mon Feb 1 21:11:09 2016 +0100
cobalt/clock: add helper to change resolution
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=0130549f352ee49c7c975653b6d6c53abaeb2b2a
Author: Philippe Gerum <[email protected]>
Date: Mon Feb 1 15:14:16 2016 +0100
cobalt/clock: use proper reference clock for periodic timings
Threads may be paced by an external clock instead of the core
clock. In such a case, make sure to base delays and offsets on the
reference time maintained by the proper clock.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=2367367985a4380259a3dc6f1c3cc53baea65cdb
Author: Philippe Gerum <[email protected]>
Date: Sun Jan 31 17:35:56 2016 +0100
cobalt/sched: fix timeout display in thread-related procfs information
A thread's periodic timer may be paced by a different clock than the
core clock; make sure to estimate the timeout value based on the
proper reference clock for such timer.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=bff9af2b2ddceb20fc5445483ef082906e01cc70
Author: Philippe Gerum <[email protected]>
Date: Sat Jan 30 19:06:54 2016 +0100
cobalt/clock: display external clock id. in procfs
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=a921ff41e4a3bc526a262135f53d39b298a576ca
Author: Gilles Chanteperdrix <[email protected]>
Date: Sun Jan 24 15:56:58 2016 +0100
drivers/net: move corectl to net drivers directory
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=7bbd7a30518fbd4a048aa2c696b89bb6cd586d45
Author: Gilles Chanteperdrix <[email protected]>
Date: Mon Jan 11 08:27:16 2016 +0100
smokey/net: add missing file to distributed tarball
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=c90fc4bfa88ac8540f8592d34fb0f490d2ef1677
Author: Philippe Gerum <[email protected]>
Date: Sun Jan 24 16:03:28 2016 +0100
drivers/ipc/xddp: fixup allocation rounding for tiny private pool sizes
With tiny pool sizes specified by userland (< PAGE_SIZE), we may end
up with the streaming buffer consuming all the available pool memory
at once, due to the full page allocation scheme used by the underlying
allocator (size > PAGE_SIZE * 2).
To determine the per-socket pool size, round the user size and the
streaming buffer size separately, before summing the two results, so
that tiny sizes are eventually rounded to PAGE_SIZE.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=848d28d99f0096944169f7251ebfcd186d5aea70
Author: Philippe Gerum <[email protected]>
Date: Sun Jan 24 11:01:29 2016 +0100
drivers/autotune: track gravit limit in progress messages
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=3ec0252ffaed87f9a5f91428918ada92a9b49f4d
Author: Philippe Gerum <[email protected]>
Date: Mon Jan 18 16:06:46 2016 +0100
smokey/net: provide ETH_P_802_EX1 for outdated libc
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=de8245b24000e9a1b514c182c603a65813e9b6dd
Author: Philippe Gerum <[email protected]>
Date: Mon Jan 18 15:55:25 2016 +0100
lib/cobalt: add init trace points
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=d2ab5220d8aa909fd64a95f2934eaae699bd6a38
Author: Philippe Gerum <[email protected]>
Date: Mon Jan 18 15:50:57 2016 +0100
lib/boilerplate: add --trace to the base option set
This option sets tracing to the desired level. The level argument may
be interpreted differently depending on the application, however
--trace=0 must disable tracing. Level 1 allows tracing the Xenomai
library bootstrap code.
The interpretation of higher levels are application-specific. Defaults
to 0.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=c23b72e6c67eaf5f9b31eb79e631f38c08f00109
Author: Philippe Gerum <[email protected]>
Date: Mon Jan 18 12:50:04 2016 +0100
alchemy/queue: disable buffer-to-buffer transfer in broadcast mode
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=fef8ca31cb87cef8d253e22d7c27b98580d30472
Author: Philippe Gerum <[email protected]>
Date: Mon Jan 18 11:28:05 2016 +0100
alchemy/queue: care for messages crossing address spaces
We must hold an offset-based reference to any message delivered to
waiter(s) via the wait descriptor, as such thread(s) may belong to a
different address space in shared multi-processing mode.
In the same move, we drop the useless offset-based reference to
messages conveyed directly from buffer to buffer between local
threads.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=185b6d2604404d5dda4ee7df8376846ff543bfbc
Author: Philippe Gerum <[email protected]>
Date: Mon Jan 18 11:28:25 2016 +0100
psos/rn: handle nullable references properly
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=2a7d5f9df3d867ff6906b64b1367eab1dbb05bb3
Author: Philippe Gerum <[email protected]>
Date: Mon Jan 18 11:24:13 2016 +0100
alchemy/heap: handle nullable references properly
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=fa4cdccef58432ede7403b3df2aaaeb2d55ad450
Author: Philippe Gerum <[email protected]>
Date: Mon Jan 18 11:12:51 2016 +0100
boilerplate/scope: add helpers for nullable reference
This pair of additional helpers allows for conveying NULL into
offset-based references.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=2aeb9cdac3ada570b8765e0b8e5a2587dcbea98d
Author: Jan Kiszka <[email protected]>
Date: Wed Jan 13 19:31:23 2016 +0100
cobalt/kernel: Fix invalidation of cond shadow
pthread_cond_destroy fails to invalidate also the shadow object. This
can cause spurious -EBUSY errors on re-initialization of the very same
shadow as condition variable later on.
Signed-off-by: Jan Kiszka <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=11e484e70119a99d3f394c7e3f4630e4b4fda36e
Author: Philippe Gerum <[email protected]>
Date: Fri Jan 15 09:28:02 2016 +0100
boilerplate/libc: fix detection of mutex protocols
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=6edcfbfc078f6396d2c5162da704c75d18e0a789
Author: Philippe Gerum <[email protected]>
Date: Mon Jan 11 09:32:48 2016 +0100
Revert "cobalt/intr: remove unused label"
This reverts commit 8fb3dc29114dd99b47247c3400d6394946f483dc.
This commit applies to another branch.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=8fb3dc29114dd99b47247c3400d6394946f483dc
Author: Philippe Gerum <[email protected]>
Date: Sun Jan 10 18:41:51 2016 +0100
cobalt/intr: remove unused label
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ba59272a161d52eb11436c8556f94ecbd230b4a1
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=5b22c6a9d5ab0c2a6f699c58ed335e62e049fe88
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=3cf574401e5dbbee5f8782e4db544395db429ff2
Author: Gilles Chanteperdrix <[email protected]>
Date: Fri Jan 8 07:42:46 2016 +0100
smokey: align Makefile on next branch
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=98a88407e947490577d3505724e144c1d6b774d0
Author: Gilles Chanteperdrix <[email protected]>
Date: Sat Oct 31 20:53:09 2015 +0100
cobalt/corectl: allow retrieving RTnet configuration
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=3049020feeb6f80cc5fc6f8e755373f7a0839f24
Author: Philippe Gerum <[email protected]>
Date: Wed Dec 30 11:24:28 2015 +0100
drivers/switchtest: stop timers before releasing task data
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=7e1b18e9cff4026219ee70a6416db1ede0e64112
Author: Philippe Gerum <[email protected]>
Date: Mon Dec 28 12:09:28 2015 +0100
copperplate/registry: handle bad stat reading in system/threads
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=44bdb3347479bc1d1fc2e4072e153e0f984318f7
Author: Philippe Gerum <[email protected]>
Date: Mon Dec 28 12:08:32 2015 +0100
copperplate/threadobj: mercury: fix stat call (CPU number)
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=6966cc0da0244df5878c3c882c4d86eef119a0c7
Author: Philippe Gerum <[email protected]>
Date: Mon Dec 28 10:46:22 2015 +0100
copperplate/threadobj: fixup run state upon threadobj_wait_period()
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=eab452191bab1adcb315e38d324723b3a9c33af2
Author: Philippe Gerum <[email protected]>
Date: Sun Dec 27 18:02:01 2015 +0100
cobalt/corectl: chain config requests to external subsystems
External subsystems (e.g. RTNet, Analogy) may attach to the generic
corectl() configuration service by registering to the config_notifier
list, using the cobalt_add_config_chain() routine.
Upon a call to corectl(), a configuration request left unprocessed by
the core is posted to the registered handlers in turn, until NOTIFY_OK
or any error is raised. If a request remains unprocessed, corectl()
eventually returns -EINVAL.
Unlike core configuration requests which may be handled in primary
mode if applicable, the current context is always switched to
secondary mode before subsystem handlers are called.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=9b546e52c06a39f8c7232224b07e66062dab25fc
Author: Philippe Gerum <[email protected]>
Date: Sun Dec 27 16:20:41 2015 +0100
cobalt/corectl: move implementation to separate file
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=eae85418573daf9e405f6c9646a8bbd5205cb921
Author: Gilles Chanteperdrix <[email protected]>
Date: Sun Dec 20 20:56:18 2015 +0100
cobalt/x86: FPU fixes for Linux 4.1
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=8062323fcbd718e15ab9c0d765d9e99453556e60
Author: Gilles Chanteperdrix <[email protected]>
Date: Mon Dec 21 22:28:22 2015 +0100
testsuite/xeno-test: add -r option
To generate real-time load with the "switchtest" test.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=788018b87ae3681e842435e1105e960af8087915
Author: Gilles Chanteperdrix <[email protected]>
Date: Tue Dec 8 00:06:19 2015 +0100
cobalt/rtnet: IGB driver requires I2C support
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ab8b722944c8b7c44dc15ccdba091119495cb9b4
Author: Gilles Chanteperdrix <[email protected]>
Date: Sat Nov 28 09:27:21 2015 +0100
rtnet/rtcfg: fix for Linux 4.1
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=b4188f68e9ac7c9e9da25cf57d9756f0ccb78f4d
Author: Gilles Chanteperdrix <[email protected]>
Date: Sat Nov 28 08:18:38 2015 +0100
cobalt/timer: avoid early tick in case of overrun
There is a race condition in the current timer code when a timer period
is close to the maximum jitter. It may happen that the next timer
interrupt is already pending while xntimer_get_overruns computes the
count of overruns. In that case, the count of overruns returned to
user-space is one too much, and the application ends up expecting the
next tick one period later than when it will actually happens.
Avoid that problem by advancing the timer in xntimer_get_overruns.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=2b88d483094136c6c1eb6031d695317f29a17f20
Author: Jan Kiszka <[email protected]>
Date: Fri Dec 18 14:36:16 2015 +0100
cobalt/x86: Fix strncpy_from_user_nocheck for SMAP-enabled systems
If SMAP is on, we need to explicitly allow kernel access to userspace
memory via stac() and disallow it again once done (clac()). This fixes
oopses on recent Intel CPUs.
Signed-off-by: Jan Kiszka <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4dc309a9dd97ac6269ed2e86d908852bab72197b
Author: Philippe Gerum <[email protected]>
Date: Sun Dec 13 12:45:42 2015 +0100
cobalt: select pipeline API revision 2 explicitly
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=9980b96df1f6a038b0f08d31c8f0d4582d49e166
Author: Jan Kiszka <[email protected]>
Date: Tue Dec 1 08:11:09 2015 +0100
cobalt/intr: Fix unhandled interrupt detection
Only account an interrupt as unhandled if no handler reported
XN_IRQ_HANDLED. That specifically prevents in shared interrupt scenarios
that a single XN_IRQ_NONE report marks the line as unhandled even if
another handler reported it as handled.
This is a regression of aefaab5d03.
Reported-by: Алексей Герасёв <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=42dc26196148ce1db2d763fa7dab6534d1eb97b7
Author: Jan Kiszka <[email protected]>
Date: Mon Nov 30 13:56:13 2015 +0100
lib/cobalt: Mark __cobalt_print_bufsz weak
It is overwritten by libcopperplate.
Signed-off-by: Jan Kiszka <[email protected]>
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=a929d1963b7f8b7378b12119e7e5d4b90449e53a
Author: Philippe Gerum <[email protected]>
Date: Fri Dec 4 12:07:41 2015 +0100
cobalt/clock: introduce CPU affinity for clock event sources
Xenomai clocks may be backed by devices issuing event notifications on
a restricted set of CPUs only. Typically, the interrupt distributor of
GIC-equiped ARM processors is programmed to route shared processor
interrupts to CPU0 by default. For instance, a Xenomai clock paced by
a GPIO input signal would tick exclusively on CPU0 in that
configuration.
We have to make sure that timers are always attached to per-CPU queues
which are expected to receive event notifications from the underlying
clock device, otherwise threads may wait for events indefinitely on
those timers.
Previously, a restrictive assumption was made that all CPUs from the
real-time set should be able to receive events, indirectly assuming
that each ticking device is a per-CPU device. Although this is correct
for the core Xenomai clock based on local timers for SMP, this turns
out to be wrong quite frequently with external Xenomai clocks backed
by common devices issuing a periodic master beat.
To fix this, we require the set of CPUs the event source may tick on
to be declared as part of the Xenomai clock properties. This
information is then used to migrate timers to an appropriate CPU if
need be, and to detect mismatching CPU affinities between timers and
clock devices when DEBUG_COBALT is enabled.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=917b40152bcf229ec56cb8e20bd55d814c37130d
Author: Philippe Gerum <[email protected]>
Date: Fri Dec 4 09:58:13 2015 +0100
cobalt/assert: introduce SMP-specific WARN/BUG assertions
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=1dfe87355429f9d08eb5837b1f56f5de96a8dc95
Author: Philippe Gerum <[email protected]>
Date: Sun Nov 8 20:45:12 2015 +0100
cobalt/kernel: convert to current cpumask operators
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ea0f00789d028b48ed2abd045d8c3a369d2da9fb
Author: Philippe Gerum <[email protected]>
Date: Sun Nov 8 21:16:04 2015 +0100
cobalt/kernel: fixup for v4.1+ (TRACE_SYSTEM)
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=5a9d7c638798a328e8d0634ab9bcd455bf492c10
Author: Philippe Gerum <[email protected]>
Date: Mon Nov 2 20:45:10 2015 +0100
cobalt/kernel: fixup for v3.19+ (user_msghdr)
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ccfb012e7580ac2340a2de8f61cfccde2aabccd1
Author: Philippe Gerum <[email protected]>
Date: Fri Nov 27 12:21:26 2015 +0100
cobalt/wrappers: fix backport prefix
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ee0b43329fc93198f7cd620fbd84ade15aa57319
Author: Gilles Chanteperdrix <[email protected]>
Date: Thu Nov 26 20:14:14 2015 +0100
cobalt/arm: remove unused variable
Avoids compiler warning
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=a650e5f13b9ce34d2dba4ae1cebb06182784d6bb
Author: Gilles Chanteperdrix <[email protected]>
Date: Fri Nov 20 14:51:25 2015 +0100
cobalt/x86: remove redundant change of irq mask
xnarch_handle_fpu_fault is called with head domain stalled,
xnlock_get/xnlock_put are sufficient.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=dcdb7d3415da35b067ff8e0fcfe79f8deb00c39f
Author: Gilles Chanteperdrix <[email protected]>
Date: Fri Nov 20 14:51:25 2015 +0100
cobalt/arm: remove redundant change of irq mask
xnarch_handle_fpu_fault is called with head domain stalled,
xnlock_get/xnlock_put are sufficient.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=97e235ec34c90d897cd0eaf13480aea316657232
Author: Gilles Chanteperdrix <[email protected]>
Date: Fri Nov 20 14:50:28 2015 +0100
cobalt/fpu: stall head domain to handle fpu fault
Handling an FPU fault and setting the fpu holder must be atomic.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=d12f672e35b4fdd780a823bcf1751b04b2105ed7
Author: Gilles Chanteperdrix <[email protected]>
Date: Sat Nov 14 15:50:34 2015 +0100
lib/cobalt: mutex: avoid compiler error
lib/cobalt/mutex.c:72: error: dereferencing pointer '_mutex' does break
strict-aliasing rules
lib/cobalt/mutex.c:64: note: initialized from here
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=5c88a11c11e9a2b13be4da91624dc3f3ff323e46
Author: Philippe Gerum <[email protected]>
Date: Thu Nov 12 10:35:02 2015 +0100
include/boilerplate, lib: do not pull ancillaries.h indirectly
boilerplate/ancillaries.h contains general-purpose macro-definitions
which might conflict with 3rd-party libraries.
Since those definitions are primarily useful to the Xenomai code base,
there is no point in pulling this header in the application namespace
via include/boilerplate/lock.h. Drop this indirect inclusion, and
fixup the client code to include boilerplate/ancillaries.h explicitly
when needed.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f745dd509e3c9ff5d33fb61996ee318d2b8eda6c
Author: Gilles Chanteperdrix <[email protected]>
Date: Thu Oct 29 22:57:48 2015 +0100
testsuite/switchtest: fix mode switches
Since the changes in pthread_setmode_np() API, switchtest threads all
ran in primary mode, fix this by using the cobalt_thread_relax() service
to switch to secondary mode instead of pthread_setmode_np().
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=2711fa2bc0db21aaf829cde0da67cd63083edfa9
Author: Philippe Gerum <[email protected]>
Date: Mon Nov 2 14:24:23 2015 +0100
smokey: provide trace helper with variadic arglist
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=7764799876b0b143d258de6b823436893ac280ed
Author: Philippe Gerum <[email protected]>
Date: Tue Nov 10 15:57:00 2015 +0100
smokey/sigdebug: use mapping also compatible with NOMMU
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ac450df25221ee4ccb954fbf667ef0e96a0b6ff4
Author: Philippe Gerum <[email protected]>
Date: Tue Nov 10 15:47:57 2015 +0100
cobalt/posix/process: fix mayday mapping denial on NOMMU
Until we stop backing /dev/mem with the mayday page, we can't ask for
PROT_EXEC on NOMMU, since the former does not define mmap
capabilities, and default ones won't allow an executable mapping with
MAP_SHARED. In the NOMMU case, this is (currently) not an issue for
implementing the MAYDAY support.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4b9edd6b0c93191d7235d9f7fa241e17d8007c16
Author: Philippe Gerum <[email protected]>
Date: Tue Nov 10 15:44:53 2015 +0100
smokey/sigdebug: fix probe for watchdog
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=2937c1cf19d7a649b00e0938c9dded5914f8212c
Author: Philippe Gerum <[email protected]>
Date: Mon Nov 9 15:47:06 2015 +0100
cobalt/posix/thread: fix failure code upon missing u_window
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=e56808dea4d7c782c680d83a6606cb8386df04f5
Author: Philippe Gerum <[email protected]>
Date: Mon Nov 9 15:30:50 2015 +0100
lib/cobalt: add details about failing init step
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=18eb7608b109c0159ed7ef0d7696407c91c93459
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=4d5108b45918ec0767fe4eb68d103b0b66d76b1b
Author: Philippe Gerum <[email protected]>
Date: Mon Nov 2 20:45:10 2015 +0100
cobalt/kernel: fixup for v3.19+ (user_msghdr)
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=cb72996a06ae4f29e403e3397324069f1983145e
Author: Gilles Chanteperdrix <[email protected]>
Date: Sun Nov 8 17:32:32 2015 +0100
cobalt/wrappers: move get_current_uid() to ancillaries.h
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=5baa56fe8f610d4e0b6d45416bd87bc3f3296ff4
Author: Gilles Chanteperdrix <[email protected]>
Date: Sun Nov 8 16:57:02 2015 +0100
cobalt/wrappers: reverse wrappers order (latest kernel release first)
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=7f8c9b6ca6c2ca01185ad5494c6cf2b984eee919
Author: Gilles Chanteperdrix <[email protected]>
Date: Sun Nov 8 13:23:31 2015 +0100
cobalt/rtnet: smc91111: fix compilation warnings
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=d1a188fa71cee1da39b169cafe20cfe8c23c9caf
Author: Gilles Chanteperdrix <[email protected]>
Date: Sun Nov 8 13:23:11 2015 +0100
cobalt/rtnet: igb: fix compilation issues
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=bb57c06eee0c52956e58fc0fba2bd29c9484a0fe
Author: Gilles Chanteperdrix <[email protected]>
Date: Sun Nov 8 13:22:35 2015 +0100
cobalt/wrappers: add wrappers for igb driver
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=c6deccdf68fb2075f68d613abe257440c91ed6b4
Author: Gilles Chanteperdrix <[email protected]>
Date: Sun Nov 8 13:21:57 2015 +0100
cobalt/rtnet: e1000e: fix compilation warnings
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=6662a3207ef56c0c9dd411c84b5499c33a9898d5
Author: Gilles Chanteperdrix <[email protected]>
Date: Sun Nov 8 10:38:39 2015 +0100
cobalt/rtnet: tdma: remove deprecated construct
Replace RTDM_EXECUTE_ATOMICALLY with
cobalt_atomic_enter/cobalt_atomic_leave for now, in order to avoid
compilation warnings.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=b3e18b6d4015f4c445143c4b28bdc09110e4c6e5
Author: Gilles Chanteperdrix <[email protected]>
Date: Sat Oct 10 17:59:51 2015 +0200
drivers/rtnet: upgrade igb driver
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ba315472fef528ce82cf2bfe852c99092f0046c7
Author: Gilles Chanteperdrix <[email protected]>
Date: Sat Oct 10 19:37:50 2015 +0200
rtnet/ioctl: allow checking link state
Use the IFF_RUNNING bit in the flags returned by the SIOCGIFFLAGS ioctl,
like Linux SIOCGIFFLAGS ioctl.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=92df665f42c4fbadcabfc324c6d3e9b20e1d2a66
Author: Gilles Chanteperdrix <[email protected]>
Date: Sun Nov 1 19:13:39 2015 +0100
drivers/rtnet: fix SIOCGIFNAME ioctl
Add missing call to rtdev_dereference.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=0eeba1c172efabbc1d2194f7893cd40ad3ee1162
Author: Gilles Chanteperdrix <[email protected]>
Date: Sat Oct 31 21:33:18 2015 +0100
drivers/rtnet: refuse to uselessly queue packets
If network interface is not running.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4008b601733bb55488bd5929514191acce783cde
Author: Gilles Chanteperdrix <[email protected]>
Date: Sat Oct 31 21:31:00 2015 +0100
drivers/rtnet: fix loopback
Allocate a device pool, since rtdev_xmit now compensates the sent packet
with a packet from the device pool.
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4f36e3f8a998a0c86d0aa2456b29634f327caa9c
Author: Gilles Chanteperdrix <[email protected]>
Date: Sat Oct 31 20:56:32 2015 +0100
drivers/rtnet: forbid removing the rtnet module
if a file descriptor points to /dev/rtnet
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=df9952b9d230dbcc19a83fe84a4ca9d84669c956
Author: Gilles Chanteperdrix <[email protected]>
Date: Sat Oct 31 20:54:19 2015 +0100
drivers/rtnet: hide configuration options if globally disabled
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=427155df00aa291c9e12cd491e529ba26d3d6b59
Author: Gilles Chanteperdrix <[email protected]>
Date: Sun Nov 1 19:45:49 2015 +0100
testsuite/smokey: tsc: shorten default duration
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=79395985545ebf7dc5e83a3f848805f1d2cf279b
Author: Gilles Chanteperdrix <[email protected]>
Date: Sat Oct 31 20:52:23 2015 +0100
smokey/tsc: remove redundant line breaks
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ce604a92b249e84d888f58327b34239330b063e5
Author: Philippe Gerum <[email protected]>
Date: Sun Nov 1 18:42:42 2015 +0100
doc: prebuild
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=86b1240875600df8b98950deee3b001c688b42f6
Author: Philippe Gerum <[email protected]>
Date: Sun Nov 1 18:38:22 2015 +0100
bump version code
_______________________________________________
Xenomai-git mailing list
[email protected]
https://xenomai.org/mailman/listinfo/xenomai-git