URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=612af8ebe95cfae357147bd612946b417ad42c44
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=65a13114eab5cbd2d1146d6d567b265e4551f485
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=a4413141f3b601a99468da0f16d5c9da49c7bb21
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=e924988b154fe52e6da891e0362bd6473cb25dbe
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=7691f6aab57209c1e0bf290fa00d90ea26b06a7d
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=6d51154ecd92b1242090b9cb84780f23c96c944c
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=82dd14f970b3531234c27c8e5bcfa12d7a789bdb
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=e6925381161128e822e743f300754ce899a94101
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=f4c26ade1c7b752dbdbc8f6c87db45e1ebfc7883
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=a52ef353a4dc64e332956f168382220c1f5f866e
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=a96f0e188ae77f7e525feec7c849258c984a4a27
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=b20b46ede9eb637b003af8e2258031cdd5f0f567
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=0f4ae2446faeb4815f2250a5e5adc0f552773eb0
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=17f585ca563a6836274a7a66881994f17f6f03e6
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=ad98ed33658440aa8c08da4f3bd58e411af95641
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=226ec92e10bc77c51b7827aef9c37287d2637019
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=ab0f438731c3dfda8eb78a750c51f956544bf3c1
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=294fb88d910404974e267c54eae829140fee7742
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=a35084898c0bdb8ff384b2d68a11a7981e592e90
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=1cc296656f61f30b41482b06fdb754d99807eedf
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=e13a216309de202a8d0552304d3410379ab12c64
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=98a4ddc679c5499183bf0d1acdc4cb4c4388240c
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=7d78c6c19eb4650614184dc27e753266d881222e
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=9a69675df09d23320089ad841d9636deb7553285
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=138cb596f71c0c6cf3983b6e56cb08e0118b3920
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=3643aa23fdce0cd2c421962a0790a125937c198a
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=8737b6b2dabef3ed57fbcf96efba5a05558818ab
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=28c6f2df26111fff69cab0c9881139ee5f0b5e39
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=62cfc6a94333037bebd122375bbeed3617defa6e
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=5d413dc189cb6a2d076044203fa6b8ac74a1a3cc
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=5ffcd3045bbb833d43b3c55944e8230f4a517060
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=aa8c500400d0cf8157f63206864c108f58760787
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=702f52f55f0d470c1d30ad14d28c39c7c1ec44dd
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=c1936a7cbc2dac0df1b776cca71dcb0c832ddc68
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=aecb053fb2a8bea3a3497421a004c7b7efb0a637
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=728344c55b7720552ee3a3e1428b057ac5806c0e
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=dec8a92340de7b419cf3e00bc590269e7be470b3
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=7103a55e880e89d5566d6514addac88acb63ac6a
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=f837dc32dd7e23ec250e5f88479eb3c7089bddac
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=3106df0a1b09a50000d9e27fdf6a3b8dd94751ab
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=981a93bd902c97002557ae688fe3fa619f9e7710
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=9334561b8b712ba280569ffe3a86e701054032f4
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=f51cebc886fc4f51b38f07b36a8e41e7edec5ba0
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=c7648ab0c08e9378854ea53f62a79ea5b7c1ec63
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=476a0a6d93762b52c7d932eb40e6225f9aa16856
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=972b50dfc23f516d2ddcf07dfc409078e245a4c4
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=09cfa21f9d9ab6b42d47b5ba6bf2d84e2074a747
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=d9538d2346f07532b3b21d828754eada2bae93e9
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=c32561cc03f538eb82d2ee4635e45dc1220c5ded
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=8a0cf42668e74c93b803b5384e559e25e5f55144
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=77b0078c27ee733e5c99c0893a85ccce7b8d3a38
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=28e57b503e1a6cf0ae53e92cd91c414f67b312c4
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=3b500109744c5c59f22e0d302673b2339f6680b1
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=c1e32090ede0eafdf0985dd10489ad2d20f44dd7
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=9c6c1c304a0228aac88f9d42b6555a1cc66c9aad
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=ab1585d44ba3ba37d4c9e6f44f9e4e06f18a8509
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=1a3fe1dde0b27d4c184acc1a9db09819bdfc469e
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=6b4c6ad729ac1189127ee9893117c369c2f087de
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=417d85a1bed0d5ba175b583c8460331df977040b
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=b0d1510c25efc554399241329f50403f45fd67d3
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=cce574174f0c0ff0e1d3c9e6bef16dcabed7dce7
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=9e99ae0fd20f4e87dc8bff67a3a6c15df9f12de3
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=4e4f7e0d3a67ffeea267fe45e5040e2beb62d8e2
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=e928769464fb5ea61ef56805284b9bd46035d0f2
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=97f52bfd55738ea478a217ae906dfc96d3f36d5a
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=3fedd47de4939c7715d8afa164fef30a77271547
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=f7c089bc2f6320c4f27c9ffd892b90a98ed39039
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=3278dccff8940480b26aadcb8ca2eefd449dc983
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=d6e82a790ec2096fd9108df0377c9169fbeaf0f4
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=8f1ef24b58312aae86f71ca952515a07d5541c4b
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=49d1f733d6150d1602d974aebe1c931135997741
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=70de9314c76332092cc1eb89d5363cdca8a9508d
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=7b933e58df43aebb7cd3f5f741da73e27e27eeed
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=e539ab0b1db5ca56f8d3db39d2ca0bdf009c9b25
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=4993d845b9af8a51255aa2978e25715f0207162e
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=1f465de48fb93c7bccf58454798c52a6a6bfaa7e
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=64db3d1f97a745c99fb666c13c09eaa27e7a5e61
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=66d624c447f189748e1761a53418d9792278e20b
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=be6f3c41769cacbcfa9efc9add46543be0d09bde
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=b88368afe7545b6900660785b1cb131d68e72839
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=2111a07350c4651f34c9d4972d7c06f63e1eb077
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=2eae1185f359e6da8746333077d38e194352d805
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=d1ff8ae209e91b5cef29e46e0c1f8d89b3053fe8
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=f05ad9d1de19a2360e062b183915349241eb34da
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=eddbb24f651ee2b2594715099b638ae8cddf485d
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=3d7cab71c44c341ff465ca7ea2a1562ceae1e125
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=37253b634f258a1de3ee29f93a9b6a133a7391b0
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=d38b04ec28aa4865ececc07b696b725ada9dbd53
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=2856ff3c0c6199352fac11b4c6dab07a6e8b7b3b
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=3754612c93eb5f2559590da313f2bad7e09ca90e
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=95e603a385e06371f082a67f7de633974935952d
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=21845c9cc173283840245927031cc7e40da1c429
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=59284782ac15e24a55f57581bdb4dccd4bc84a73
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=ac1d5182b0d6149e4797a238ecff5f01e7af3b0f
Author: Philippe Gerum <[email protected]>
Date: Wed Jul 20 06:01:39 2016 +0200
cobalt/process: fix build warning (missing CLOCKFREQ event)
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ccbd3750c1af2c2e65e2d04e038f6a7bf194e5ca
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=6c18d206f4d5f25b9d02d128bcfddbc3938d4236
Author: Philippe Gerum <[email protected]>
Date: Fri Jul 15 11:02:42 2016 +0200
cobalt/clock: add limited support for handling frequency updates
This support is aimed at handling changes in the clock device
frequency while the kernel boots. No provision for handling CPUFREQ
events during runtime.
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